GCC in chapter 6.14 SVN-20050428 won't compile

Gustav Nilsson linuxget at gmail.com
Fri May 6 00:17:10 PDT 2005


Hi!

When I try to compile gcc-3.4.3, I got an error:

/sources/gcc-build/gcc/xgcc -B/sources/gcc-build/gcc/
-B/usr/i686-pc-linux-gnu/b in/ -B/usr/i686-pc-linux-gnu/lib/
-isystem /usr/i686-pc-linux-gnu/include -isyst
em /usr/i686-pc-linux-gnu/sys-include -O2 -DIN_GCC    -W -Wall
-Wwrite-strings - Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition  -isystem ./inclu de  -I. -I.
-I../../gcc-3.4.3/gcc -I../../gcc-3.4.3/gcc/.
-I../../gcc-3.4.3/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.3/gcc/crtstuff.c -DCRT_BEGIN \
  -o crtbegin.o
In file included from ../../gcc-3.4.3/gcc/crtstuff.c:62:
../../gcc-3.4.3/gcc/tsystem.h:79:19: stdio.h: No such file or directory
../../gcc-3.4.3/gcc/tsystem.h:82:23: sys/types.h: No such file or
directory
../../gcc-3.4.3/gcc/tsystem.h:85:19: errno.h: No such file or directory
../../gcc-3.4.3/gcc/tsystem.h:92:20: string.h: No such file or directory
../../gcc-3.4.3/gcc/tsystem.h:93:20: stdlib.h: No such file or directory
../../gcc-3.4.3/gcc/tsystem.h:94:20: unistd.h: No such file or directory
In file included from /sources/gcc-build/gcc/include/syslimits.h:7,
                 from /sources/gcc-build/gcc/include/limits.h:11,
                 from ../../gcc-3.4.3/gcc/tsystem.h:97,
                 from ../../gcc-3.4.3/gcc/crtstuff.c:62:
/sources/gcc-build/gcc/include/limits.h:122:61: limits.h: No such file
or direct ory
In file included from ../../gcc-3.4.3/gcc/crtstuff.c:62:
../../gcc-3.4.3/gcc/tsystem.h:100:18: time.h: No such file or directory
make[1]: *** [crtbegin.o] Error 1
make[1]: Leaving directory `/sources/gcc-build/gcc'
make: *** [all-gcc] Error 2

I'm pretty sure that glic is correctly compiled and installed, and when
I run locate stdio.h it is in /usr/include/stdio.h. The permissions on
stdio.h is:
-rw-r--r--   1 root root  27936 May  5 15:33 stdio.h

What can be wrong?

Best Regards,
Gustav Nilsson




More information about the lfs-support mailing list