Compilation error...




Hi. I am trying to compile gtk+-1.0.0 on a Redhat 5.0 i386 system (P Pro
200)...  While compiling, I get the following error:

/bin/sh ../libtool --mode=link gcc -g -O2 -DGTK_NO_CHECK_CASTS -Wall
-DUSE_XIM  -o testgtk  testgtk.o libgtk.la ../gdk/libgdk.la
../glib/libglib.la -lm 
gcc -g -O2 -DGTK_NO_CHECK_CASTS -Wall -DUSE_XIM -o .libs/testgtk testgtk.o
-Wl,--rpath -Wl,/usr/local/lib .libs/libgtk.so -Wl,--rpath
-Wl,/usr/local/lib ../gdk/.libs/libgdk.so -Wl,--rpath -Wl,/usr/local/lib
../glib/.libs/libglib.so -lm
../gdk/.libs/libgdk.so: undefined reference to `XFreePixmap'
../gdk/.libs/libgdk.so: undefined reference to `XSetWMProtocols'
../gdk/.libs/libgdk.so: undefined reference to `XSetWMIconName'
../gdk/.libs/libgdk.so: undefined reference to `XLowerWindow'
../gdk/.libs/libgdk.so: undefined reference to `XCreateFontCursor'
../gdk/.libs/libgdk.so: undefined reference to `XCopyGC'
../gdk/.libs/libgdk.so: undefined reference to `XTextWidth16'
../gdk/.libs/libgdk.so: undefined reference to `XSetWindowBackground'
../gdk/.libs/libgdk.so: undefined reference to `XSetTransientForHint'
../gdk/.libs/libgdk.so: undefined reference to `XChangeActivePointerGrab'
../gdk/.libs/libgdk.so: undefined reference to `XDrawString'
../gdk/.libs/libgdk.so: undefined reference to `XCreateRegion'
../gdk/.libs/libgdk.so: undefined reference to `XGrabKeyboard'
../gdk/.libs/libgdk.so: undefined reference to `XSync'
../gdk/.libs/libgdk.so: undefined reference to `XIntersectRegion'
 ...
   and on and on and on....

Any idea which library exactly I am missing here??? 

Thanks..

---
Michael Oswell
On Call Internet Services Ltd.




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