/usr/include/linux/errno.h:1:23: fatal error: asm/errno.h: No suchfile or directory

From: Jeff Chua
Date: Sat Dec 15 2012 - 20:23:25 EST


How should the symbolic links be setup to compile the latest kernel?


Currently I had these links and kernels compiled fine until 2 days ago.

asm -> /usr/src/linux/include/uapi/asm-generic/
asm-generic -> /usr/src/linux/include/uapi/asm-generic
linux -> /usr/src/linux/include/uapi/linux


# make
make[1]: Nothing to be done for `all'.
HOSTCC arch/x86/tools/relocs
In file included from /usr/include/bits/errno.h:24:0,
from /usr/include/errno.h:35,
from arch/x86/tools/relocs.c:6:
/usr/include/linux/errno.h:1:23: fatal error: asm/errno.h: No such
file or directory
compilation terminated.
make[1]: *** [arch/x86/tools/relocs] Error 1
make: *** [archscripts] Error 2


Thanks,
Jeff
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/