The update to the mac80211 package in svn r36470, which update the compat-wireless to 2013-02-22 breaks my AA compile. The error is
net/wireless/nl80211.c: In function 'nl80211_send_wowlan_tcp':
implicit declaration of function 'nla_put_be32'

nla_put_be32 wasn't in the kernel's net/netlink.h until v3.5.x, and because AA uses 3.3.x this function is not yet defined. Full text of the error is attached.

make[1]: Entering directory `/home/bmayland/openwrt-rpi'
make[2]: Entering directory `/home/bmayland/openwrt-rpi/package/toolchain'
WARNING: skipping libssp -- package not selected
WARNING: skipping libstdcpp -- package not selected
WARNING: skipping libgfortran -- package not selected
WARNING: skipping ldd -- package not selected
WARNING: skipping ldconfig -- package not selected
make[2]: Leaving directory `/home/bmayland/openwrt-rpi/package/toolchain'
make[2]: Entering directory `/home/bmayland/openwrt-rpi/package/libnl-tiny'
make[2]: Leaving directory `/home/bmayland/openwrt-rpi/package/libnl-tiny'
make[2]: Entering directory `/home/bmayland/openwrt-rpi/package/iw'
make[2]: Leaving directory `/home/bmayland/openwrt-rpi/package/iw'
make[2]: Entering directory `/home/bmayland/openwrt-rpi/package/mac80211'
WARNING: skipping kmod-adm8211 -- package not selected
rm -rf 
/home/bmayland/openwrt-rpi/build_dir/linux-brcm2708/compat-wireless-2013-02-22/modules
make   -C 
"/home/bmayland/openwrt-rpi/build_dir/linux-brcm2708/compat-wireless-2013-02-22"
 CROSS_COMPILE="arm-openwrt-linux-uclibcgnueabi-" ARCH="arm" 
EXTRA_CFLAGS="-I/home/bmayland/openwrt-rpi/build_dir/linux-brcm2708/compat-wireless-2013-02-22/include
 -DCONFIG_CFG80211_INTERNAL_REGDB=y    -DCONFIG_MAC80211_LEDS 
