* Sean Dague wrote on Wed, Nov 17, 2004 at 06:07:55PM CET: > On Tue, Nov 16, 2004 at 06:32:51PM -0800, Jacob Meuser wrote: > <snip> > > > /home/sdague/openhpi/openhpi-1.9.3/_inst/lib/libopenhpiutils.so > > doesn't yet exist? > > Nothing exists in _inst except directories, as this phase of make distcheck > is happening after it has done make uninstall on the _inst directory.
Thanks for this hint. I know now what the problem is. One of the bugs that will hit on cross-compile. Just need to find out where the buggy code is: What I overlooked until now: The error occurs only in the DESTDIR install, not in the regular one. The failure is here (last few lines of the log Sean made available online): /bin/sh ../libtool --mode=install /usr/bin/install -c libopenhpi.la /home/sdague/tmp/am-dc-28498//home/sdague/openhpi/openhpi-1.9.3/_inst/lib/libopenhpi.la libtool: install: warning: relinking `libopenhpi.la' (cd /home/sdague/openhpi/openhpi-1.9.3/_build/src; /bin/sh ../libtool --mode=relink gcc -g -O2 -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-format-y2k -Wcast-qual -Wcast-align -Werror -D_GNU_SOURCE -D_REENTRANT -fexceptions -g -O2 -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-format-y2k -Wcast-qual -Wcast-align -Werror -D_GNU_SOURCE -D_REENTRANT -fexceptions -o libopenhpi.la -rpath /home/sdague/openhpi/openhpi-1.9.3/_inst/lib -L../utils -version-info 10:3:9 -export-symbols ../../src/hpi.sym config.lo domain.lo event.lo alarm.lo hotswap.lo lock.lo plugin.lo plugin_static.lo init.lo safhpi.lo session.lo oHpi.lo ../utils/libopenhpiutils.la -lltdl -pthread -lgthread-2.0 -lglib-2.0 -lm -lpthread -inst-prefix-dir /home/sdague/tmp/am-dc-28498/) echo "{ global:" > .libs/libopenhpi.ver cat ../../src/hpi.sym | sed -e "s/\(.*\)/\1;/" >> .libs/libopenhpi.ver echo "local: *; };" >> .libs/libopenhpi.ver gcc -shared .libs/config.o .libs/domain.o .libs/event.o .libs/alarm.o .libs/hotswap.o .libs/lock.o .libs/plugin.o .libs/plugin_static.o .libs/init.o .libs/safhpi.o .libs/session.o .libs/oHpi.o -L/home/sdague/tmp/am-dc-28498//usr/lib -Wl,--rpath -Wl,/home/sdague/openhpi/openhpi-1.9.3/_inst/lib -L/usr/lib -L/home/sdague/openhpi/openhpi-1.9.3/_build/utils -L/home/sdague/openhpi/openhpi-1.9.3/_inst/lib -lopenhpiutils -lltdl -pthread -lgthread-2.0 -lglib-2.0 -lm -lpthread -Wl,-soname -Wl,libopenhpi.so.1 -Wl,-version-script -Wl,.libs/libopenhpi.ver -o .libs/libopenhpi.so.1.9.3 /usr/bin/ld: cannot find -lopenhpiutils collect2: ld returned 1 exit status libtool: install: error: relink `libopenhpi.la' with the above command before installing it The line starting with | gcc -shared contains | -L/home/sdague/openhpi/openhpi-1.9.3/_inst/lib which is wrong. It should contain | -L/home/sdague/tmp/am-dc-28498//home/sdague/openhpi/openhpi-1.9.3/_inst/lib Who finds the culprit? Ralf _______________________________________________ Libtool mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/libtool