GTK+-2.6.1 compilation error - cygwin uses win32 APIs



Hi,

I am trying to compile GTK+-2.6.1 in Cygwin environment. I am getting the
following error. 
Why it has to access win32 APIs? Can somebody help me resolving this issue?

/bin/bash ../../libtool --mode=link 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 
libtool: link: warning: `/usr/lib//libiconv.la' seems to be moved
libtool: link: warning: `/usr/lib//libfontconfig.la' seems to be moved
libtool: link: warning: `/usr/lib//libintl.la' seems to be moved
rm -fr  .libs/im-ime.dll.a
gcc -shared  .libs/gtkimcontextime.o .libs/imime.o  -L/usr/lib/
-L/home/sivakumars/Gtk/gtk+-2.6.1/gdk/.libs
-L/home/sivakumars/Gtk/gtk+-2.6.1/gdk-pixbuf/.libs -L/usr/X11R6/lib/.libs
-L/opt/cxclient/usr/X11R6/lib -L/usr/X11R6/lib -L/usr/local/lib/.libs
-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(.text+0x309): In function
`gtk_im_context_ime_set_client_window':
/home/sivakumars/Gtk/gtk+-2.6.1/modules/input/gtkimcontextime.c:281:
undefined reference to `_gdk_win32_drawable_get_handle'
.libs/gtkimcontextime.o(.text+0x4f9): In function
`gtk_im_context_ime_reset':
/home/sivakumars/Gtk/gtk+-2.6.1/modules/input/gtkimcontextime.c:348:
undefined reference to `_gdk_win32_drawable_get_handle'
.libs/gtkimcontextime.o(.text+0x5aa): In function `get_utf8_preedit_string':
/home/sivakumars/Gtk/gtk+-2.6.1/modules/input/gtkimcontextime.c:374:
undefined reference to `_gdk_win32_drawable_get_handle'
.libs/gtkimcontextime.o(.text+0x76b): In function `get_pango_attr_list':
/home/sivakumars/Gtk/gtk+-2.6.1/modules/input/gtkimcontextime.c:433:
undefined reference to `_gdk_win32_drawable_get_handle'
.libs/gtkimcontextime.o(.text+0xaba): In function
`gtk_im_context_ime_focus_in':
/home/sivakumars/Gtk/gtk+-2.6.1/modules/input/gtkimcontextime.c:571:
undefined reference to `_gdk_win32_drawable_get_handle'
.libs/gtkimcontextime.o(.text+0xb2d):/home/sivakumars/Gtk/gtk+-2.6.1/modules
/input/gtkimcontextime.c:581: more undefined references to
`_gdk_win32_drawable_get_handle' follow
.libs/gtkimcontextime.o(.text+0x12d2): In function
`gtk_im_context_ime_set_preedit_font':
/home/sivakumars/Gtk/gtk+-2.6.1/modules/input/gtkimcontextime.c:882:
undefined reference to `_pango_win32_font_logfont'
.libs/gtkimcontextime.o(.text+0x141e): In function
`gtk_im_context_ime_message_filter':
/home/sivakumars/Gtk/gtk+-2.6.1/modules/input/gtkimcontextime.c:913:
undefined reference to `_gdk_win32_drawable_get_handle'
.libs/gtkimcontextime.o(.text+0x150d):/home/sivakumars/Gtk/gtk+-2.6.1/module
s/input/gtkimcontextime.c:932: undefined reference to
`_gdk_win32_drawable_get_handle'
collect2: ld returned 1 exit status
make: *** [im-ime.la] Error 1

Thanks and Regards, 
Sivakumar S. 
DISCLAIMER 
This message and any attachment(s) contained here are information that is confidential, proprietary to HCL Technologies 
and its customers. Contents may be privileged or otherwise protected by law. The information is solely intended for the 
individual or the entity it is addressed to. If you are not the intended recipient of this message, you are not authorized to 
read, forward, print, retain, copy or disseminate this message or any part of it. If you have received this e-mail in error, 
please notify the sender immediately by return e-mail and delete it from your computer




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]