Re: glibc-2.1.2 and Kernel-2.2.13 compile error

Matthias Andree (mandree@sx1.HRZ.Uni-Dortmund.DE)
21 Oct 1999 11:24:54 +0200


"G. Hugh SONG" <ghsong@bellini.kjist.ac.kr> writes:

> I got this compile error on the first C-source as follows:
> --------------------------------------------------------------
> $ 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
> -----------------------------------------------------------
>
> In linux/Documentation/Changes, glibc-2.0.7pre6 is specified.
> I am using RedHat-6.1 with glibc-2.1.2 which contains
> /usr/include/bits/errno.h.
>
> Is this a known problem?

No. Your source tree or your include symlinks are hosed.

Do

rm /usr/include/linux
ln -s ../src/linux/include/linux /usr/include/linux

then retry. If that does not help, reinstall the linux source tree.

PLUS: your current Linux source directory MUST be named /usr/src/linux (or this
needs to be a symlink to your Linux source directory)!

-- 
Matthias Andree

Hi! I'm the infamous .signature virus! Copy me into your ~/.signature to help me spread!

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