Hello,
I am trying to build LFS for the first time, however I found a problem when compiling glibc. The error screen is the following:
Code:
rpc_main.c:37:19: fatal error: errno.h: No such file or directory
compilation terminated.
Makefile:165: recipe for target 'ftint/lfs/sources/glibc-2.23/build/sunrpc/cross-rpc_main.o' failed
make[2]: *** [/mnt/lfs/sources/glibc-2.23/build/sunrpc/cross-rpc_main.o] Error 1
make[2]: Leaving directory '/mnt/lfs/sources/glibc-2.23/sunrpc'
Makefile:214: recipe for target 'sunrpc/others' failed
make[1]: *** [sunrpc/others] Error 2
make[1]: Leaving directory '/mnt/lfs/sources/glibc-2.23'
Makefile:9: recipe for target 'all' failed
make: *** [all] Error 2
I have checked that the errno.h header is available in /tools/include/asm and I have double checked if I missed any steps, so I must have misinterpreted something.
I am using the live iso of ubuntu mate 15.10 64-bit as a host (I installed all required packages... unless there's something I'm missing) and I'm installing the system in an ext4 partition in virtualbox.
Any help is welcome