-DCONFIG_LEDS_TRIGGERS -DCONFIG_B43_LEDS -DCONFIG_B43LEGACY_LEDS 
-DCONFIG_B43_HWRNG -DCONFIG_B43LEGACY_HWRNG    -DCONFIG_CFG80211_DEBUGFS 
-DCONFIG_MAC80211_DEBUGFS -DCONFIG_ATH9K_DEBUGFS -DCONFIG_CARL9170_DEBUGFS 
-DCONFIG_ATH9K_HTC_DEBUGFS -DCONFIG_ATH5K_DEBUG -DCONFIG_MAC80211_MESH  
-D__CONFIG_MAC80211_RC_DEFAULT=minstrel -DCONFIG_MAC80211_RC_MINSTREL_HT        
-DCONFIG_B43_BCMA -DCONFIG_B43_BCMA_EXTRA -DCONFIG_B43_SSB   
-DCONFIG_RT2X00_LIB_HT -DCONFIG_RT2X00_LIB_CRYPTO -DCONFIG_RT2X00_LIB_FIRMWARE 
-DCONFIG_RT2X00_LIB_EEPROM -DCONFIG_RT2X00_LIB_LEDS     -DCONFIG_ATH5K_PCI      
-Wno-undef"  CONFIG_CFG80211_INTERNAL_REGDB=y CONFIG_CFG80211=m 
CONFIG_MAC80211=m CONFIG_MAC80211_RC_MINSTREL=y CONFIG_MAC80211_MESH=y 
CONFIG_MAC80211_LEDS=y CONFIG_CFG80211_DEBUGFS=y CONFIG_MAC80211_DEBUGFS=y 
CONFIG_B43_PCMCIA=n CONFIG_B43_PIO=n CONFIG_B43_PCI_AUTOSELECT= 
CONFIG_B43_PCICORE_AUTOSELECT= CONFIG_B43LEGACY_LEDS=y CONFIG_B43_LEDS=y 
CONFIG_B43_HWRNG= CONFIG_B43LEGACY_HWRNG= CONFIG_B43= CONFIG_B43LEGACY= 
CONFIG_B43_DEBUG= CONFIG_B43_PIO= CONFIG_B43_BCMA_PIO= CONFIG_B43_PHY_N= 
CONFIG_B43_PHY_HT= CONFIG_B43_PHY_LCN= CONFIG_B43_BCMA=y CONFIG_B43_SSB=y 
CONFIG_ATH_CARDS= CONFIG_ATH_COMMON= CONFIG_ATH_DEBUG= CONFIG_ATH9K_PKTLOG= 
CONFIG_ATH5K= CONFIG_ATH5K_PCI=y CONFIG_ATH5K_AHB= CONFIG_ATH5K_DEBUG=y 
CONFIG_ATH9K= CONFIG_ATH9K_PCI= CONFIG_ATH9K_AHB= CONFIG_ATH9K_HTC= 
CONFIG_ATH9K_HTC_DEBUGFS=y CONFIG_ATH9K_HW= CONFIG_ATH9K_COMMON= 
CONFIG_ATH9K_DEBUGFS=y CONFIG_AR5523= CONFIG_WIL6210= CONFIG_CARL9170= 
CONFIG_CARL9170_DEBUGFS=y CONFIG_COMPAT_ZD1211RW= CONFIG_P54_COMMON= 
CONFIG_P54_PCI= CONFIG_P54_USB= CONFIG_P54_SPI= CONFIG_P54_SPI_DEFAULT_EEPROM=n 
CONFIG_RT2X00= CONFIG_RT2X00_LIB= CONFIG_RT2X00_LIB_PCI= CONFIG_RT2X00_LIB_USB= 
CONFIG_RT2X00_LIB_SOC= CONFIG_RT2X00_LIB_DEBUGFS= CONFIG_RT2X00_LIB_CRYPTO=y 
CONFIG_RT2X00_LIB_FIRMWARE=y CONFIG_RT2X00_LIB_EEPROM=y CONFIG_RT2X00_LIB_HT=y 
CONFIG_RT2X00_LIB_LEDS=y CONFIG_RT2400PCI= CONFIG_RT2500PCI= CONFIG_RT2500USB= 
CONFIG_RT61PCI= CONFIG_RT73USB= CONFIG_RT2800_LIB= CONFIG_RT2800PCI= 
CONFIG_RT2800USB= CONFIG_RTL8180= CONFIG_RTL8187= CONFIG_RTL8192CE= 
CONFIG_RTLWIFI= CONFIG_MAC80211_HWSIM= CONFIG_PCMCIA= CONFIG_LIBIPW= 
CONFIG_LIBERTAS= CONFIG_LIBERTAS_CS= CONFIG_LIBERTAS_SPI= 
CONFIG_COMPAT_LIBERTAS_SDIO= CONFIG_LIBERTAS_THINFIRM= CONFIG_LIBERTAS_USB= 
CONFIG_IPW2100= CONFIG_IPW2200= CONFIG_NL80211=y CONFIG_LIB80211= 
CONFIG_LIB80211_CRYPT_WEP= CONFIG_LIB80211_CRYPT_CCMP= 
CONFIG_LIB80211_CRYPT_TKIP= CONFIG_IWLWIFI= CONFIG_IWLEGACY= 
CONFIG_COMPAT_IWL4965= CONFIG_IWL3945= CONFIG_MWL8K= CONFIG_ATMEL= 
CONFIG_PCMCIA_ATMEL= CONFIG_ADM8211= CONFIG_USB_NET_RNDIS_HOST= 
CONFIG_USB_NET_RNDIS_WLAN= CONFIG_USB_NET_CDCETHER= CONFIG_USB_USBNET= 
CONFIG_AT76C50X_USB= CONFIG_WL_TI= CONFIG_WLCORE= CONFIG_WL12XX= 
CONFIG_WLCORE_SDIO= CONFIG_EEPROM_93CX6= CONFIG_HERMES= 
CONFIG_HERMES_CACHE_FW_ON_INIT= CONFIG_PCI_HERMES= CONFIG_PLX_HERMES= 
CONFIG_PCMCIA_HERMES= CONFIG_HERMES_PRISM= CONFIG_APPLE_AIRPORT= 
CONFIG_TMD_HERMES= CONFIG_NORTEL_HERMES= CONFIG_PCMCIA_SPECTRUM= 
CONFIG_ORINOCO_USB= CONFIG_IWM= CONFIG_MWIFIEX= CONFIG_ATH6KL= 
CONFIG_MAC80211_RC_MINSTREL_HT=y MADWIFI= CONFIG_BRCMUTIL= CONFIG_BRCMSMAC= 
CONFIG_BRCMFMAC= CONFIG_BRCMFMAC_USB= CONFIG_BRCMDBG= 
KLIB_BUILD="/home/bmayland/openwrt-rpi/build_dir/linux-brcm2708/linux-3.3.8" 
MODPROBE=true KLIB=/lib/modules/3.3.8 KERNEL_SUBLEVEL=3 
KBUILD_LDFLAGS_MODULE_PREREQ= CONFIG_COMPAT_KFIFO= modules
make[3]: Entering directory 
`/home/bmayland/openwrt-rpi/build_dir/linux-brcm2708/compat-wireless-2013-02-22'
make -C /home/bmayland/openwrt-rpi/build_dir/linux-brcm2708/linux-3.3.8 
M=/home/bmayland/openwrt-rpi/build_dir/linux-brcm2708/compat-wireless-2013-02-22
 modules
make[4]: Entering directory 
`/home/bmayland/openwrt-rpi/build_dir/linux-brcm2708/linux-3.3.8'
  CC [M]  
