From: Ethan B. <ebl...@cs...> - 2002-10-18 15:57:18
|
ope...@pl... spake unto us the following wisdom: > Undefined first referenced > symbol in file > XScreenSaverAllocInfo idle.o (symbol belongs to implicit > dependency /usr/openwin/lib/libXext.so.0) > XIconifyWindow conversation.o (symbol belongs to > implicit dependency /usr/openwin/lib/libX11.so.4) [ snip ] > What is causing this problem and what should I do to fix it? I hope I'm n= ot > missing anything obvious. I apologize up front for my "noobieness." So here comes my standard rant about build automation tools ... if people aren't capable of using them, they shouldn't be allowed to... And the gtk/glib people, as best I can tell, were not capable of using pkgconfig properly. I've had to hack the .pc files on every system I use. It looks like you will, too. I'm not sure *exactly* what your library dependencies are, you'll have to figure them out for sure, but you need to dig into your gdk-x11-2.0.pc file and add '-L/usr/openwin/lib/' to the Libs line, as well as '-l<lib>' for some set of libraries ... unfortunately, on Solaris, I'm not sure what those libraries might be. Try '-lXext -lXi'. If it doesn't have '-lX11' already, add that too. Ethan --=20 And if I claim to be a wise man / it surely means that I don't know. -- Kansas, "Carry on Wayward Son" |