bug-libtool
[Top][All Lists]
Advanced

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

Re: libtoox 2.x and echo


From: Alberto Simões
Subject: Re: libtoox 2.x and echo
Date: Sun, 13 Apr 2008 17:11:01 +0100
User-agent: Thunderbird 2.0.0.12 (Macintosh/20080213)

Ralf, thanks for all your effort.
I'll dig more on this, then.

Thank you very much for your help.
Alberto

Ralf Wildenhues wrote:
* Alberto Simões wrote on Sun, Apr 13, 2008 at 05:19:45PM CEST:
Ralf Wildenhues wrote:
Is it possible for you to either put a tarball of your source tree up
somewhere, or post a small example package that reproduces this issue?
It is easier to get the source tree, as you might guess.
If you do not mind, please do a quick

  svn co https://numexp.org/svn/numexp-core/branches/david/

After installing required packages (somehow the Debian package
libxml-writer-perl doesn't please the
  perl -MXML::Writer::Simple -e 'print "$XML::Writer::Simple::VERSION"'

test, maybe it's missing some post-install magic?), I can ./autogen.sh
your package successfully, the build fails later with

/bin/sh ./libtool --tag=CC   --mode=link gcc -Wall -ggdb  -pthread 
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 
-I/usr/include/readline -g -O2 -export-dynamic  -o numexpc numexpc.o -pthread 
-Wl,--export-dynamic -lgobject-2.0 -lgthread-2.0 -lgmodule-2.0 -ldl -lglib-2.0 
-lxml2   -lm -lfl libnumexp.la -pthread -Wl,--export-dynamic -lgobject-2.0 
-lgthread-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lxml2   -lm -lfl -lhistory 
-lreadline -ltermcap -lpopt   -lmpfr -lgmp
libtool: link: gcc -Wall -ggdb -pthread -I/usr/include/glib-2.0 
-I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/readline -g 
-O2 -o .libs/numexpc numexpc.o -pthread -Wl,--export-dynamic -pthread 
-Wl,--export-dynamic -Wl,--export-dynamic  ./.libs/libnumexp.so 
/usr/lib/libgobject-2.0.so /usr/lib/libgthread-2.0.so -lpthread 
/usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so -lrt 
/usr/lib/libxml2.so -lm -lfl -lhistory -lreadline -ltermcap /usr/lib/libpopt.so 
/usr/lib/libmpfr.so /usr/lib/libgmp.so -pthread
./.libs/libnumexp.so: undefined reference to `g_hash_table_get_values'
./.libs/libnumexp.so: undefined reference to `g_hash_table_get_keys'
collect2: ld returned 1 exit status
make[2]: *** [numexpc] Fehler 1

So I cannot help but guess, like Andreas, that you have some leftover
branch-1-5 macros lying around where aclocal finds them.  Check aclocal
--verbose output for where to start searching.

Also, check the generated libtool script for '^VERSION='.  That gives
you the ltmain.sh version used.  Checking for '^macro_' gives the *.m4
file version used.

Cheers,
Ralf

--
Alberto Simões - Departamento de Informática - Universidade do Minho
                 Campus de Gualtar - 4710-057 Braga - Portugal




reply via email to

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