Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 08-26-2011, 10:35 AM   #1
LQ Newbie
Registered: Jun 2011
Posts: 11

Rep: Reputation: Disabled
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?
Old 08-26-2011, 03:01 PM   #2
LQ Newbie
Registered: May 2011
Location: In a brewery
Distribution: Ubuntu 11.04 & 10.04, CentOS 6, Fedora 15
Posts: 20

Rep: Reputation: Disabled
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 -
Old 08-26-2011, 03:22 PM   #3
LQ Addict
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
What os are you compiling for as the kernel that you are compiling is quite old.
Old 08-26-2011, 03:56 PM   #4
LQ Newbie
Registered: Jun 2011
Posts: 11

Original Poster
Rep: Reputation: Disabled
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Broadcom drivers. Errors when compiling DiBosco Linux - Software 5 09-15-2010 01:17 PM
Compiling a previously built kernel dizzi Slackware 13 09-25-2007 01:59 AM
unknown-block(3.6) when compiling 2.6 kernel in Slack 11 shubb Slackware 24 12-04-2006 06:37 AM
Errors compiling Highpoint drivers from source under Fedora... The Belgain Linux - Hardware 0 12-01-2004 05:53 PM
How to built-in a driver when compiling the kernel 7helix Linux - Software 9 06-18-2004 02:17 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:04 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration