Re: compile error in 2.4.0-test10-pre3

From: Keith Owens (kaos@ocs.com.au)
Date: Tue Oct 17 2000 - 01:25:31 EST


On Tue, 17 Oct 2000 00:45:13 -0500 (CDT),
Thomas Molina <tmolina@home.com> wrote:
>I patched from 2.4.0-test9 to 2.4.0-test10-pre3 successfully. I then
>did make mrproper, make oldconfig, make dep successfully. make bzImage
>resulted in the following error:
>
>[root@wr5z linux]# make bzImage
>gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o
>scripts/split-include scripts/split-include.c
>In file included from /usr/include/errno.h:36,
> from scripts/split-include.c:26:
>/usr/include/bits/errno.h:25: linux/errno.h: No such file or directory
>make: *** [scripts/split-include] Error 1

/usr/include/bits/errno.h assumes that /usr/include/linux/errno.h
always exists. Linus says that /usr/include/linux should contain
constant versions of the kernel headers that reflect the kernel used to
build glibc. However on many distributions, /usr/include/linux is a
symlink to some directory under /usr/src, which is fine until that
directory changes or goes away. The same problem applies to
/usr/include/asm.

You probably do not have a /usr/src/linux directory any more.
Reinstall the kernel headers that came with your distribution then ask
the distributor why they ship in that format.

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



This archive was generated by hypermail 2b29 : Mon Oct 23 2000 - 21:00:10 EST