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

trying to compile gtk+970916....



Hi,

Well the subject says gtk, so why am I posting to debian-user? I think this
might be just on my system which is debian 1.3.1 with xlib6_3.3-3,
xlib6-dev_3.3-3, libc6 and libc5. I checked gtk mailing list archive and didn't
find any similar problems.

Anyhow, when I try to compile gtk, I get this error:

make[2]: Entering directory `/usr/local/lib/gtk+970916/gtk'
/libtool --mode=link gcc -g -O2 -DNDEBUG -Wall  -o testgtk  testgtk.o
libgtk.la ../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/lib _libs/libgtk.so -Wl,-rpath -Wl,/usr/local/lib
./gdk/_libs/libgdk.so -L/usr/X11R6/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'    

Then from gtk mailing list comes hint of adding -lXext -lX11 in the testgtk
section of the Makefile, which compiles testgtk, but there are others that also
need that.

So, my question is what did I break to make autoconfig not to add -lXext
-lX11 to Makefiles?

Thanks any help,
David
p.s. I just try to compile gimp-0.99.11 and had same problem.:(


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: