[Top][All Lists]

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

Re: cannot specify -o with -c or -S

From: Russ Allbery
Subject: Re: cannot specify -o with -c or -S
Date: Wed, 24 Feb 2010 21:43:39 -0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

rrlangly <address@hidden> writes:

> Does anyone have an idea as to why I'd get the following error when
> compiling my program using autotools. This used to compile and run, then
> I added new code and linked against a new library, and now I get this.

> g++ -DHAVE_CONFIG_H -I. -I../../GXT/src -I..  -I../../GXT/include
> -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I
> /usr/include/festival -I /usr/include/speech-tools -I/usr/include/boost -I
> /usr/local/include -I /usr/local/include/OGRE/Terrain
> -I/usr/local/include/OGRE/Paging -I/usr/local/include/OGRE -I
> /opt/ion-inb-1.1.0/include -I/home/priggy/Projects/subA/libbern
> /home/priggy/Projects/subA/asn.1/bern-sn.h
> /home/priggy/Projects/subA/util/bern-ut.h
> /home/priggy/Projects/subA/util/bern-no.h
> /home/priggy/Projects/subA/util/bern-res.h
> /home/priggy/Projects/subA/util/bern-am.h
> /home/priggy/Projects/subA/util/bern-da.h
> /home/priggy/Projects/subA/util/bern-v.h
> /home/priggy/Projects/subA/util/bern-ver.h
> /home/priggy/Projects/subA/libbbc/bbc-c.h

This is the broken part.  Somehow, that list of individual header files
got plugged into what looks like the CPPFLAGS setting for this
compilation, so they look like individual source files.  I suspect that
somewhere you're setting the wrong Automake variable to a list of header
files, although I don't see that in the excerpt that you

Russ Allbery (address@hidden)             <>

reply via email to

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