lkml.org 
[lkml]   [1999]   [Oct]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: glibc-2.1.2 and Kernel-2.2.13 compile error
From
Date
"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/

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