After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 89137 - make fails
make fails
Status: RESOLVED DUPLICATE of bug 81232
Product: gtk+
Classification: Platform
Component: Widget: Other
2.0.x
Other Solaris
: Normal blocker
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2002-07-26 13:20 UTC by Andrea Merello
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Andrea Merello 2002-07-26 13:20:52 UTC
I tried to compile gtk+-2.0.5 (I'm using gcc-3.1 with SUN solaris8
native ld and as):

make crashes with the following last lines:

...
ld: warning: file
/home/amerello/DNLD/gtk+-2.0.5/gdk/.libs/libgdk-x11-2.0.so: linked to
../gdk/.libs/libgdk-x11-2.0.so: attempted multipl
e inclusion of file
ld: warning: file
/home/amerello/DNLD/gtk+-2.0.5/gdk-pixbuf/.libs/libgdk_pixbuf-2.0.so:
linked to ../gdk-pixbuf/.libs/libgdk_pixbuf-2.0.s
o: attempted multiple inclusion of file
creating testdnd
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../gdk -I../gdk
-DG_DISABLE_CAST_CHECKS -D_REENTRANT -I/apps/GNU/include/glib-2.0
-I/apps/GNU/lib
/glib-2.0/include -I/apps/GNU/include/pango-1.0 -I/usr/openwin/include
-I/apps/GNU/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/apps/GNU/include/glib-2.0
-I/apps/GNU/lib
/glib-2.0/include -I/apps/GNU/include/pango-1.0 -I/usr/openwin/include
-I/apps/GNU/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/apps/GNU/lib
../gdk/.libs/libgdk-x
11-2.0.so -L/usr/openwin/lib ../gtk/.libs/libgtk-x11-2.0.so
/home/amerello/DNLD/gtk+-2.0.5/gdk/.libs/libgdk-x11-2.0.so
/home/amerello/DNL
D/gtk+-2.0.5/gdk-pixbuf/.libs/libgdk_pixbuf-2.0.so -lXext -lX11 -lsocket
-lnsl /apps/GNU/lib/libpangox-1.0.so /apps/GNU/lib/libpango-1.0.
so /apps/GNU/lib/libatk-1.0.so /apps/GNU/lib/libgobject-2.0.so
/apps/GNU/lib/libgmodule-2.0.so -ldl /apps/GNU/lib/libglib-2.0.so -lm -R/a
pps/GNU/lib
ld: warning: file
/home/amerello/DNLD/gtk+-2.0.5/gdk/.libs/libgdk-x11-2.0.so: linked to
../gdk/.libs/libgdk-x11-2.0.so: attempted multipl
e inclusion of file
ld: warning: file
/home/amerello/DNLD/gtk+-2.0.5/gdk-pixbuf/.libs/libgdk_pixbuf-2.0.so:
linked to ../gdk-pixbuf/.libs/libgdk_pixbuf-2.0.s
o: 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 `/home/amerello/DNLD/gtk+-2.0.5/tests'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/amerello/DNLD/gtk+-2.0.5'
make: *** [all-recursive-am] Error 2

Can you help me?

Thanks

Andrea
Comment 1 Owen Taylor 2002-07-28 12:46:18 UTC
I believe this is a libtool bug related to the -export-symbols-regex
feature that GTK+ uses; see comments in bug 81232

*** This bug has been marked as a duplicate of 81232 ***