🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: aus.computers.linux
Article #47734

Re: Error compiling new kernel

#47734
From: darrin hodges
Date: Mon, 04 Jan 1999 00:00
64 lines
3336 bytes
John Jackson wrote:
> 
> 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...........
those header files are standard 'C' include files, they should exist in
/usr/local, not inside the linux source tree.


darrin
Technical Details
Message-ID: <36902059.B6250DFB@qmi.com.au>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <368f718d.161489589@news.zipworld.com.au>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 102983,246168977bddc0ce
X-Google-Attributes: gid102983,public
From: darrin hodges <darrin.hodges@qmi.com.au>
Subject: Re: Error compiling new kernel
Date: 1999/01/04
Message-ID: <36902059.B6250DFB@qmi.com.au>
X-Deja-AN: 428483793
Content-Transfer-Encoding: 7bit
References: <368f718d.161489589@news.zipworld.com.au>
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
X-Complaints-To: abuse@telstra.net
X-Trace: nsw.nnrp.telstra.net 915414789 203.35.192.130 (Mon, 04 Jan 1999 12:53:09 EST)
Organization: QM Industries
MIME-Version: 1.0
NNTP-Posting-Date: Mon, 04 Jan 1999 12:53:09 EST
Newsgroups: aus.computers.linux