libtool
[Top][All Lists]
Advanced

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

Re: libtool: unrecognized option `--tag=CC'


From: pete stagman
Subject: Re: libtool: unrecognized option `--tag=CC'
Date: Tue, 04 Jan 2005 13:12:28 -0500

Hi Again Ralf,

I'm at work now but will try it when i get home.

>From here I downloaded the package and extracted it. The ltmain.sh file
contained: 
# Constants.
PROGRAM=ltmain.sh
PACKAGE=libtool
VERSION=1.4.3
TIMESTAMP=" (1.922.2.111 2002/10/23 02:54:36)"

So if I just do a 
./configure 
make
won't that create the same libtool and the same error?

--Pete


On Tue, 2005-01-04 at 08:10, Ralf Wildenhues wrote:
> [ reordered for readability ]
> 
> * pete wrote on Tue, Jan 04, 2005 at 01:05:24PM CET:
> > On Tue, 2005-01-04 at 10:42 +0100, Ralf Wildenhues wrote: 
> > > * pete wrote on Tue, Jan 04, 2005 at 01:46:41AM CET:
> > > > Can someone please tell me why I keep getting this error?
> > > > libtool: unrecognized option `--tag=CC'
> > > 
> > > Unreproducable here.
> 
> Shame on me for this typo.  :(
> 
> > > > What info do you need?
> > > 
> > > An example command line including full output.
> >
> > /bin/sh ../libtool --mode=link --tag=CC gcc  -O2 -g -Wall   -o irrecord
> > irrecord.o dump_config.o config_file.o hw-types.o ir_remote.o
> > hw_default.o receive.o transmit.o
> > libtool: unrecognized option `--tag=CC'
> > Try `libtool --help' for more information.
> 
> (These few lines would've been sufficient information, BTW.)
> 
> In your first message, you wrote:
> 
> > > > libtool --version
> > > > ltmain.sh (GNU libtool) 1.5.6 (1.1220.2.95 2004/04/11 05:50:42)
> 
> This is your system's installed libtool script, whereas the package you
> compiled uses its own provided libtool script (which is created during
> configure).  Please show the version of that -- it's likely much older.
> 
> As your build also shows (I've deleted that because I could've guessed
> it), the automatic rebuilding rules call `automake' again, which is
> likely much newer than the shipped ltmain.sh.  Automake creates the
> rules that contain `--tag', and the old libtool does not understand
> this.
> 
> Solution is to either not change the files of the package (so autoconf
> and automake are not triggered), or use AM_MAINTAINER_MODE to prevent
> this, or to libtoolize again, update the m4 macros (in aclocal.m4) and
> then autoreconf.
> 
> Regards,
> Ralf





reply via email to

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