kernel compiling problem

Kevin Buettner kev@primenet.com
Tue, 18 Jul 2000 19:42:22 -0700


On Jul 18,  6:29pm, harmston wrote:

> I am new to linux and want to recompile the kernel to support my
> sound card but when I type make xconfig I get the following
> [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'
> gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -c -o tkparse.o tkparse.c
> tkparse.c:48: stdio.h: No such file or directory
> tkparse.c:49: stdlib.h: No such file or directory
> tkparse.c:50: string.h: No such file or directory
> make[1]: *** [tkparse.o] Error 1
> make[1]: Leaving directory `/usr/src/linux/scripts'
> make: *** [xconfig] Error 2
> [root@localhost linux]#   
> 
> What can I do to fix this problem 
> 
> I am running mandrake linux 7.1

You need to populate your /usr/include hierarchy.

I think you want to install the appropriate glibc-devel-* RPM.  (On
my Red Hat 6.2 box, it's glibc-devel-2.1.3-15.  The number is different,
but the name is probably similar on Mandrake.

Kevin