#17765: Hostapd-full fails to compile on trunk
-----------------------+----------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: normal | Milestone: Chaos Calmer (trunk)
Component: packages | Version: Trunk
Keywords: |
-----------------------+----------------------------------
Hostapd-full fails to compile on many rfkill redefinition errors:
{{{
make[4]: Entering directory `/home/openwrt/build_dir/target-
mipsel_74kc+dsp2_uClibc-0.9.33.2/hostapd-full/hostapd-2014-06-03/hostapd'
CC main.c
CC config_file.c
CC ../src/ap/hostapd.c
CC ../src/ap/wpa_auth_glue.c
CC ../src/ap/drv_callbacks.c
CC ../src/ap/ap_drv_ops.c
CC ../src/ap/utils.c
CC ../src/ap/authsrv.c
CC ../src/ap/ieee802_1x.c
CC ../src/ap/ap_config.c
CC ../src/ap/eap_user_db.c
CC ../src/ap/ieee802_11_auth.c
CC ../src/ap/sta_info.c
CC ../src/ap/wpa_auth.c
CC ../src/ap/tkip_countermeasures.c
CC ../src/ap/ap_mlme.c
CC ../src/ap/wpa_auth_ie.c
CC ../src/ap/preauth_auth.c
CC ../src/ap/pmksa_cache_auth.c
CC ../src/ap/ieee802_11_shared.c
CC ../src/ap/beacon.c
CC ../src/drivers/drivers.c
CC ../src/utils/eloop.c
CC ../src/utils/common.c
CC ../src/utils/wpa_debug.c
CC ../src/utils/wpabuf.c
CC ../src/utils/os_unix.c
CC ../src/utils/ip_addr.c
CC ../src/common/ieee802_11_common.c
CC ../src/common/wpa_common.c
CC ../src/eapol_auth/eapol_auth_sm.c
CC ../src/ap/ubus.c
CC ../src/radius/radius.c
CC ../src/radius/radius_client.c
CC ../src/radius/radius_das.c
CC ../src/ap/accounting.c
CC ../src/ap/vlan_init.c
CC ctrl_iface.c
CC ../src/ap/ctrl_iface_ap.c
CC ../src/crypto/md5.c
CC ../src/ap/iapp.c
CC ../src/ap/peerkey_auth.c
CC ../src/ap/wpa_auth_ft.c
CC ../src/drivers/driver_nl80211.c
CC ../src/drivers/driver_wired.c
CC ../src/drivers/linux_ioctl.c
CC ../src/drivers/netlink.c
../src/drivers/rfkill.c:100:22: error: redefinition of 'rfkill_init'
struct rfkill_data * rfkill_init(struct rfkill_config *cfg)
^
In file included from ../src/drivers/rfkill.c:14:0:
../src/drivers/rfkill.h:26:36: note: previous definition of 'rfkill_init'
was here
static inline struct rfkill_data * rfkill_init(struct rfkill_config *cfg)
^
../src/drivers/rfkill.c:167:6: error: redefinition of 'rfkill_deinit'
void rfkill_deinit(struct rfkill_data *rfkill)
^
In file included from ../src/drivers/rfkill.c:14:0:
../src/drivers/rfkill.h:31:20: note: previous definition of
'rfkill_deinit' was here
static inline void rfkill_deinit(struct rfkill_data *rfkill)
^
../src/drivers/rfkill.c:182:5: error: redefinition of 'rfkill_is_blocked'
int rfkill_is_blocked(struct rfkill_data *rfkill)
^
In file included from ../src/drivers/rfkill.c:14:0:
../src/drivers/rfkill.h:35:19: note: previous definition of
'rfkill_is_blocked' was here
static inline int rfkill_is_blocked(struct rfkill_data *rfkill)
^
make[4]: *** [../src/drivers/rfkill.o] Error 1
make[4]: Leaving directory `/home/openwrt/build_dir/target-
mipsel_74kc+dsp2_uClibc-0.9.33.2/hostapd-full/hostapd-2014-06-03/hostapd'
make[3]: *** [/home/openwrt/build_dir/target-
mipsel_74kc+dsp2_uClibc-0.9.33.2/hostapd-full/hostapd-2014-06-03/.built]
Error 2
make[3]: Leaving directory
`/home/openwrt/package/network/services/hostapd'
make[2]: *** [package/network/services/hostapd/compile] Error 2
make[2]: Leaving directory `/home/openwrt'
}}}
--
Ticket URL: <https://dev.openwrt.org/ticket/17765>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets