This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Make of gtk+-2.6.7 fails


"Gerrit P. Haase" <gerrit@familiehaase.de> writes:

> Franz Haeuslschmid wrote:
>
>> Dear readers of g.o.c.xfree,
>
> Good.Old.Cygwin.Xfree?

No pun intended.


[... Make output showing undefined references when the target
     libgtk-x11-2.0.la is built ...]

> There is libfontconfig missing at the link command.
> See this and other changes in the patch of the last released Cygwin
> version, I attached the minimal set of changes needed to build 2.4.14.
> After applying these changes, you'll need to run automake or adopt
> the changes and include them directly in Makefile.in instead of
> changing Makefile.am.

Thank you for providing the patch.  The original problem is not
triggered any more. However, new "undefined references" appear:

/bin/bash ../../libtool --mode=link --tag=CC gcc  -g -O2 -Wall   -o im-ime.la -rpath /usr/local/lib/gtk-2.0/2.4.0/immodules -rpath /usr/local/lib/gtk-2.0/2.4.0/immodules -avoid-version -module -no-undefined gtkimcontextime.lo imime.lo -limm32 ../../gdk-pixbuf/libgdk_pixbuf-2.0.la ../../gdk/libgdk-x11-2.0.la ../../gtk/libgtk-x11-2.0.la -L/usr/X11R6/lib -lX11 -L/usr/local/lib -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -latk-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv -lm -lintl 
rm -fr  .libs/im-ime.dll.a
gcc -shared  .libs/gtkimcontextime.o .libs/imime.o  -L/home/haeuslsc/Src/gtk+-2.6.7/gdk/.libs -L/home/haeuslsc/Src/gtk+-2.6.7/gdk-pixbuf/.libs -L/opt/cxclient/usr/X11R6/lib -L/usr/X11R6/lib -L/usr/local/lib -L/usr/lib -limm32 ../../gdk-pixbuf/.libs/libgdk_pixbuf-2.0.dll.a ../../gdk/.libs/libgdk-x11-2.0.dll.a ../../gtk/.libs/libgtk-x11-2.0.dll.a -lX11 /usr/local/lib/libpangoxft-1.0.dll.a /usr/local/lib/libpangox-1.0.dll.a /usr/local/lib/libpango-1.0.dll.a /usr/local/lib/libatk-1.0.dll.a /usr/local/lib/libgobject-2.0.dll.a /usr/local/lib/libgmodule-2.0.dll.a /usr/local/lib/libglib-2.0.dll.a /usr/lib/libiconv.dll.a /usr/lib/libintl.dll.a  -o .libs/im-ime.dll -Wl,--image-base=0x10000000 -Wl,--out-implib,.libs/im-ime.dll.a
Creating library file: .libs/im-ime.dll.a
.libs/gtkimcontextime.o: In function `gtk_im_context_ime_set_client_window':
/home/haeuslsc/Src/gtk+-2.6.7/modules/input/gtkimcontextime.c:281: undefined reference to `_gdk_win32_drawable_get_handle'
.libs/gtkimcontextime.o: In function `gtk_im_context_ime_reset':
/home/haeuslsc/Src/gtk+-2.6.7/modules/input/gtkimcontextime.c:348: undefined reference to `_gdk_win32_drawable_get_handle'
.libs/gtkimcontextime.o: In function `get_utf8_preedit_string':
/home/haeuslsc/Src/gtk+-2.6.7/modules/input/gtkimcontextime.c:374: undefined reference to `_gdk_win32_drawable_get_handle'
.libs/gtkimcontextime.o: In function `get_pango_attr_list':
/home/haeuslsc/Src/gtk+-2.6.7/modules/input/gtkimcontextime.c:433: undefined reference to `_gdk_win32_drawable_get_handle'
.libs/gtkimcontextime.o: In function `gtk_im_context_ime_focus_in':
/home/haeuslsc/Src/gtk+-2.6.7/modules/input/gtkimcontextime.c:571: undefined reference to `_gdk_win32_drawable_get_handle'
.libs/gtkimcontextime.o:/home/haeuslsc/Src/gtk+-2.6.7/modules/input/gtkimcontextime.c:581: more undefined references to `_gdk_win32_drawable_get_handle' follow
.libs/gtkimcontextime.o: In function `gtk_im_context_ime_set_preedit_font':
/home/haeuslsc/Src/gtk+-2.6.7/modules/input/gtkimcontextime.c:882: undefined reference to `_pango_win32_font_logfont'
.libs/gtkimcontextime.o: In function `gtk_im_context_ime_message_filter':
/home/haeuslsc/Src/gtk+-2.6.7/modules/input/gtkimcontextime.c:913: undefined reference to `_gdk_win32_drawable_get_handle'
/home/haeuslsc/Src/gtk+-2.6.7/modules/input/gtkimcontextime.c:932: undefined reference to `_gdk_win32_drawable_get_handle'
collect2: ld returned 1 exit status
make: *** [im-ime.la] Error 1


Again: what have I to do to make it work?

Franz.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]