I'm running Redhat5.1 with kernel 2.0.34. Everything seems to be working
OK but it seems every new *.rpm install gives a failed dependancy. I
thought a kernel upgrade was in order. I downloaded linux-2.0.36.tar.gz
to /usr/src. I deleted the old linux source directory and extracted the
new. I now have a /usr/src/linux directory full of subdirectories and
magical stuff. I read the README and it said I needed gcc-2.6.3 so I
downloaded the rpm and installed it. I did the 'make mrproper'. I am
logged on as root. Running 'make xconfig' gives the following:
#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
I get several more lines similar to the last and then the bash prompt. I
do have an 'include' directory with a subdirectory asm-i386. There is no
stdio.h file in it. My soundblaster16pnp card works with the sndconfig
text-menu thingy; I hear Linus pronounce Linux though I haven't heard a
sound since.
Does anyone know my next step?
When I do get the 'make xconfig' to finish, am I right in thinking my
next steps will be
make dep
make clean
make modules
make modules_install
make zImage
make zlilo
reboot
Any help greatly appreciated. Posts or emails will be fine.
***UPDATE***
I went back at it. Typed 'make xconfig' which did not start a GUI but
gave the command line version (? I am in xwindows, make menuconfig did
the same). I answered y or n to the questions, some of which were beyond
me so I left the default. When it came to sound support I said no and
make continued on to the finish:
"The linux kernel is now hopefully configured for your setup.."
I read the Makefile and nothing really stood out although I'm not sure
what i should be looking for so I made no changes. Then:
#make dep
gcc -I/usr/src/linux/include -02 -fomit-frame-pointer -0 scripts /mkdep
scripts/mkdep.c
scripts/makedep.c : 1 : stdio.h : No such file or directory.
(more lines like this)
make: ***[scripts/mkdep] Error 1
Still hoping someone out there can tell me what I'm doing wrong. I'd
really like to have sound support too.
Should I upgrade from kernel 2.0.34 to 2.0.35 and then to 2.0.36? The
rpm upgrade to 2.0.35 on the cd gives a dependancy error ststing it
needs 2.0.34 which I am currently running.