make xconfig

Hi. I reinstalled linux redhat 6.0 on my computer and decided to configurate the kernel. I received an error message... Here it is:
[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
make[1]: Entering directory `/usr/src/linux-2.2.5/scripts'
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -c -o tkparse.o tkparse.c
tkparse.c:37: stdio.h: No such file or directory
tkparse.c:38: stdlib.h: No such file or directory
tkparse.c:39: string.h: No such file or directory
make[1]: *** [tkparse.o] Error 1
make[1]: Leaving directory `/usr/src/linux-2.2.5/scripts'
make: *** [xconfig] Error 2
[root@localhost linux]#

I really don't know what tkparse standa for... I thought in the beginning that it was Tk which was missing but it isn't. Ireinstalled the source and headers but with no further results. The first time I installed Linux, I had exactly the same problem. I posted a question but couldn't find an answer. When I reinstalled linux for the 2 time, suddendly, everything worked fine except on little thing. I entered make zImage and the file was too big so I had to enter make bzImage but I forgot to reenter make dep. Every time I wanted to enter linux, when it looked for the modules dependencies, it blocked. Anyway, the problem is tkparse... What can I do? Please help me fix linux so that I can, FINALLY, make it work correctly...
Thanks in advance

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

I suggest that you get the orginal tarbal
of the 2.2.x kernel you want from
alex_daggerAuthor Commented:
I don't get it... There must be a solution since I've made it once. Oh, when I write make meuconfig instead of tkparse I get dialog something...
SkAtAn, what's tarbal???

it's a tar file
the kernel is compressed with bz2 and
archived with tar : tar.bz2
Newly released Acronis True Image 2019

In announcing the release of the 15th Anniversary Edition of Acronis True Image 2019, the company revealed that its artificial intelligence-based anti-ransomware technology – stopped more than 200,000 ransomware attacks on 150,000 customers last year.

alex_daggerAuthor Commented:
I found the solution. glibc-devel was missing. I had some other problems but I finally made it. Now I have an enormous one...
So that I get an answer as soon as possible, I'll tell you exactly what did.

went to /usr/src/linux
make xconfig
make dep
make clean
make bzImage
make modules
make modules_install
cd ../../../
cp /usr/src/linux/arch/i386/boot/bzImage /boot/vmlinuz-new

Now I made the necessary changes to lilo:
label = linuxnew
image = /boot/vmlinuz-new
root = /dev/hda6

So the problem isn't here. I'm almost positive... Everything is correct, I reboot.
At lilo prompt I enter 'linuxnew'. It starts. When I see the message 'Finding module dependencies', I wait a little bit but no [   OK   ] message appears. It's completely blocked... In yahoo chat, they told me to copy /usr/src/linux/ and paste it to /boot/ overwriting the old one. I did it. Didn't solve the problem. I'me positive that after the compilation I entered make modules and make modules_install. I did all the compilation from the beginning, didn't help. In lilo.conf, I changed:
map = /boot/map
map = /boot/
didn't help.
That's the second time I had this problem. Last time I overwrited the "old" kernel and I then realized that I had to reinstall evetything. Not even the startup disk could enter me in linux.
I have RedHat 6.0.
So finally, why does the computer blocks like that. I looked for 10 hours to find a solution and I didn't make it, so please understand me if I look a little bit irritated. I would appreciate your help.

do a 'make bzlilo' instead of 'make bzImage'... this will install thew new kernel AND it's map file in the proper locations...
btw, You'll want a section in /etc/lilo.conf which looks like
# Linux bootable partition config begins
image = /boot/vmlinuz.old
root = /dev/sda1
label = Alt
# Linux bootable partition config ends

replace root=/dev/sda1 with your root device and /boot/ with the location your kernel is located...

this will give you the opportunity to boot into the last kernel before the recompile, in case You build a very bad kernel...

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
alex_daggerAuthor Commented:
I'll take a look but I think the problem is with REDHAT 6.0 that's why I'm going to take the new one 6.1. Anyway, I'll try this.

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.