Gfortran compile error
When I tried to compile gcc with fortran enable:
make[3]: Entering directory `/data/gcc-build/i686-pc-linux-gnu/libgfortran' if /bin/sh ./libtool --mode=compile /data/gcc-build/./gcc/xgcc -B/data/gcc-build/./gcc/ -B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -isystem /usr/i686-pc-linux-gnu/include -isystem /usr/i686-pc-linux-gnu/sys-include -DHAVE_CONFIG_H -I. -I../../../gcc/libgfortran -I. -iquote../../../gcc/libgfortran/io -I../../../gcc/libgfortran/../gcc -I../../../gcc/libgfortran/../gcc/config -I../.././gcc -D_GNU_SOURCE -std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings -O2 -g -O2 -MT unix.lo -MD -MP -MF ".deps/unix.Tpo" -c -o unix.lo `test -f 'io/unix.c' || echo '../../../gcc/libgfortran/'`io/unix.c; \ then mv -f ".deps/unix.Tpo" ".deps/unix.Plo"; else rm -f ".deps/unix.Tpo"; exit 1; fi /data/gcc-build/./gcc/xgcc -B/data/gcc-build/./gcc/ -B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -isystem /usr/i686-pc-linux-gnu/include -isystem /usr/i686-pc-linux-gnu/sys-include -DHAVE_CONFIG_H -I. -I../../../gcc/libgfortran -I. -iquote../../../gcc/libgfortran/io -I../../../gcc/libgfortran/../gcc -I../../../gcc/libgfortran/../gcc/config -I../.././gcc -D_GNU_SOURCE -std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings -O2 -g -O2 -MT unix.lo -MD -MP -MF .deps/unix.Tpo -c ../../../gcc/libgfortran/io/unix.c -fPIC -DPIC -o .libs/unix.o /tmp/ccxGmUIF.s: Assembler messages: /tmp/ccxGmUIF.s:6157: Error: symbol `fstatat64' is already defined /tmp/ccxGmUIF.s:6194: Error: symbol `fstat64' is already defined /tmp/ccxGmUIF.s:6966: Error: symbol `lstat64' is already defined /tmp/ccxGmUIF.s:6999: Error: symbol `stat64' is already defined make[3]: *** [unix.lo] Error 1 make[3]: Leaving directory `/data/gcc-build/i686-pc-linux-gnu/libgfortran' make[2]: *** [all] Error 2 make[2]: Leaving directory `/data/gcc-build/i686-pc-linux-gnu/libgfortran' make[1]: *** [all-target-libgfortran] Error 2 make[1]: Leaving directory `/data/gcc-build' make: *** [all] Error 2 ---------------------- Why?:confused: |
which chapter?
gcc is compiled 3 times per LFS-6.2 instructions! |
No. I had compiled gcc before. Now I want to upgrade it (With gfortran) to the newest svn version.
Just like BLFS: http://www.linuxfromscratch.org/blfs...neral/gcc.html |
All times are GMT -5. The time now is 03:47 PM. |