bug-libtool
[Top][All Lists]
Advanced

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

Re: libtool15: compile: unable to infer tagged configuration


From: Bob Friesenhahn
Subject: Re: libtool15: compile: unable to infer tagged configuration
Date: Sat, 25 Sep 2004 16:19:46 -0500 (CDT)

On Sat, 25 Sep 2004, Mihaela Popescu wrote:
Making all in libmysql_r
source='libmysql.c' object='libmysql.lo' libtool=yes
depfile='.deps/libmysql.Plo' tmpdepfile='.deps/libmysql.TPlo'
depmode=gcc /bin/sh ../depcomp  /usr/local/bin/libtool15 --mode=compile
gcc -DDEFAULT_CHARSET_HOME="\"/usr/local\""
-DDATADIR="\"/var/db/mysql\""  -DSHAREDIR="\"/usr/local/share/mysql\""
-DDONT_USE_RAID -I. -I. -I..  -I../include     -DDBUG_OFF -02
-fno-strength-reduce  -D_THREAD_SAFE  -DHAVE_BROKEN_REALPATH -c -o
libmysql.lo `test -f libmysql.c || echo './'`libmysql.c
libtool15: compile: unable to infer tagged configuration
libtool15: compile: specify a tag with `--tag'
*** Error code 1

The reason for this error message is that the first command argument provided to libtool is expected to be the name of the compiler used while configuring libtool, but some other tool name was found there instead.

As an example, it may be that when libtool was configured the compiler's name was `cc' but libtool is being provided with `gcc' instead during the build.

I believe that recent versions of Automake provide a --tag argument in order to avoid possible confusion like this.

Bob
======================================
Bob Friesenhahn
address@hidden
http://www.simplesystems.org/users/bfriesen




reply via email to

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