Modify

Opened 8 years ago

Closed 8 years ago

#3952 closed defect (fixed)

madwifi 0.9.4 does not compile for 47xx

Reported by: KanjiMonster Owned by: developers
Priority: normal Milestone:
Component: packages Version:
Keywords: Cc:

Description

Madwifi 0.9.4 does not compile with revision 12442:

Buildlog:

xxx@shaker:~/openwrt/trunk$ make package/madwifi/compile V=99
make[1]: Entering directory `/home/xxx/openwrt/trunk'
make[2]: Entering directory `/home/xxx/openwrt/trunk/package/wireless-tools'
WARNING: skipping libiw -- package not selected
make[2]: Leaving directory `/home/xxx/openwrt/trunk/package/wireless-tools'
make[2]: Entering directory `/home/xxx/openwrt/trunk/package/madwifi'
gzip -dc /home/xxx/openwrt/trunk/dl/madwifi-0.9.4.tar.gz | /bin/tar -C /home/xxx/openwrt/trunk/build_dir/linux-brcm47xx/madwifi-0.9.4/.. -xf -

Applying ./patches-upstream/104-autocreate_none.patch using plaintext:
patching file ath/if_ath.c

Applying ./patches-upstream/111-minstrel_crash.patch using plaintext:
patching file ath_rate/minstrel/minstrel.c
# patch cflags
/home/xxx/openwrt/trunk/staging_dir/host/bin/sed -i -e 's, -E[LB],,' -e 's, -mips2,,' -e 's, -mapcs-32,,' /home/xxx/openwrt/trunk/build_dir/linux-brcm47xx/madwifi-0.9.4/hal/public/*.inc
/home/xxx/openwrt/trunk/staging_dir/host/bin/sed -i -e 's,march=armv4,march=armv5te,' /home/xxx/openwrt/trunk/build_dir/linux-brcm47xx/madwifi-0.9.4/hal/public/xscale*.inc
touch /home/xxx/openwrt/trunk/build_dir/linux-brcm47xx/madwifi-0.9.4/.prepared_bcb2c08bdd8400b9fdb8b8daf9915b90
/home/xxx/openwrt/trunk/staging_dir/host/bin/sed -i -e 's,-E[LB] ,,g' /home/xxx/openwrt/trunk/build_dir/linux-brcm47xx/madwifi-0.9.4/hal/public/*.inc
touch /home/xxx/openwrt/trunk/build_dir/linux-brcm47xx/madwifi-0.9.4/.configured
COPTS="-DCONFIG_ATHEROS_RATE_DEFAULT='\"minstrel\"' -DATH_REVERSE_ENGINEERING=1"  make -C /home/xxx/openwrt/trunk/build_dir/linux-brcm47xx/madwifi-0.9.4 PATH="/home/xxx/openwrt/trunk/staging_dir/toolchain-mipsel_gcc4.1.2/bin:/home/xxx/openwrt/trunk/staging_dir/host/bin:/home/xxx/openwrt/trunk/staging_dir/mipsel/host/bin:/home/xxx/openwrt/trunk/staging_dir/toolchain-mipsel_gcc4.1.2/bin:/home/xxx/openwrt/trunk/staging_dir/host/bin:/home/xxx/openwrt/trunk/staging_dir/mipsel/host/bin:/usr/local/bin:/usr/bin:/bin:/usr/games" ARCH="mips" CROSS_COMPILE="mipsel-linux-uclibc-" TARGET="mips32-le-elf" TOOLPREFIX="mipsel-linux-uclibc-" TOOLPATH="mipsel-linux-uclibc-" KERNELPATH="/home/xxx/openwrt/trunk/build_dir/linux-brcm47xx/linux-2.6.25.16" LDOPTS="--no-warn-mismatch " ATH_RATE="ath_rate/minstrel" DO_MULTI=1 DEBUG= WARNINGS="-Wno-unused" BUS="PCI" modules
make[3]: Entering directory `/home/xxx/openwrt/trunk/build_dir/linux-brcm47xx/madwifi-0.9.4'
Makefile.inc:159: *** TARGET mips32-le-elf is invalid, valid targets are: alpha-elf ap30 ap43 ap51 ap61 arm9-le-thumb-elf armv4-be-elf armv4-le-elf i386-elf mips-be-elf mips-le-elf mips1-be-elf mips1-le-elf mipsisa32-be-elf mipsisa32-le-elf powerpc-be-eabi powerpc-be-elf powerpc-le-eabi sh4-le-elf sparc-be-elf sparc64-be-elf x86_64-elf xscale-be-elf xscale-le-elf.  Stop.
make[3]: Leaving directory `/home/xxx/openwrt/trunk/build_dir/linux-brcm47xx/madwifi-0.9.4'
make[2]: *** [/home/xxx/openwrt/trunk/build_dir/linux-brcm47xx/madwifi-0.9.4/.built] Error 2
make[2]: Leaving directory `/home/xxx/openwrt/trunk/package/madwifi'
make[1]: *** [package/madwifi/compile] Error 2
make[1]: Leaving directory `/home/xxx/openwrt/trunk'
make: *** [package/madwifi/compile] Error 2

Attachments (0)

Change History (1)

comment:1 Changed 8 years ago by nbd

  • Resolution set to fixed
  • Status changed from new to closed

fixed in r12488

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.