make modules failed.

From: JohnsonCheng <hidden>
Date: 2005-10-11 12:52:45

When I install linux2.6 modules on powerpc, it's failed as following:

 

[root]# make ARCH=ppc CROSS_COMPILE=powerpc-linux-
INSTALL_MOD_PATH=/opt/cross-project/images/modules-2.6.12.3 modules

  INSTALL drivers/net/bonding/bonding.ko

  INSTALL drivers/usb/serial/usbserial.ko

  INSTALL drivers/usb/serial/visor.ko

  INSTALL fs/binfmt_misc.ko

  INSTALL fs/udf/udf.ko

  INSTALL lib/crc-ccitt.ko

if [ -r System.map -a -x /sbin/depmod ]; then /sbin/depmod -ae -F System.map
-b

/opt/cross-project/TS-101/images/modules-2.6.12.3 -r 2.6.12.3; fi

make: *** [_modinst_post] Error 139

[root]#

 

It seems that I can't use /sbin/depmod, because it's for x86. I am not sure.

How to fix it?

 

Thanks,

Johnson Cheng
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help