problem building 4.0.0

Bryan Irby
Mon Apr 25 16:09:00 GMT 2005


I've run into a problem building the 4.0.0 compilers that I'm hoping you
can advise me on.  The error is pasted below.

Details about my setup:

- build was configured in the standard way, i.e.
  cd gcc-4.0.0; mkdir objdir; cd objdir; ../configure --prefix=.....

- I've run into the same problem trying to build the 4.0.0 compilers using
  both gcc 3.3.2 and 3.4.2.

- Linux zambi 2.4.22-1.2199.nptlsmp #1 SMP Wed Aug 4 11:48:29 EDT 2004 i686 i686 i386 GNU/Linux

- Fedora Core release 1 (Yarrow)

- GNU ld version 20030820

/local/data/zambi4/irby/gcc-4.0.0/objdir/gcc/xgcc -B/local/data/zambi4/irby/gcc-4.0.0/objdir/gcc/ -B/local/data/zambi4/irby/gcc-4.0.0/i686-pc-linux-gnu/bin/ -B/local/data/zambi4/irby/gcc-4.0.0/i686-pc-linux-gnu/lib/ -isystem /local/data/zambi4/irby/gcc-4.0.0/i686-pc-linux-gnu/include -isystem /local/data/zambi4/irby/gcc-4.0.0/i686-pc-linux-gnu/sys-include -DHAVE_CONFIG_H -I. -I/local/data/zambi4/irby/gcc-4.0.0/libmudflap -I. -Wall -ffunction-sections -fdata-sections -O2 -g -O2 -MT mf-runtime.lo -MD -MP -MF .deps/mf-runtime.Tpo -c /local/data/zambi4/irby/gcc-4.0.0/libmudflap/mf-runtime.c  -fPIC -DPIC -o .libs/mf-runtime.o
/local/data/zambi4/irby/gcc-4.0.0/libmudflap/mf-runtime.c:305: error: redefinition of 'struct option'
make[4]: *** [mf-runtime.lo] Error 1
make[4]: Leaving directory `/local/data/zambi4/irby/gcc-4.0.0/objdir/i686-pc-linux-gnu/libmudflap'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/local/data/zambi4/irby/gcc-4.0.0/objdir/i686-pc-linux-gnu/libmudflap'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/local/data/zambi4/irby/gcc-4.0.0/objdir/i686-pc-linux-gnu/libmudflap'
make[1]: *** [all-target-libmudflap] Error 2
make[1]: Leaving directory `/local/data/zambi4/irby/gcc-4.0.0/objdir'
make: *** [bootstrap] Error 2

Thanks for any help!


More information about the Gcc-help mailing list