On Fri, Jun 6, 2008 at 6:04 PM, Christoph Hellwig <hch@xxxxxx> wrote: > When trying to compile xfsprogs (from oss.sgi.com/projects/xfs) > > hch@bigmac:~/work/xfs-cmds/xfsprogs$ CC=~/bin/cgcc ./configure > hch@bigmac:~/work/xfs-cmds/xfsprogs$ make > > I get this error: > > === libxfs === > /usr/bin/libtool --mode=compile /home/hch/bin/cgcc -I. -g -O2 -DNDEBUG > -DVERSION=\"2.9.8\" -DLOCALEDIR=\"/usr/local/share/locale\" > -DPACKAGE=\"xfsprogs\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 > -funsigned-char -fno-strict-aliasing -Wall -c bit.c > libtool: compile: unable to infer tagged configuration > libtool: compile: specify a tag with `--tag' > make[1]: *** [bit.lo] Error 1 > make: *** [default] Error 2 > > Any idea what's up with sparse and libtool? Looking at the FAQ from http://www.astro.gla.ac.uk/~norman/star/ssn78/ssn78.htx/N-a5b1.html I've just been told that libtool is ``unable to infer tagged configuration''. What on earth is that supposed to mean? I'm not sure what this is supposed to mean exactly, but what it seems to mean in practice is that libtool has become terribly confused about your compiler. Very probably, you forced ./configure to use a particular compiler by specifying one of the F77, FC or CC environment variables at configure time. You may have forgotten that you have that variable set. Alternatively, you may be unaware that that variable is set: a known manifestation of this problem is that the IRAF startup script sets F77 to be an IRAF-specific script, which works OK from the command-line (given that you want to use IRAF), but which leaves libtool in a confused heap. This problem has also been spotted in the form libtool: compile: specify a tag with `--tag', with apparently the same cause. See Section 2.1.5 for more discussion of these variables. Did gcc or any other development tools package change on your system? Balbir -- To unsubscribe from this list: send the line "unsubscribe linux-sparse" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html