lkml.org 
[lkml]   [2000]   [Oct]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: compile error in 2.4.0-test10-pre3
Date
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/

\
 
 \ /
  Last update: 2005-03-22 12:45    [W:0.098 / U:0.356 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site