make modules failed.

JohnsonCheng JohnsonCheng at qnap.com.tw
Tue Oct 11 22:52:29 EST 2005


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20051011/2cdbd9c8/attachment.htm 


More information about the Linuxppc-embedded mailing list