Errors during Reinstallation of GCC - Ch5.13. GCC-3.4.1 - Pass 2

senthil at symonds.net senthil at symonds.net
Tue Feb 1 06:23:15 PST 2005


Hi Folks,
          Just entered into this world of LFS. Find it interesting.
I am following LFS 6.0 online version.
On a Fedora Core 3
#uname -a:
Linux machinename 2.6.9-1.667 #1 Tue Nov 2 14:41:25 EST 2004 i686 i686
i386 GNU/Linux

I have so far been sucessful in compiling till DejaGNU packages.

But coming to, 5.13. GCC-3.4.1 - Pass 2

#expect -c "spawn ls"
gives the output as:

spawn ls

Is this a proper behaviour?

Coming to a more serious issue which has stalled my proceed.
After applying the patches mentioned. I give configure:

 ../gcc-3.4.1/configure --prefix=/tools \
    --libexecdir=/tools/lib --with-local-prefix=/tools \
    --enable-clocale=gnu --enable-shared \
    --enable-threads=posix --enable-__cxa_atexit \
    --enable-languages=c,c++ --disable-libstdcxx-pch

Makefile is created and no errors reported.
But the next step make fails!


Portion of the error
=============================================================
/mnt/lfs/sources/gcc-build/gcc/xgcc -B/mnt/lfs/sources/gcc-build/gcc/
-B/tools/i686-pc-linux-gnu/bin/ -B/tools/i686-pc-linux-gnu/lib/ -isystem
/tools/i686-pc-linux-gnu/include -isystem
/tools/i686-pc-linux-gnu/sys-include -O2 -DIN_GCC    -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition  -isystem ./include  -I. -I. -I../../gcc-3.4.1/gcc
-I../../gcc-3.4.1/gcc/. -I../../gcc-3.4.1/gcc/../include   -g0
-finhibit-size-directive -fno-inline-functions -fno-exceptions
-fno-zero-initialized-in-bss -fno-unit-at-a-time -fno-omit-frame-pointer \
   -c ../../gcc-3.4.1/gcc/crtstuff.c -DCRT_BEGIN \
  -o crtbegin.o
In file included from /tools/include/linux/errno.h:134,
                 from /tools/include/bits/errno.h:25,
                 from /tools/include/errno.h:36,
                 from ../../gcc-3.4.1/gcc/tsystem.h:85,
                 from ../../gcc-3.4.1/gcc/crtstuff.c:62:
/tools/include/asm/errno.h:4:31: asm-generic/errno.h: No such file or
directory
make[1]: *** [crtbegin.o] Error 1
make[1]: Leaving directory `/mnt/lfs/sources/gcc-build/gcc'
make: *** [all-gcc] Error 2
=============================================================

How should I be solving this issue.


Regards,
Senthil







More information about the lfs-support mailing list