what's up with automake?

Benjamin Kosnik bkoz@redhat.com
Tue Aug 15 21:34:00 GMT 2000


Alexandre, 

I can no longer rebuild the libstdc++-v3 Makefiles.....

If you `cvs update` in the libstdc++-v3 directory, and then do
`automake` you'll get the following error:

/mnt/hd/bliss/bld-x86-gcc-3/gcc/g++ -B/mnt/hd/bliss/bld-x86-gcc-3/gcc/ -nostdinc++ -L/mnt/hd/bliss/bld-x86-gcc-3/i586-pc-linux/libstd++-v3/src -L/mnt/hd/bliss/bld-x86-gcc-3/i586-pc-linux/libstd++-v3/src/.libs -B/mnt/hd/bliss/H-x86-gcc-3/i586-pc-linux/bin/ -B/mnt/hd/bliss/H-x86-gcc-3/i586-pc-linux/lib/ -isystem /mnt/hd/bliss/H-x86-gcc-3/i586-pc-linux/include -DHAVE_CONFIG_H -I. -I../../../../src.gcc/libstdc++-v3/src -I.. 1 -g -O2 -fvtable-thunks -D_GNU_SOURCE -fno-implicit-templates -Wall -Wno-format -W -Wwrite-strings -Winline -Werror -Wno-unknown-pragmas -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -O0 -ggdb -c limitsMEMBERS.cc  -fPIC -DPIC -o .libs/limitsMEMBERS.o
g++: cannot specify -o with -c or -S and multiple compilations
make[3]: *** [limitsMEMBERS.lo] Error 1
make[3]: Leaving directory `/mnt/hd/bliss/bld-x86-gcc-3/i586-pc-linux/libstdc++-v3/src'

which is directly attributable to this line:

rc.gcc/libstdc++-v3/src -I.. 1 -g -O2 -fvtable-thunks -D_GNU_SOURCE -fno-implic
                             ^
This looks like it is part of CXXFLAGS, passed down from top-level configure.

What's up? This had been working correctly for me, but I've just
noticed this problem. The checked-in Makefile.in's are ok, but I need
to be able to regenerate, for other work I'm doing.

-benjamin


More information about the Libstdc++ mailing list