Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 12-04-2008, 02:53 AM   #1
Registered: Nov 2008
Posts: 180

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

cd /lib/modules/; \
mkdir -p pcmcia; \
find kernel -path '*/pcmcia/*' -name '*.o' | xargs -i -r ln -sf ../{} pcmcia
if [ -r ]; then /sbin/depmod -ae -F; 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

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


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

All times are GMT -5. The time now is 08:23 PM.

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