Jason Wertz on Wed, 2 May 2001 15:14:47 -0400


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

[PLUG] Kernel compile error message


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.

Thanks,
Jason



Jason Wertz
Instructional Technology Specialist / WebMaster
Delaware County Community College





______________________________________________________________________
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