This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
libjawtgnu linking borked
- From: Richard Guenther <rguenther at suse dot de>
- To: gcc at gcc dot gnu dot org
- Cc: java at gcc dot gnu dot org
- Date: Thu, 29 Sep 2005 16:38:50 +0200 (CEST)
- Subject: libjawtgnu linking borked
Hi!
On current mainline-gcc install-pkglibLTLIBRARIES fails re-linking
libjawtgnu:
make[5]: Entering directory
`/usr/src/packages/BUILD/gcc-4.1.0-20050929/obj-i586-suse-linux/i586-suse-linux/libjava/classpath/native/jawt'
test -z "/usr/lib/classpath" || mkdir -p --
"/var/tmp/gcc-mainline-4.1.0_20050929-build/usr/lib/classpath"
/bin/sh ../../libtool --mode=install /usr/bin/install -c 'libjawtgnu.la'
'/var/tmp/gcc-mainline-4.1.0_20050929-build/usr/lib/classpath/libjawtgnu.la'
libtool: install: warning: relinking `libjawtgnu.la'
(cd
/usr/src/packages/BUILD/gcc-4.1.0-20050929/obj-i586-suse-linux/i586-suse-linux/libjava/classpath/native/jawt;
/bin/sh ../../libtool --mode=relink
/usr/src/packages/BUILD/gcc-4.1.0-20050929/obj-i586-suse-linux/./gcc/xgcc
-B/usr/src/packages/BUILD/gcc-4.1.0-20050929/obj-i586-suse-linux/./gcc/
-B/usr/i586-suse-linux/bin/ -B/usr/i586-suse-linux/lib/ -isystem
/usr/i586-suse-linux/include -isystem /usr/i586-suse-linux/sys-include
-pedantic -W -Wall -Wmissing-declarations -Wwrite-strings
-Wmissing-prototypes -Wno-long-long -pthread -I/usr/include/cairo
-I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/include/libpng12
-I/opt/gnome/include/gtk-2.0 -I/opt/gnome/lib/gtk-2.0/include
-I/opt/gnome/include/atk-1.0 -I/opt/gnome/include/pango-1.0
-I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include -O2 -O2
-march=i586 -mtune=i686 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2
-U_FORTIFY_SOURCE -module -version-info 0:0:0 -no-undefined -pthread
-L/usr/X11R6/lib -L/opt/gnome/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0
-lpangocairo-1.0 -lpango-1.0 -lcairo -lfreetype -lfontconfig -lXrender
-lX11 -lXext -lpng12 -lz -lglitz -lgthread-2.0 -lgdk_pixbuf-2.0 -lm
-lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -L/usr/X11R6/lib -lXtst -o
libjawtgnu.la -rpath /usr/lib/classpath jawt.lo
../../native/jni/gtk-peer/libgtkpeer.la)
/usr/src/packages/BUILD/gcc-4.1.0-20050929/obj-i586-suse-linux/./gcc/xgcc
-B/usr/src/packages/BUILD/gcc-4.1.0-20050929/obj-i586-suse-linux/./gcc/
-B/usr/i586-suse-linux/bin/ -B/usr/i586-suse-linux/lib/ -isystem
/usr/i586-suse-linux/include -isystem /usr/i586-suse-linux/sys-include
-shared .libs/jawt.o -Wl,--rpath -Wl,/opt/gnome/lib -Wl,--rpath
-Wl,/usr/lib/classpath -L/usr/X11R6/lib -L/opt/gnome/lib -lgtk-x11-2.0
-lgdk-x11-2.0 -latk-1.0 -lpangocairo-1.0 -L/usr/lib -lpango-1.0 -lcairo
-lfreetype -lfontconfig -lXrender -lX11 -lXext -lpng12 -lz -lglitz
-lgthread-2.0 -lgdk_pixbuf-2.0 -lm -lgobject-2.0 -lgmodule-2.0 -ldl
-lglib-2.0 -lXtst -L/usr/lib/classpath -lgtkpeer -Wl,-soname
-Wl,libjawtgnu.so.0 -o .libs/libjawtgnu.so.0.0.0
/usr/lib/gcc/i586-suse-linux/4.1.0/../../../../i586-suse-linux/bin/ld:
cannot find -lgtkpeer
collect2: ld returned 1 exit status
libtool: install: error: relink `libjawtgnu.la' with the above command
before installing it
make[5]: *** [install-pkglibLTLIBRARIES] Error 1
The -L/usr/lib/classpath -lgtkpeer seems bogous, we don't have classpath
installed (yet).
Richard.