build wpa_supplicant on NetBSD?
Jeremy C. Reed
reed at reedmedia.net
Wed Dec 10 13:59:24 EST 2008
Trying to find instructions for building on NetBSD 4.0.
(As discussed in previous email, my wpa_supplicant 0.4.9 is becoming
disassociated frequently so I want to upgrade to see if anything is
I have tried 0.6.6 and 0.5.11.
The README should indicate it needs GNU make (gmake).
Does anyone have correct .config lines for NetBSD?
Are any patches required for NetBSD?
(Not easy to check in NetBSD's own cvs as my connection is dropping
everytime I attempt to look.)
I have tried many things. My latest errors are:
cc -O2 -DEAP_TLS -DEAP_PEAP -DEAP_MSCHAPv2 -DEAP_LEAP -DEAP_PSK -DEAP_TLV
-DEAP_TLS_FUNCS -I. -I../utils -I../hostapd -DCONFIG_BACKEND_FILE
-DCONFIG_DRIVER_HOSTAP -DCONFIG_DRIVER_WEXT -DINTERNAL_AES -DINTERNAL_SHA1
-DINTERNAL_MD5 -DCONFIG_WIRELESS_EXTENSION -DCONFIG_DRIVER_BSD
-DCONFIG_CTRL_IFACE -DIEEE8021X_EAPOL -DEAP_TTLS -DEAP_MD5 -c -o
driver_hostap.c: In function 'hostapd_ioctl':
driver_hostap.c:44: error: 'struct iwreq' has no member named 'ifr_name'
driver_hostap.c:48: error: 'SIOCDEVPRIVATE' undeclared (first use in this
driver_hostap.c:48: error: (Each undeclared identifier is reported only
driver_hostap.c:48: error: for each function it appears in.)
driver_hostap.c: In function 'prism2param':
driver_hostap.c:90: error: 'struct iwreq' has no member named 'ifr_name'
driver_hostap.c: In function 'wpa_driver_hostap_reset':
driver_hostap.c:254: error: 'struct iwreq' has no member named 'ifr_name'
gmake: *** [driver_hostap.o] Error 1
More information about the HostAP