Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

kernel compilation problem 1

Status
Not open for further replies.

Themuppeteer

Programmer
Apr 4, 2001
449
BE
Hello,

as possible solution to my freeze problem of my previous question, I'm gonna try to use the newest kernel 2.4.20 .
I've downloaded it from the net,then I did

make dep
make clean
make bzImage
make install
make modules_install

and make modules_install gives me the following error:

cp: cannot stat 'dummy.o' : No such file or directory
make[2]: *** [_modinst__] Error 1
make[2] Leaving directory '/usr/src/linux-2.4.20/drivers/net'
make[1] *** [_modinst_net] Error 2
make[1] Leaving directory '/usr/src/linux-2.4.20-hydra/drivers'
make: *** [_modinst_drivers] Error 2

Whats going on ? Greetz,
muppeteer.gif

NOSPAM_themuppeteer@hotmail.com (for mails, remove the NOSPAM_)

Don't eat yellow snow...and don't mess with your fstab!
 
These are the steps I used to compile it.
Code:
make mrproper
make xconfig
make dep
make
make modules
make modules_install
make bzImage
//Daniel
 
I'm pretty sure its not the steps that are wrong.
Its how I configure my kernel in make menuconfig (in your case xconfig). I'm experimenting with it now. I found that that 'dummy' was selected as module. So I turned it off and turned some other suff on. Well, the other stuff gives errors now but not the dummy anymore. But I'm working on it.
I think I'll get there now.

Thanks for your reply! Greetz,
muppeteer.gif

NOSPAM_themuppeteer@hotmail.com (for mails, remove the NOSPAM_)

Don't eat yellow snow...and don't mess with your fstab!
 

You're doing the compilation right. There are several kernel options that depend on each other and it's not always clear.

Cheers Henrik Morsing
IBM Certified AIX 4.3 Systems Administration
 
I see no make modules in your post, which is why it wouldn't find the object files... //Daniel
 


Aaahhhhh, Daniel is right on.

WHERE'S ME GLASSES!!!!

Cheers Henrik Morsing
IBM Certified AIX 4.3 Systems Administration
 
Thanks a lot! That was indeed my problem. Don't know how I missed that.. Greetz,
muppeteer.gif

NOSPAM_themuppeteer@hotmail.com (for mails, remove the NOSPAM_)

Don't eat yellow snow...and don't mess with your fstab!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top