/home/bmayland/openwrt-rpi/build_dir/linux-brcm2708/compat-wireless-2013-02-22/net/wireless/nl80211.o
/home/bmayland/openwrt-rpi/build_dir/linux-brcm2708/compat-wireless-2013-02-22/net/wireless/nl80211.c:
 In function 'nl80211_send_wowlan_tcp':
/home/bmayland/openwrt-rpi/build_dir/linux-brcm2708/compat-wireless-2013-02-22/net/wireless/nl80211.c:7201:2:
 error: implicit declaration of function 'nla_put_be32' 
[-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors

make[6]: *** 
[/home/bmayland/openwrt-rpi/build_dir/linux-brcm2708/compat-wireless-2013-02-22/net/wireless/nl80211.o]
 Error 1
make[5]: *** 
[/home/bmayland/openwrt-rpi/build_dir/linux-brcm2708/compat-wireless-2013-02-22/net/wireless]
 Error 2
make[4]: *** 
[_module_/home/bmayland/openwrt-rpi/build_dir/linux-brcm2708/compat-wireless-2013-02-22]
 Error 2
make[4]: Leaving directory 
`/home/bmayland/openwrt-rpi/build_dir/linux-brcm2708/linux-3.3.8'
make[3]: *** [modules] Error 2
make[3]: Leaving directory 
`/home/bmayland/openwrt-rpi/build_dir/linux-brcm2708/compat-wireless-2013-02-22'
make[2]: *** 
[/home/bmayland/openwrt-rpi/build_dir/linux-brcm2708/compat-wireless-2013-02-22/.built]
 Error 2
make[2]: Leaving directory `/home/bmayland/openwrt-rpi/package/mac80211'
make[1]: *** [package/mac80211/compile] Error 2
make[1]: Leaving directory `/home/bmayland/openwrt-rpi'
make: *** [package/mac80211/compile] Error 2
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to