libtool
[Top][All Lists]
Advanced

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

Re: libtool mismatch error on Windows Cygwin


From: Ralf Wildenhues
Subject: Re: libtool mismatch error on Windows Cygwin
Date: Wed, 3 Dec 2008 07:56:17 +0100
User-agent: Mutt/1.5.18 (2008-05-17)

Hello Emmanuel,

* Emmanuel wrote on Tue, Dec 02, 2008 at 11:15:26AM CET:
>             It generates some error, have a look at on the attached file 
>            libtool missmatch error .......

> make[3]: Entering directory `/usr/src/gnuradio-3.1.3/gr-fsk4/src/lib'
> /bin/sh ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. 
> -I../..
>   -DOMNITHREAD_POSIX=1 -I/usr/local/include/gnuradio -I/usr/local/include   
> -I/u
> sr/include/boost-1_33_1 -I/usr/include/python2.5    -g -O2 -Wall 
> -Woverloaded-vi
> rtual  -MT fsk4.lo -MD -MP -MF .deps/fsk4.Tpo -c -o fsk4.lo fsk4.cc
> libtool: Version mismatch error.  This is libtool 2.2.4, but the
> libtool: definition of this LT_INIT comes from libtool 2.2.6.
> libtool: You should recreate aclocal.m4 with macros from libtool 2.2.4
> libtool: and run autoconf again.
> make[3]: *** [fsk4.lo] Error 63

The ltmain.sh file used for creating the libtool script, and the Libtool
macros (from files libtool.m4, ltoptions.m4 etc.) that aclocal picked up,
do not match.  You need to ensure that aclocal finds the right ones.

There are several ways this can be achieved, depending also on your
package setup.  If you typically copy third-party macro files into your
tree, say into m4 (use AC_CONFIG_MACRO_DIR([m4]) in configure.ac, in
addition to 'ACLOCAL_AMFLAGS = -I m4' in toplevel Makefile.am), then
you can use 'libtoolize --install --copy' to get them there.

Otherwise, you need to either pass '-I /path-to-libtool-prefix/share/aclocal'
to aclocal, or add that directory to the file
/path-to-automake-prefix/share/aclocal/dirlist as described in the
Automake manual (file names suitably replaced, of course).

Then rerun bootstrap, and things should work.

Hope that helps.

Cheers,
Ralf




reply via email to

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