[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: TR: [libtool 2.2.6] testsuite: 41 failed
From: |
Ralf Wildenhues |
Subject: |
Re: TR: [libtool 2.2.6] testsuite: 41 failed |
Date: |
Sun, 7 Jun 2009 12:00:28 +0200 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
Hello Patrice,
* Patrice Fromy wrote on Thu, Jun 04, 2009 at 02:34:59PM CEST:
> When I do
> make check
>
> I have the floowing bug can you help me ?
> $ /home/pfromy/libtool-2.2.6/tests/testsuite MAKE=make CC=gcc CFLAGS=-g -O2
> CPP=gcc -E CPPFLAGS= LD=/usr/bin/ld -m elf_x86_64 LDFLAGS= LIBS=-ldl LN_S=ln
> -s NM=/usr/bin/nm -B RANLIB=ranlib STRIP=strip OBJEXT=o EXEEXT= SHELL=/bin/sh
> CONFIG_SHELL=/bin/sh CXX=g++ CXXFLAGS=-g -O2 CXXCPP=g++ -E F77=g77 FFLAGS=-g
> -O2 FC=gfortran FCFLAGS=-g -O2 GCJ= GCJFLAGS=-g -O2
> _lt_pkgdatadir=/home/pfromy/libtool-2.2.6
> LIBTOOLIZE=/home/pfromy/libtool-2.2.6/libtoolize
> LIBTOOL=/home/pfromy/libtool-2.2.6/libtool
> tst_aclocaldir=/home/pfromy/libtool-2.2.6/libltdl/m4
[...]
> ./old-m4-iface.at:153: $MAKE $target
> stderr:
> /usr/local/lib/libltdl.a(dlopen.o): In function `vm_sym':
> /home/pfromy/libtool-2.2.6/libltdl/loaders/dlopen.c:227: undefined reference
> to `dlsym'
> /home/pfromy/libtool-2.2.6/libltdl/loaders/dlopen.c:231: undefined reference
> to `dlerror'
> /usr/local/lib/libltdl.a(dlopen.o): In function `vm_close':
> /home/pfromy/libtool-2.2.6/libltdl/loaders/dlopen.c:212: undefined reference
> to `dlclose'
> /home/pfromy/libtool-2.2.6/libltdl/loaders/dlopen.c:214: undefined reference
> to `dlerror'
> /usr/local/lib/libltdl.a(dlopen.o): In function `vm_open':
> /home/pfromy/libtool-2.2.6/libltdl/loaders/dlopen.c:194: undefined reference
> to `dlopen'
> /home/pfromy/libtool-2.2.6/libltdl/loaders/dlopen.c:198: undefined reference
> to `dlerror'
> collect2: ld returned 1 exit status
> make[4]: *** [ltdldemo] Error 1
> stdout:
Ahh, @LIBS@ was missing too. Pushing this additional fix. Current
master should now have all failures you've posted to date fixed.
Cheers, and thanks again,
Ralf
testsuite: add missing @LIBS@ in a link command line.
* tests/old-m4-iface.at (AC_WITH_LTDL): Use @LIBS@ when linking.
Report by Patrice Fromy.
diff --git a/tests/old-m4-iface.at b/tests/old-m4-iface.at
index 64f7e60..cb823a2 100644
--- a/tests/old-m4-iface.at
+++ b/tests/old-m4-iface.at
@@ -143,7 +143,7 @@ module.la: module.lo
$(LTLINK) module.lo -module -avoid-version -rpath /dev/null
address@hidden@: address@hidden@ module.la libltdl/libltdlc.la
- $(LTLINK) address@hidden@ -dlopen module.la @LIBLTDL@
+ $(LTLINK) address@hidden@ -dlopen module.la @LIBLTDL@ @LIBS@
.SUFFIXES:
.SUFFIXES: .c address@hidden@ .lo