Return-Path: Received: from server.indiadomain.com (server.indiadomain.com [69.50.220.104]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 00E65DDDEC for ; Tue, 16 Sep 2008 21:45:37 +1000 (EST) Received: from [122.169.152.62] (helo=venkatakrishna) by server.indiadomain.com with esmtpa (Exim 4.69) (envelope-from ) id 1KfYzo-00040A-2B for linuxppc-embedded@ozlabs.org; Tue, 16 Sep 2008 04:45:32 -0700 From: "VenkataKrishna" To: Subject: module compilation linux Date: Tue, 16 Sep 2008 17:13:12 +0530 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0000_01C9181F.863B8430" Message-Id: <20080916114538.00E65DDDEC@ozlabs.org> 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_0000_01C9181F.863B8430 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit I compiled modules in ELDK 4.0 installed in Linux. I got the configure error in show in the below. How to solve that. What are configure values should need compile MPC8260 freescale device driver in linux. [root@VenkaKrisha linux-2.6-denx]# make ARCH=PowerPC CROSS_COMPILE=ppc_82xx- modules :0: error: -m64 not supported in this configuration :0: error: -m64 not supported in this configuration /opt/eldk/usr/src/linux-2.6-denx/scripts/gcc-version.sh: line 31: printf: #: invalid number/opt/eldk/usr/src/linux-2.6-denx/scripts/gcc-version.sh: line 31: printf: #: invalid number/bin/sh: line 1: [: too many arguments scripts/kconfig/conf -s arch/powerpc/Kconfig * * Restart config... * * * Linux Kernel Configuration * 64-bit kernel (PPC64) [N/y/?] (NEW) With Regards Venkatakrishna Pari ------=_NextPart_000_0000_01C9181F.863B8430 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

 

I compiled modules in ELDK 4.0 installed in Linux. I = got the  configure error in show in the below. How to solve that. What are = configure values should need compile MPC8260 freescale device driver in = linux.

 

[root@VenkaKrisha linux-2.6-denx]# make ARCH=3DPowerPC CROSS_COMPILE=3Dppc_82xx- modules

:0: error: -m64 not supported in this = configuration

:0: error: -m64 not supported in this = configuration

/opt/eldk/usr/src/linux-2.6-denx/scripts/gcc-version.sh: line = 31: printf: #: invalid = number/opt/eldk/usr/src/linux-2.6-denx/scripts/gcc-version.sh: line 31: printf: #: invalid number/bin/sh: line 1: [: too many = arguments

scripts/kconfig/conf -s = arch/powerpc/Kconfig

*

* Restart config...

*

*

* Linux Kernel Configuration

*

64-bit kernel (PPC64) [N/y/?] (NEW)

 

 

With Regards

 

Venkatakrishna Pari

------=_NextPart_000_0000_01C9181F.863B8430--