bug-libtool
[Top][All Lists]
Advanced

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

Libtool 1.9b: make check gives 5 failures on i686-pc-linux-gnu


From: Roberto Bagnara
Subject: Libtool 1.9b: make check gives 5 failures on i686-pc-linux-gnu
Date: Mon, 30 Aug 2004 19:34:48 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040116


Here is the information identifying the test platform:

      host-triplet:     i686-pc-linux-gnu
      shell:            /bin/sh
      compiler:         gcc 3.4.1
      linker:           /usr/bin/ld (GNU ld version 2.15.90.0.3 20040415)
      libtool:          (GNU libtool) 1.9b
      automake:         automake (GNU automake) 1.9.1
      autoconf:         autoconf (GNU Autoconf) 2.59b

The failing tests are:

FAIL: sh.test
FAIL: depdemo-inst.test
FAIL: depdemo-inst.test
FAIL: depdemo-inst.test

Here are more details about the failing tests.  These have
been obtained by setting the environment variable VERBOSE
to yes):

$ sh.test
=== Running sh.test
../config/ltmain.sh:613:      --dlopen)         test $# -eq 0 && func_missing_arg 
"$opt" && break
../config/ltmain.sh:621:      --mode)           test $# -eq 0 && func_missing_arg 
"$opt" && break
../config/ltmain.sh:650:      --tag)            test $# -eq 0 && func_missing_arg 
"$opt" && break
use `test "$..."' instead of `test $'
../config/ltmain.sh:373:        # also don't use non-portable "`\"foo\"`", so 
we have to do
nested quotes are dangerous



$ depdemo-inst.test
=== Running depdemo-inst.test
= Running `make install' in depdemo
Making install in l1
make[1]: Entering directory `/usr/local/distrib/libtool-1.9b/tests/depdemo/l1'
make[2]: Entering directory `/usr/local/distrib/libtool-1.9b/tests/depdemo/l1'
test -z "/usr/local/distrib/libtool-1.9b/tests/_inst/lib" || mkdir -p -- 
"/usr/local/distrib/libtool-1.9b/tests/_inst/lib"
 /bin/sh ../libtool --mode=install /usr/bin/install -c  'libl1.la' 
'/usr/local/distrib/libtool-1.9b/tests/_inst/lib/libl1.la'
/usr/bin/install -c .libs/libl1.so.0.0.0 
/usr/local/distrib/libtool-1.9b/tests/_inst/lib/libl1.so.0.0.0
(cd /usr/local/distrib/libtool-1.9b/tests/_inst/lib && rm -f libl1.so.0 && ln 
-s libl1.so.0.0.0 libl1.so.0)
(cd /usr/local/distrib/libtool-1.9b/tests/_inst/lib && rm -f libl1.so && ln -s 
libl1.so.0.0.0 libl1.so)
/usr/bin/install -c .libs/libl1.lai 
/usr/local/distrib/libtool-1.9b/tests/_inst/lib/libl1.la
PATH="$PATH:/sbin" ldconfig -n /usr/local/distrib/libtool-1.9b/tests/_inst/lib
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/distrib/libtool-1.9b/tests/_inst/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/usr/local/distrib/libtool-1.9b/tests/depdemo/l1'
make[1]: Leaving directory `/usr/local/distrib/libtool-1.9b/tests/depdemo/l1'
Making install in l2
make[1]: Entering directory `/usr/local/distrib/libtool-1.9b/tests/depdemo/l2'
make[2]: Entering directory `/usr/local/distrib/libtool-1.9b/tests/depdemo/l2'
test -z "/usr/local/distrib/libtool-1.9b/tests/_inst/lib" || mkdir -p -- 
"/usr/local/distrib/libtool-1.9b/tests/_inst/lib"
 /bin/sh ../libtool --mode=install /usr/bin/install -c  'libl2.la' 
'/usr/local/distrib/libtool-1.9b/tests/_inst/lib/libl2.la'
libtool: install: warning: relinking `libl2.la'
(cd /usr/local/distrib/libtool-1.9b/tests/depdemo/l2; /bin/sh 
/usr/local/distrib/libtool-1.9b/tests/depdemo/libtool  --tag CC --mode=relink 
gcc -g -O2 -o libl2.la -rpath /usr/local/distrib/libtool-1.9b/tests/_inst/lib 
-no-undefined l2.lo ../l1/libl1.la )
libtool: : invalid argument for --mode
libtool: install: error: relink `libl2.la' with the above command before 
installing it
make[2]: *** [install-libLTLIBRARIES] Error 1
make[2]: Leaving directory `/usr/local/distrib/libtool-1.9b/tests/depdemo/l2'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/usr/local/distrib/libtool-1.9b/tests/depdemo/l2'
make: *** [install-recursive] Error 1

I hope this helps.
All the best,

    Roberto

--
Prof. Roberto Bagnara
Computer Science Group
Department of Mathematics, University of Parma, Italy
http://www.cs.unipr.it/~bagnara/
mailto:address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]