Walt Mankowski on Wed, 2 May 2001 15:25:15 -0400


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Kernel compile error message


On Wed, May 02, 2001 at 03:12:58PM -0400, Jason Wertz wrote:
> I was hoping someone could help me decipher the following error I'm receiving while trying to build the kernel. I'm using VALinux's Redhat based distro that comes w/ predefined config files for their systems...you just have to modify them to your liking. Anyway, I installed their latest source and headers from RPM and then did
> 
> make xconfig - loaded the proper config
> make dep
> make clean
> make -j4 bzImage - my box is SMP
> 
> I get this error and the make bzImage never gets started.
> 
> 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
> make: *** Waiting for unfinished jobs....
> 
> 
> It looks to me like the makefile isn't finding the kernel source directory that contains the linux/errno.h but it is there in...
> 
> /usr/src/linux-2.2.18pre11/include/linux/errno.h
> 
> I'm just not sure where to edit the makefiles to correct this or if I'm even looking up the right tree.

Two questions:

1.  Do you have a symlink /usr/src/linux pointing to
    /usr/src/linux-2.2.18pre11 ?

2.  If you're going to all the trouble of compiling your own 2.2.*
    kernel, why not use 2.2.19?


-- 
Walter C. Mankowski
Senior Software Engineer	Myxa Corporation
phone: (610) 234-2626		fax: (610) 234-2640
email: walt@myxa.com		http://www.myxa.com


______________________________________________________________________
Philadelphia Linux Users Group       -      http://www.phillylinux.org
Announcements-http://lists.phillylinux.org/mail/listinfo/plug-announce
General Discussion  -  http://lists.phillylinux.org/mail/listinfo/plug