LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 01-11-2004, 10:01 AM   #1
UpChuck
LQ Newbie
 
Registered: Jan 2004
Posts: 2

Rep: Reputation: 0
Question Compile Error- /lib/modules/extra/modules.dep


I'm working on building a Media Server PC based on KnoppMyth (Knoppix) and MythTV. I'm trying to upgrade the Kernel from 2.4.21 to 2.4.22 in order to be able to turn off local APIC and its conflict with my nVidia chipset.

I get through what seems like most of the compile, but end up with the following error message. The compile runs for about 7-8 minutes on my Athlon 2500+ before returning this message:

Quote:
depmod: Can't open /usr/src/linux/debian/tmp-image/lib/modules/extra/modules.dep for writing
make[2]: *** [_modinst_post] Error 255
make[2] Leaving directory '/usr/src/kernel-source-2.4.22'
make[1]: *** [real_stamp_image] Error 2
make[1]: Leaving directory'/usr/src/kernel-source-2.4.22'
make: *** [kernel-image-deb] Error 2
Any idea what might be causing this error and how I might fix it? How can I get a log file of the compile so I can track down what might be happening?

Thanks for your help!

 
Old 01-11-2004, 11:14 AM   #2
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
This might not be the answer, but are you compiling as root or user? If you have this directory /usr/src/linux/debian/tmp-image/lib/modules/extra/modules.dep then perhaps the problem is the permissions. A normal user wouldn't have permissions to write under /usr.
 
Old 01-11-2004, 11:20 AM   #3
UpChuck
LQ Newbie
 
Registered: Jan 2004
Posts: 2

Original Poster
Rep: Reputation: 0
I made myself a member of the SRC directory but still had no success. I even compiled as Root, but again, no success.

Thanks.
 
  


Reply


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
modprobe: FATAL: Could not load /lib/modules/.../modules.dep Ankardo Debian 9 02-01-2011 06:09 PM
/lib/modules/2.6.8/modules.dep not found killer_bunny Debian 1 10-17-2004 11:06 PM
FATAL: could not load /lib/modules/2.6.1/modules.dep Fr33B33R Slackware 3 01-12-2004 06:40 AM
/etc/conf.modules is more recent than /lib/module/2.2.15-4mdk/modules.dep Derek-kun Linux - Newbie 3 09-26-2003 03:56 AM
Slack9 - no PPP (can't open dependencies file /lib/modules/2.4.18/modules.dep) bluehz Slackware 1 05-04-2003 03:32 PM


All times are GMT -5. The time now is 02:09 AM.

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