gtk+-1.2.6, sol 7, sun4u



what flag is missing?

gcc -g -O2 -Wall -o .libs/testgtk testgtk.o .libs/libgtk.so
-L/export/home/gnome/lib -lgmodule -lglib -ldl -lXext -lX11 -lsocket -lnsl
-lm ../gdk/.libs/libgdk.so -lgmodule -lglib -ldl -lXext -lX11 -lsocket
-lnsl -lm -lXext -lX11 -lsocket -lnsl -L/export/home/gnome/lib -lgmodule
-lglib -ldl -lm -R/export/home/gnome/lib
Undefined			first referenced
 symbol  			    in file
_Xsetlocale                         .libs/libgtk.so
ld: fatal: Symbol referencing errors. No output written to .libs/testgtk
make[2]: *** [testgtk] Error 1




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