In file included from /usr/include/bits/errno.h:25:0,
from /usr/include/errno.h:36,
from ../../../gcc-4.6.0/libgcc/../gcc/tsystem.h:93,
from ../../../gcc-4.6.0/libgcc/../gcc/libgcc2.c:29:
/usr/include/linux/errno.h:4:23: fatal error: asm/errno.h: No such file or directory
compilation terminated.
make[3]: *** [_negdi2.o] Error 1
make[3]: *** Waiting for unfinished jobs….
In file included from /usr/include/bits/errno.h:25:0,
from /usr/include/errno.h:36,
from ../../../gcc-4.6.0/libgcc/../gcc/tsystem.h:93,
from ../../../gcc-4.6.0/libgcc/../gcc/libgcc2.c:29:
/usr/include/linux/errno.h:4:23: fatal error: asm/errno.h: No such file or directoryIn file included from /usr/include/bits/errno.h:25:0,
from /usr/include/errno.h:36,
from ../../../gcc-4.6.0/libgcc/../gcc/tsystem.h:93,
from ../../../gcc-4.6.0/libgcc/../gcc/libgcc2.c:29:
/usr/include/linux/errno.h:4:23: fatal error: asm/errno.h: No such file or directory
compilation terminated.
compilation terminated.
make[3]: *** [_muldi3.o] Error 1
make[3]: *** [_lshrdi3.o] Error 1
make[3]: Leaving directory `/mnt/lfs/sources/gcc-build/x86_64-unknown-linux-gnu/libgcc’
make[2]: *** [all-stage1-target-libgcc] Error 2
make[2]: Leaving directory `/mnt/lfs/sources/gcc-build’
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/mnt/lfs/sources/gcc-build’
make: *** [all] Error 2
need root
ln -sv /usr/src/linux-headers-2.6.38-8/arch/x86/include/asm /usr/include/asm