Re: [gtk-list] compile problem with gtk+970916




David Puryear <dayear@codenet.net> writes:

> Hi,
> 
> When I try to compile gtk+970916, I get this error. I think I might be
> missing something, but I don't know what.
> 
> make[2]: Entering directory `/usr/local/lib/gtk+970916/gtk'
> ./libtool --mode=link gcc -g -O2 -DNDEBUG -Wall  -o testgtk  testgtk.o libgtk.l
> a ../gdk/libgdk.la -L/usr/X11R6/lib ../glib/libglib.la -lm 
> gcc -g -O2 -DNDEBUG -Wall -o _libs/testgtk testgtk.o -Wl,-rpath -Wl,/usr/local/l
> ib _libs/libgtk.so -Wl,-rpath -Wl,/usr/local/lib ../gdk/_libs/libgdk.so -L/usr/X
> 11R6/lib -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 `XShmDetach'    

It looks the command line is missing the flags to link in 
the X libraries.  (So, it's an autoconf problem.) 

What OS/version/etc. are you running? 

What is in the file gtk+970916/gtk+.xconfig?
(Not that it is used here, but it will show what configure decided
about your X configuration.)

Regards,
                                        Owen



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