Hello all, I'm fairly new to making my own distro and I encountered this problem and hope to get help on working it out. The problem happens when i try to compile GCC in chapter 6.15. This is what i get:

In file included from ../../gcc-4.0.2/gcc/crtstuff.c:64:
../../gcc-4.0.2/gcc/tsystem.h:90:19: error: stdio.h: No such file or directory ../../gcc-4.0.2/gcc/tsystem.h:93:23: error: sys/types.h: No such file or directory ../../gcc-4.0.2/gcc/tsystem.h:96:19: error: errno.h: No such file or directory ../../gcc-4.0.2/gcc/tsystem.h:103:20: error: string.h: No such file or directory ../../gcc-4.0.2/gcc/tsystem.h:104:20: error: stdlib.h: No such file or directory ../../gcc-4.0.2/gcc/tsystem.h:105:20: error: 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-4.0.2/gcc/tsystem.h:108,
                from ../../gcc-4.0.2/gcc/crtstuff.c:64:
/sources/gcc-build/gcc/include/limits.h:122:61: error: limits.h: No such file or directory
In file included from ../../gcc-4.0.2/gcc/crtstuff.c:64:
../../gcc-4.0.2/gcc/tsystem.h:111:18: error: time.h: No such file or directory
make[1]: *** [crtendS.o] Error 1
make[1]: Target `all' not remade because of errors.
make[1]: Leaving directory `/sources/gcc-build/gcc'
make: *** [all-gcc] Error 2
make: Target `all' not remade because of errors.

I know this has something to do with the locales but how do i fix it?

Thanks,
James "trigger-happy" Choa
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to