linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 2.4.1 compilation error
@ 2001-02-27 12:40 mshiju
  2001-02-27 13:59 ` Rob Cermak
  0 siblings, 1 reply; 2+ messages in thread
From: mshiju @ 2001-02-27 12:40 UTC (permalink / raw)
  To: linux-kernel

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


Thanks & Regards
Shiju



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: 2.4.1 compilation error
  2001-02-27 12:40 2.4.1 compilation error mshiju
@ 2001-02-27 13:59 ` Rob Cermak
  0 siblings, 0 replies; 2+ messages in thread
From: Rob Cermak @ 2001-02-27 13:59 UTC (permalink / raw)
  To: mshiju; +Cc: linux-kernel

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



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-02-27 14:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-02-27 12:40 2.4.1 compilation error mshiju
2001-02-27 13:59 ` Rob Cermak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).