Parse errors in gcc

Arnout Couperus llhorian at chello.nl
Wed Nov 22 10:54:05 PST 2000


I've now come to the part of the LFS book where you install everything in the chrooted environment.
When I tried to install gcc I got the following parse errors that I hadn't encountered when installing it statically.
I've included the error as attachment.

I don't understand why these errors occur now and not when I installed it the first time, statically.

--
Arnout
-------------- next part --------------
In file included from /usr/include/stdlib.h:339,
		 from ../../gcc-2.95.2/gcc/libgcc2.c:41:
/usr/include/sys/types.h:169: parse error before `8'
In file included from ../../gcc-2.95.2/gcc/libgcc2.c:41:
/usr/include/stdlib.h:346: parse error before `random'
/usr/include/stdlib.h:346: warning: data definition has no type or storage class
/usr/include/stdlib.h:370: parse error before `int32_t'
/usr/include/stdlib.h:370: warning: no semicolon at end of struct or union
/usr/include/stdlib.h:371: warning: data definition has no type or storage class
/usr/include/stdlib.h:372: parse error before `*'
/usr/include/stdlib.h:372: warning: data definition has no type or storage class
/usr/include/stdlib.h:376: parse error before `*'
/usr/include/stdlib.h:376: warning: data definition has no type or storage class
/usr/include/stdlib.h:377: parse error before `}'
/usr/include/stdlib.h:380: parse error before `int32_t'
In file included from ../../gcc-2.95.2/gcc/libgcc2.c:45:
.../../gcc-2.95.2/gcc/machmode.h:127: parse error before `('
.../../gcc-2.95.2/gcc/machmode.h:131: parse error before `('
.../../gcc-2.95.2/gcc/machmode.h:138: parse error before `('
.../../gcc-2.95.2/gcc/machmode.h:142: parse error before `('
.../../gcc-2.95.2/gcc/libgcc2.c: In function `__muldi3':
.../../gcc-2.95.2/gcc/libgcc2.c:300: parse error at `..'
.../../gcc-2.95.2/gcc/libgcc2.c:300: parse error before `.'
.../../gcc-2.95.2/gcc/libgcc2.c:300: parse error at `..'
make[2]: *** [libgcc2.a] Error 1
make[2]: Leaving directory `/usr/src/gcc-build/gcc'
make[1]: *** [bootstrap] Error 2
make[1]: Leaving directory `/usr/src/gcc-build/gcc'
make: *** [bootstrap] Error 2
				     


More information about the blfs-support mailing list