LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 12-04-2008, 03:53 AM   #1
jiobo
Member
 
Registered: Nov 2008
Posts: 180

Rep: Reputation: 36
Version requires old depmod, but couldn't run /sbin/depmod.old: No such file or dir


Quote:
cd /lib/modules/2.4.36.9; \
mkdir -p pcmcia; \
find kernel -path '*/pcmcia/*' -name '*.o' | xargs -i -r ln -sf ../{} pcmcia
if [ -r System.map ]; then /sbin/depmod -ae -F System.map 2.4.36.9; fi
Version requires old depmod, but couldn't run /sbin/depmod.old: No such file or directory
make: *** [_modinst_post] Error 2
This error was preventing me from building some modules that were needed. There is a workaround for this error, so that in case you get this error then you can use this solution too. This is what I did, I copied the /sbin/depmod to /sbin/depmod.old, and then re-ran make, and it worked.

# which depmod
/sbin/depmod

# cp /sbin/depmod /sbin/depmod.old
# make
 
  


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
depmod -a error paradox101 Linux - Software 2 06-21-2006 09:22 AM
lsmod and depmod hyperriven Linux - Software 2 10-17-2004 01:18 AM
Help! depmod Mike-BB Linux - Software 7 08-11-2004 07:36 AM
How to run 'depmod -all' during boot or login? pete_bogg Linux - General 1 10-03-2003 01:44 AM
iptables depmod not an elf file? ForumKid Linux - General 1 09-27-2003 07:39 AM


All times are GMT -5. The time now is 05:40 PM.

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