[Avila] Madwifi
Support
Support at powernoc.net
Mon Jun 19 05:05:30 EDT 2006
Is anyone else having an isssue compiling madwifi r1645 with the
snapgear 3.3.0 toolchain?
Is it possible to fix this or will i have to figure out another method
to link this?
does anyone have a toolchain they want to share if its working for you..
thanks
aliosa27:/powernoc/madwifi-ng-r1645-20060615# make
KERNELPATH=/root/snapgear/linux-2.6.x/ TARGET=xscale-be-elf
TOOLPREFIX=/usr/local/bin/arm-linux- DESTDIR=/root/snapgear/romfs/ ARCH=arm
Checking requirements... ok.
Checking kernel configuration... ok.
make -C /root/snapgear/linux-2.6.x/
SUBDIRS=/powernoc/madwifi-ng-r1645-20060615 modules
make[1]: Entering directory `/root/snapgear/linux-2.6.x'
CC [M] /powernoc/madwifi-ng-r1645-20060615/ath/ah_osdep.o
cc1: error: invalid option `abi=apcs-gnu'
make[3]: *** [/powernoc/madwifi-ng-r1645-20060615/ath/ah_osdep.o] Error 1
make[2]: *** [/powernoc/madwifi-ng-r1645-20060615/ath] Error 2
make[1]: *** [_module_/powernoc/madwifi-ng-r1645-20060615] Error 2
make[1]: Leaving directory `/root/snapgear/linux-2.6.x'
make: *** [modules] Error 2
aliosa27:/powernoc/madwifi-ng-r1645-20060615#
Loft wrote:
> Loft wrote:
>> Chris Lang wrote:
>>
>> Thanks for the up-to-the-second update with revision number! That's
>> good to know.
>>
>> Anyone wanting to build previous versions of madwifi-ng with a later
>> gcc that barfs on the -mshort-load-bytes can just edit/sed that to
>> -malignment-traps.
>>
> Ok 5:31 AM is still a little early on the East Coast.
>
> That's in the file hal/public/xscale-le-elf.inc or xscale-be-elf.inc
> if building Big Endian.
>
>> Cheers,
>>
>> Tom
>>
>>
>>> You are right in seeing that the option "-short-load-bytes" is
>>> decprecated, however it has not been removed from the makefile by
>>> madwifi until today. My suggestion would be to either use the
>>> madwifi from the BSP or if you would like to build the bleeding edge
>>> version use the latest revision witch is r1644 which was just fixed
>>> today in the morning.
>>>
>>> Thanks,
>>> Chris L
>>>
>>>
>>> ----- Original Message ----- From: "Support" <Support at powernoc.net>
>>> To: "Avila" <avila at lists.unixstudios.net>
>>> Sent: Tuesday, June 13, 2006 10:52 AM
>>> Subject: [Avila] Madwifi
>>>
>>>
>>>> Hi list,
>>>> If any of you are using madwifi for the Avila boards.. What version
>>>> of gcc are you using to compile it for arm. I have ran into this
>>>> error..
>>>>
>>>> cc1: error: invalid option `short-load-bytes'
>>>>
>>>> I googled it and found that it was depreciated...but still
>>>>
>>>> aliosa27:/powernoc/madwifi-ng-r1526-20060424/madwifi-ng-r1526-20060424#
>>>> make KERNELPATH=/root/snapgear/linux-2.6.x/ CC=arm-linux-gcc
>>>> Checking requirements... ok.
>>>> Checking kernel configuration... ok.
>>>> if [ -d .svn ]; then \
>>>> ver=`svnversion -nc . | sed -e 's/^[^:]*://;s/[A-Za-z]//'`; \
>>>> elif [ -s SNAPSHOT ]; then \
>>>> ver=`sed -e '/^Revision: */!d;s///;q' SNAPSHOT`; \
>>>> else \
>>>> ver=`date +%F`; \
>>>> fi; \
>>>> echo "#define SVNVERSION \"$ver\"" > svnversion.h
>>>> mkdir -p ./symbols
>>>> for i in ./ath_hal ./net80211 ath_rate/sample ./ath; do \
>>>> make -C $i || exit 1; \
>>>> done
>>>> make[1]: Entering directory
>>>> `/powernoc/madwifi-ng-r1526-20060424/madwifi-ng-r152
>>>> 6-20060424/ath_hal'
>>>> make -C /root/snapgear/linux-2.6.x/
>>>> SUBDIRS=/powernoc/madwifi-ng-r1526-20060424/
>>>> madwifi-ng-r1526-20060424/ath_hal
>>>> MODVERDIR=/powernoc/madwifi-ng-r1526-20060424/
>>>> madwifi-ng-r1526-20060424/ath_hal/../symbols modules
>>>> make[2]: Entering directory `/root/snapgear/linux-2.6.x'
>>>> CC [M]
>>>> /powernoc/madwifi-ng-r1526-20060424/madwifi-ng-r1526-20060424/ath_hal/
>>>> ah_osdep.o
>>>> cc1: error: invalid option `short-load-bytes'
>>>> make[3]: ***
>>>> [/powernoc/madwifi-ng-r1526-20060424/madwifi-ng-r1526-20060424/ath_
>>>> hal/ah_osdep.o] Error 1
>>>> make[2]: ***
>>>> [_module_/powernoc/madwifi-ng-r1526-20060424/madwifi-ng-r1526-20060
>>>> 424/ath_hal] Error 2
>>>> make[2]: Leaving directory `/root/snapgear/linux-2.6.x'
>>>> make[1]: *** [all] Error 2
>>>> make[1]: Leaving directory
>>>> `/powernoc/madwifi-ng-r1526-20060424/madwifi-ng-r1526
>>>> -20060424/ath_hal'
>>>> make: *** [modules] Error 1
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: avila-unsubscribe at lists.unixstudios.net
>>>> For additional commands, e-mail: avila-help at lists.unixstudios.net
>>>>
>>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: avila-unsubscribe at lists.unixstudios.net
>>> For additional commands, e-mail: avila-help at lists.unixstudios.net
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: avila-unsubscribe at lists.unixstudios.net
>> For additional commands, e-mail: avila-help at lists.unixstudios.net
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: avila-unsubscribe at lists.unixstudios.net
> For additional commands, e-mail: avila-help at lists.unixstudios.net
More information about the Avila
mailing list