[ 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 _______________________________________________ http://lists.gnu.org/mailman/listinfo/libtool