Errors when compiling kernel 2.6.23, cdrom.o and drivers/block/built-in.o
I am compiling a kernel (2.6.23) for the first time. I do the make menuconfig, and then make. The first time it compiled for quite awhile but then hung on
CC drivers/cdrom/cdrom.o I restarted the system and now the compile aborts early after a message, dsndomainname: applet not found LS drivers/block/built-in.o drivers/block/ub.o: file not recognized: File truncated make[2]: *** [drivers/block/built-in.o] Error 1 make[1]: *** [drivers/block] Error 2 make: *** [drivers] Error 2 Does anyone have knowledge about these errors? |
The .o and .ko files are left over from the build that got hozed. You will need to run "make clean" to remove those files before you try to re-build the kernel. You may need to run "make mrproper" or some other distro specific command if you still have junk laying around causing build errors. If you are using modules, be sure to build those as well. I would suggest doing some distro specific research, there are lots of things that can go wrong or you could miss.
I haven't built my own kernel in at least five years but I remember it taking quite a long time for the build to complete. On my old PIII, I would run 'make' and go on vacation for a few days (j/k). For more info see this site on kernel hacking - http://kernelnewbies.org/KernelHacking |
What os are you compiling for as the kernel that you are compiling is quite old.
|
Thanks, bentb. I used make mrproper and got it to work.
Eddy1, not sure what you mean. It is Linux, 2.6.23, as stated above. It is a specially modified kernel provided by my PC104 board supplier to run my SVGAlib graphics. I don't have the option or need of updating. My only problem is the interrupt frequency needs to be set to 250 Hz instead of 100. |
All times are GMT -5. The time now is 07:21 AM. |