I have a problem during compile GCC on my computer. After configure, I just run 'make' but there is some error.How can I solve this problem? ----environment --- # uname -a Linux login2 2.4.21-32.0.1.ELhugemem #1 SMP Tue May 17 17:43:22 EDT 2005 i686 i686 i386 GNU/Linux # module list Currently Loaded Modulefiles: 1) modules 2) l.gmp.4.1.4-gcc 3) l.gcc.4.2.4 4) l.mpfr.2.3.2-gcc 5) l.make.3.81 ---- error message ------ then mv -f ".deps/unix.Tpo" ".deps/unix.Plo"; else rm -f ".deps/unix.Tpo"; exit 1; fi libtool: compile: /usr/local/src/gcc-4.3.2/host-i686-pc-linux-gnu/gcc/xgcc -B/usr/local/src/gcc-4.3.2/host-i686-pc-linux-gnu/gcc/ -B/opt/kma/gcc/4.3.2//i686-pc-linux-gnu/bin/ -B/opt/kma/gcc/4.3.2//i686-pc-linux-gnu/lib/ -isystem /opt/kma/gcc/4.3.2//i686-pc-linux-gnu/include -isystem /opt/kma/gcc/4.3.2//i686-pc-linux-gnu/sys-include -DHAVE_CONFIG_H -I. -I../.././libgfortran -I. -iquote../.././libgfortran/io -I../.././libgfortran/../gcc -I../.././libgfortran/../gcc/config -I../../host-i686-pc-linux-gnu/gcc -D_GNU_SOURCE -std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings -O2 -g -g -O2 -MT unix.lo -MD -MP -MF .deps/unix.Tpo -c ../.././libgfortran/io/unix.c -fPIC -DPIC -o .libs/unix.o /usr/include/bits/mathinline.h: Assembler messages: /usr/include/bits/mathinline.h:6193: Error: symbol `fstat64' is already defined /usr/include/bits/mathinline.h:7013: Error: symbol `lstat64' is already defined /usr/include/bits/mathinline.h:7046: Error: symbol `stat64' is already defined make[3]: *** [unix.lo] Error 1 make[3]: Leaving directory `/export/local/src/gcc-4.3.2/i686-pc-linux-gnu/libgfortran' make[2]: *** [all] Error 2 make[2]: Leaving directory `/export/local/src/gcc-4.3.2/i686-pc-linux-gnu/libgfortran' make[1]: *** [all-target-libgfortran] Error 2 make[1]: Leaving directory `/export/local/src/gcc-4.3.2' make: *** [all] Error 2
Are you trying to "make" from within the source directory?
(In reply to comment #1) > Are you trying to "make" from within the source directory? Yes I am
> Yes I am Don't because it is known to be broken. *** This bug has been marked as a duplicate of 35619 ***