In file included from ../src/drivers/driver_nl80211.c:26:0: /var/tmp/portage/net-wireless/wpa_supplicant-2.6-r4/work/wpa_supplicant-2.6/src/utils/common.h:426:0: error: "__bitwise" redefined [-Werror] #define __bitwise In file included from /usr/include/linux/sysinfo.h:4:0, from /usr/include/linux/kernel.h:4, from /usr/include/linux/netlink.h:4, from /usr/include/libnl3/netlink/netlink.h:25, from /usr/include/libnl3/netlink/genl/genl.h:15, from ../src/drivers/driver_nl80211.c:17: /usr/include/linux/types.h:21:0: note: this is the location of the previous definition #define __bitwise __bitwise__ Solution: https://www.spinics.net/lists/hostap/msg03998.html diff --git a/src/utils/common.h b/src/utils/common.h index 46e96a65b..fec7f6013 100644 --- a/src/utils/common.h +++ b/src/utils/common.h @@ -435,6 +435,7 @@ void perror(const char *s); #define __bitwise __attribute__((bitwise)) #else #define __force +#undef __bitwise #define __bitwise #endif
Same here.
this was accidentally introduced with USE=eapol_test fixed in 2.6-r5