Skip to contentSkip to conversation

depmod.pl fails with "base directory does not match" (2_4_devel)

DISCUSSION Peter Gehirnforce 2 participants 2 messages May 25, 2005

lore
Share & tools
lore
#0 lore raw

Hi all,

since now I used modules compiled into the kernel for ppc_6xx. for debugging I'd like to use dynamic loading, but when doing:
make modules_install
the depmod.pl fails with "base directory does not match ..../lib/modules" As far as I could find out, the modules get copied to the base /lib path, even with $PATH and $CROSS_COMPILE set correctly (I used compiled modules successfully).
Whats wrong with my attempt? is there some cross-compile tool to do the job of depmod.pl?

GM

Signature · 2 lines
5 GB Mailbox, 50 FreeSMS http://www.gmx.net/de/go/promail
+++ GMX - die erste Adresse für Mail, Message, More +++
#1 lore raw

Use something like the following:

make INSTALL_MOD_PATH=/opt/eldk/ppc_6xx modules_install

Where /opt/eldk/ppc_6xx should be replaced with the base of your target root filesystem.

Alex

Quoted 21 lines · On Wed, 25 May 2005 13:59:08 +0200 (MEST) "Peter Gehirnforce"…

Hi all,

since now I used modules compiled into the kernel for ppc_6xx. for debugging I'd like to use dynamic loading, but when doing:
make modules_install
the depmod.pl fails with "base directory does not match ..../lib/modules" As far as I could find out, the modules get copied to the base /lib path, even with $PATH and $CROSS_COMPILE set correctly (I used compiled modules successfully).
Whats wrong with my attempt? is there some cross-compile tool to do the job of depmod.pl?

GM

Signature · 6 lines
5 GB Mailbox, 50 FreeSMS http://www.gmx.net/de/go/promail
+++ GMX - die erste Adresse f_r Mail, Message, More +++
_______________________________________________
Linuxppc-embedded mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded