xfs
[Top] [All Lists]

Re: xfs-progs and libtool-1.5.2 issues

To: Kostadin Karaivanov <larry@xxxxxxxxxxx>
Subject: Re: xfs-progs and libtool-1.5.2 issues
From: Nathan Scott <nathans@xxxxxxx>
Date: Mon, 23 Feb 2004 10:27:30 +1100
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <4034E1C9.9050103@xxxxxxxxxxx>
References: <4034E1C9.9050103@xxxxxxxxxxx>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.5.3i
On Thu, Feb 19, 2004 at 06:18:17PM +0200, Kostadin Karaivanov wrote:
> Recently I upgarded my libtool to 1.5.2 (slackware-current)
> nad I'm n unable to compile xfs-cms anymore
> following error is excerpt from
> make in xfs-cmds/attr
> 
> make -C . default
> make[1]: Entering directory `/usr/src/xfs-cmds/attr'
> === include ===
> rm -f attr
> ln -s . attr
> === libmisc ===
> /usr/bin/libtool --mode=compile gcc -g -DDEBUG -funsigned-char -Wall 
> -I../include -DVERSION=\"2.4.15\" -DLOCALEDIR=\"/usr/share/locale\" 
> -DPACKAGE=\"attr\" -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64   -D_REENTRANT 
> -fno-strict-aliasing -c quote.c
> libtool: compile: unable to infer tagged configuration
> libtool: compile: specify a tag with `--tag'
> make[2]: *** [quote.lo] Error 1
> make[1]: *** [default] Error 2
> make[1]: Leaving directory `/usr/src/xfs-cmds/attr'
> make: *** [default] Error 2
> 

I have libtool 1.5.2 (Debian unstable), and it works fine here.
The libtool script is a bit of a rats nest, but from a quick
read it looks like you may have CC set to something other than
what libtool thinks the base compiler is..?  You may be able
to find out more by running "sh -x libtool ..." from within the
Makefiles and then seeing where it gets confused.  If you have
a working libtool script, might be easier to diff it with your
current version...  (I've attached my /usr/bin/libtool - is it
any different to yours?)

cheers.

-- 
Nathan

Attachment: libtool
Description: Text document

<Prev in Thread] Current Thread [Next in Thread>