Originally Posted by iharob
This is happening because you either did not install kernel-headers or at least installed them wrong! so untar the kernel source in /usr/src, cd to the linux-version dir execute (make mrproper && make headers_check ARCH=<your architecture>) then (make headers_install), that should work. Post your results please! (sorry for my bad english, not my native language)
I've followed the lfs book ver 6.5 and kernel headers comes after GCC pass 1 install. So, they shouldn't affect GCC pass 1 install according the book.
Anyway, I starded from the scratch with ubuntu 9.10 as host and GCC pass 1 has compiled normaly except that I have a new problem with dummy compil and crt1.o that could not be found..
I'm trying to solve it otherwise, be ready for new thread