Problem with Compile.



I have a Solaris 8.0 system with latest patches, running Ximian Gnome 1.4.

I have successfully compiled and installed the glib 2.0.6, pango and atk packages. When I try to build the GTK 2.0.6 package, the configure will run fine. When I attempt the make, It gets hung up on the following program where it seems to cite a problem with "mutliple inclusion of file".

Are there other options I could try with teh Solaris linker that will make it work?

Thanks in advance.
Keith


creating testdnd
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../gdk -I../gdk -DG_DISABLE_CAST_CHECKS -D_REENTRANT -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include -I/opt/gnome/include/pango-1.0 -I/usr/openwin/include -I/opt/gnome/include/atk-1.0 -g -O2 -Wall -c prop-editor.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../gdk -I../gdk -DG_DISABLE_CAST_CHECKS -D_REENTRANT -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include -I/opt/gnome/include/pango-1.0 -I/usr/openwin/include -I/opt/gnome/include/atk-1.0 -g -O2 -Wall -c testgtk.c /bin/bash ../libtool --mode=link gcc -g -O2 -Wall -o testgtk prop-editor.o testgtk.o ../gdk-pixbuf/libgdk_pixbuf-2.0.la ../gdk/libgdk-x11-2.0.la ../gtk/libgtk-x11-2.0.la gcc -g -O2 -Wall -o .libs/testgtk prop-editor.o testgtk.o ../gdk-pixbuf/.libs/libgdk_pixbuf-2.0.so -L/opt/gnome/lib ../gdk/.libs/libgdk-x11-2.0.so -L/usr/openwin/lib ../gtk/.libs/libgtk-x11-2.0.so /space/packages/gtk+-2.0.6/gdk/.libs/libgdk-x11-2.0.so /space/packages/gtk+-2.0.6/gdk-pixbuf/.libs/libgdk_pixbuf-2.0.so -lXext -lX11 -lsocket -lnsl /opt/gnome/lib/libpangox-1.0.so /usr/local/lib/libpango-1.0.so /usr/local/lib/libatk-1.0.so /opt/gnome/lib/libgobject-2.0.so /opt/gnome/lib/libgmodule-2.0.so -ldl /opt/gnome/lib/libglib-2.0.so -lm -R/usr/local/lib -R/opt/gnome/lib ld: warning: file /space/packages/gtk+-2.0.6/gdk/.libs/libgdk-x11-2.0.so: linked to ../gdk/.libs/libgdk-x11-2.0.so: attempted multiple inclusion of file ld: warning: file /space/packages/gtk+-2.0.6/gdk-pixbuf/.libs/libgdk_pixbuf-2.0.so: linked to ../gdk-pixbuf/.libs/libgdk_pixbuf-2.0.so: attempted multiple inclusion of file
Undefined            first referenced
symbol                  in file
gtk_minor_version                   testgtk.o
gtk_micro_version                   testgtk.o
gtk_major_version                   testgtk.o
ld: fatal: Symbol referencing errors. No output written to .libs/testgtk
collect2: ld returned 1 exit status
make[2]: *** [testgtk] Error 1
make[2]: Leaving directory `/space/packages/gtk+-2.0.6/tests'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/space/packages/gtk+-2.0.6'
make: *** [all-recursive-am] Error 2

--
Keith Goobie
keith goobie org
kgoobie rogers com North York, ON, CANADA, M2N 6H8

"In the land of the blind, the one-eyed man is King"





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