Click to See Complete Forum and Search --> : Can't make bzImage????


hndpaul
02-06-2001, 12:56 PM
Hi there all- I hope I've got this one in the right place..otherwise, accept my apologies before we start :o

I recently tried to upgrade my kernel on my Mandrake 7.2 box to 2.4 final. I copied the tar.gz file from a CD to my /usr/src area, and renamed my existing Linux directory to linux.old before unpacking the new kernel files. ONce unpacked and after using the tar -xvf command, I changed to the new linux directory and typed:

make xmenuconfig

Then I proceeded to switch on all the stuff I wanted in the kernel etc etc. I saved that, came out and did the:

make dep && make bzImage && make modules && make modules_install

Make dep works fine- no errors; however the whole process stops with make bzImage and the error that the file:

errno.h

couldn't be found! I checked the "bits" directory where it said it "couldn't be found", and it's there! Am I missing something here? Is this a known bug or is my Mandrake system finsished and ready for Debian :confused:

Any help/advice on this one would go a long way! I appreciate it greatly.

Paul, UK

pbharris
02-06-2001, 01:45 PM
hi paul,
i needed to install a couple of links from /usr/include to /usr/src/linux. i can't rememer them off 5the top of my head, if you want to email me at home i can send you the ones whcih worked for me.

are you ready for debian? absolutly! although i had the identical problem with debian (and slackware...) so i don't think it is a distro specific issue.

hndpaul
02-06-2001, 03:14 PM
Hi!

Thanks for the offer of help, but guess what? I got it installed!! Here's how I did it:

at mv linux linux2.4
ln -s linux2.4 linux
cd linux
make xconfig
exit & save
make dep && make CLEAN && make bzImage && make modules && make install && make modules_install

Then I sorted Grub out through DrakConf, and rebooted through the new 2.4 kernel! I think that the problem may have been something to do with linking to the new file and the MAKE CLEAN part, which are the only things I was missing out before :confused:

Anyway, it booted with 2.4, and everything seems fine. Now all I need is LinDVD!!!

Paul, UK :D