RSS feed logo RSS Feed | About Pantz.org
Fixing a few kernel compile errors in Fedora 1
Posted on 07-22-2005 19:35:00 EST | Updated on 07-22-2005 19:35:00 EST
Section: /software/linux/ | Permanent Link

I had to compile a 2.4 linux kernel on Redhat Fedora Core 1. I did the "make mrproper" then "make menuconfig" and picked my options. After then the usual "make bzImage" then "make modules". This is where the weird errors started. The modules compile failed with errors like "_mod_drivers" "error 2" function declaration problems and such.I finally found out that what I had to do was save the .config file I made with "make menuconfig" then "make mrproper" then copy the .config file back to the /usr/src/linux-2.4 dir. The next command should be "make oldconfig" then "make deps && make bzImage && make modules && make modules install".

Del.icio.us! | Digg Me! | Reddit!

Related stories