On Mon, 17 May 2004 14:04:03 -0300, Flavio Alberto Lopes Soares <flavio maqplas com br> said: > gcc -g -O2 -Wall -Wunused -o ihmserial main.o support.o ihmserial.o > serial.o interface.o callbacks.o -rdynamic -L/usr/lib -L/usr/X11R6/lib > -rdynamic -lgnomeui -lart_lgpl -lgdk_imlib -lSM -lICE -lgtk -lgdk > -lgmodule -ldl -lXi -lXext -lX11 -lgnome -lgnomesupport -lesd > -laudiofile -lm -ldb-3 -lglib > /usr/lib/libgdk_imlib.so: undefined reference to `XShmDetach' Oddness. I see the "-lXext" there... it *should* work. Can you look to see if your system has a sane libXext.so and/or libXext.a on it? It's possible you have a corrupted/missing copy of those, or a permissions problem or something. Also, just double-check /etc/ld.so.conf to make sure it's looking in reasonable places and not finding a broken libXext.* somehow...
Attachment:
pgp0emtguUFaJ.pgp
Description: PGP signature