James Ham
2008-06-19 23:18:01 UTC
Hello,
I'm trying to cross-compile from debian lenny (2.6.24-1-486) to an arcom viper (arm) using 2.6.11.11-arcom3. I run config as follows:
make config CROSS_COMPILE=arm-linux-
then
make
All goes well until make switches to the linux source tree:
make[3]: Entering directory `/usr/src/linux-source-2.6.11.11-arcom3'
CC [M] /usr/src/linux-wlan-ng-0.2.9/src/p80211/p80211mod.o
cc1: error: invalid option `preferred-stack-boundary=2'
cc1: error: unrecognized command line option "-Wno-pointer-sign"
make[4]: *** [/usr/src/linux-wlan-ng-0.2.9/src/p80211/p80211mod.o] Error 1
make[3]: *** [_module_/usr/src/linux-wlan-ng-0.2.9/src/p80211] Error 2
make[3]: Leaving directory `/usr/src/linux-source-2.6.11.11-arcom3'
make[2]: *** [default] Error 2
make[2]: Leaving directory `/usr/src/linux-wlan-ng-0.2.9/src/p80211'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/linux-wlan-ng-0.2.9/src'
make: *** [all] Error 2
I've made a kernel for the target arm machine in this tree, so some of it works at least.
The cross compiler "arm-linux-gcc" is version 3.4.4
I've attached "config.in" and "config.out". Any ideas?
Regards,
Jim Ham
I'm trying to cross-compile from debian lenny (2.6.24-1-486) to an arcom viper (arm) using 2.6.11.11-arcom3. I run config as follows:
make config CROSS_COMPILE=arm-linux-
then
make
All goes well until make switches to the linux source tree:
make[3]: Entering directory `/usr/src/linux-source-2.6.11.11-arcom3'
CC [M] /usr/src/linux-wlan-ng-0.2.9/src/p80211/p80211mod.o
cc1: error: invalid option `preferred-stack-boundary=2'
cc1: error: unrecognized command line option "-Wno-pointer-sign"
make[4]: *** [/usr/src/linux-wlan-ng-0.2.9/src/p80211/p80211mod.o] Error 1
make[3]: *** [_module_/usr/src/linux-wlan-ng-0.2.9/src/p80211] Error 2
make[3]: Leaving directory `/usr/src/linux-source-2.6.11.11-arcom3'
make[2]: *** [default] Error 2
make[2]: Leaving directory `/usr/src/linux-wlan-ng-0.2.9/src/p80211'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/linux-wlan-ng-0.2.9/src'
make: *** [all] Error 2
I've made a kernel for the target arm machine in this tree, so some of it works at least.
The cross compiler "arm-linux-gcc" is version 3.4.4
I've attached "config.in" and "config.out". Any ideas?
Regards,
Jim Ham
--
James Ham <***@porcine.com>
James Ham <***@porcine.com>