From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from qnap.com.tw (unknown [211.75.85.27]) by ozlabs.org (Postfix) with SMTP id B467868541 for ; Tue, 11 Oct 2005 22:52:45 +1000 (EST) From: "JohnsonCheng" To: "linux-ppc-embedded" Date: Tue, 11 Oct 2005 20:52:29 +0800 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_009F_01C5CEA5.B29A9CD0" Message-Id: <20051011125245.B467868541@ozlabs.org> Subject: make modules failed. List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , This is a multi-part message in MIME format. ------=_NextPart_000_009F_01C5CEA5.B29A9CD0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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 ------=_NextPart_000_009F_01C5CEA5.B29A9CD0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

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

 

[root]# make ARCH=3Dppc = CROSS_COMPILE=3Dpowerpc-linux- INSTALL_MOD_PATH=3D/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

------=_NextPart_000_009F_01C5CEA5.B29A9CD0--