Article View: aus.computers.linux
Article #47727Error compiling new kernel
From: John Jackson
Date: Sun, 03 Jan 1999 00:00
Date: Sun, 03 Jan 1999 00:00
57 lines
2728 bytes
2728 bytes
I am trying to recompile kernel 2.0.36 on a relatively new RH5.2 installation. I've downloaded the kernel source and decompressed it to /usr/src/linux. and made sure that the header files listed below exist in the /usr/src/linux/include/ASM,LINUX,SCSI directories and that symlinks from /usr/include point to them. I don't think the answer to my problem is a difficult one but I can't seem to find it the README or kernel-howto. I can run "make mrproper " with no problems and I can run "make config" as well. I can't run "make xconfig". When I try I get the following error [root@localhost /root]# cd /usr/src/linux [root@localhost linux]# make xconfig rm -f include/asm ( cd include ; ln -sf asm-i386 asm) make -C scripts kconfig.tk make[1]: Entering directory `/usr/src/linux/scripts' make -C /usr/src/linux/drivers/sound mkscript make[2]: Entering directory `/usr/src/linux/drivers/sound' Compiling Sound Driver v 3.5.5-beta1 for Linux rm -f configure gcc -I/usr/src/linux/include -o configure configure.c configure.c:19: stdio.h: No such file or directory configure.c:20: unistd.h: No such file or directory configure.c:21: stdlib.h: No such file or directory configure.c:22: fcntl.h: No such file or directory configure.c:23: string.h: No such file or directory make[2]: *** [mkscript] Error 1 make[2]: Leaving directory `/usr/src/linux/drivers/sound' make[1]: *** [soundscript] Error 2 make[1]: Leaving directory `/usr/src/linux/scripts' make: *** [xconfig] Error 2 [root@localhost linux]# Likewise, when I try and run "make dep" I get the test below [root@localhost linux]# cd /usr/src/linux [root@localhost linux]# make dep gcc -I/usr/src/linux/include -O2 -fomit-frame-pointer -o scripts/mkdep scripts/mkdep.c scripts/mkdep.c:1: stdio.h: No such file or directory scripts/mkdep.c:2: stdlib.h: No such file or directory scripts/mkdep.c:4: string.h: No such file or directory scripts/mkdep.c:5: sys/types.h: No such file or directory scripts/mkdep.c:6: sys/stat.h: No such file or directory scripts/mkdep.c:7: unistd.h: No such file or directory scripts/mkdep.c:8: sys/fcntl.h: No such file or directory scripts/mkdep.c:9: sys/mman.h: No such file or directory make: *** [scripts/mkdep] Error 1 [root@localhost linux]# Any help greatly appreciated. Thanks in advance Johnj...........
Technical Details
Message-ID:
<368f718d.161489589@news.zipworld.com.au>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 102983,246168977bddc0ce,start X-Google-Attributes: gid102983,public From: JohnJ@Raptor.com.au (John Jackson) Subject: Error compiling new kernel Date: 1999/01/03 Message-ID: <368f718d.161489589@news.zipworld.com.au> X-Deja-AN: 428287319 Organization: The Zipsters Newsgroups: aus.computers.linux