gtk compile problems



Actually, I guess I might have tracked this down to a configure
problem...

During the process of running configure, I see this:

checking for X... (cached) no
checking for XOpenDisplay in -lX11... (cached) no
checking for XShmAttach in -lXext... (cached) no
checking for XShmAttach in -lXextSam... (cached) no
checking for XShapeCombineMask in -lXext... (cached) no

Now I'm guessing that this is what's leading to the following problem
during compile:

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 `XSetFillStyle'
../gdk/.libs/libgdk.so: undefined reference to `XCreateGC'
../gdk/.libs/libgdk.so: undefined reference to `XOpenDisplay'
make[2]: *** [testgtk] Error 1
make[2]: Leaving directory `/tmpr/install/gtk+-1.0.2/gtk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmpr/install/gtk+-1.0.2'
make: *** [all-recursive-am] Error 2

After reading through the list archives, I've tried doing a number
of things.

First, the suggestion that the libc isn't up to date.
The system is RH 5.0 x86 arch.

Installed pkgs:
X11R6-contrib-3.3.1-1
Xaw3d-1.3-13
XFree86-3.3.1-14
XFree86-75dpi-fonts-3.3.1-14
XFree86-libs-3.3.1-14
XFree86-S3V-3.3.1-14
XFree86-devel-3.3.1-14
glibc-profile-2.0.7-7
glibc-debug-2.0.7-7
glibc-2.0.7-7
glibc-devel-2.0.7-7

Again, looking through the archives, I see a suggestion to try
adding -L/path/to/X11/lib to the compilation.  Which I did,
substituting /usr/X11R6/lib.  Still no cigar.

Sorry to litter the list with stuff only incrementally closer to 
development...  

John
-- 
John White
Triceratops Admin
johnjohn@triceratops.com



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