Re: 2.4.1 compilation error

Rob Cermak (cermak@IMCS.rutgers.edu)
Tue, 27 Feb 2001 08:59:27 -0500 (EST)


Shiju,

There might be more things missing, but check this link:

ls -ld /usr/include/linux, it should be:

linux -> /usr/src/linux/include/linux

In which, your need to do this:
cd /usr/src
ln -s linux2.4.1 linux

If linux exists, remove the old symlink or move the directory out of the
way.

More compile notes are here:
http://www.kernelnewbies.org/

Rob

On Tue, 27 Feb 2001 mshiju@in.ibm.com wrote:

> Hi all,
> When I compiled 2.4.1 kernel on a 2.2.14-5.0 installation (redhat
> 6.2) ,the following error occurred . But errno.h is there in
> /usr/src/linux2.4.1/include/linux/ directory. Have anyone experienced
> this problem.
>
> 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

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