Skip to contentSkip to conversation

module compilation linux

DISCUSSION VenkataKrishna 2 participants 2 messages Sep 16, 2008

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw

Try ARCH=powerpc (lowercase).

Regards.

VenkataKrishna ha scritto:

Quoted 54 lines

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

------------------------------------------------------------------------

_______________________________________________
Linuxppc-embedded mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded

Signature · 7 lines
Marco Stornelli
Embedded Software Engineer
CoRiTeL - Consorzio di Ricerca sulle Telecomunicazioni
http://www.coritel.it

[email protected]
+39 06 72582838