build wpa_supplicant on NetBSD?

Jeremy C. Reed reed
Wed Dec 10 10:59:24 PST 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:

-DEAP_TLS_FUNCS -I. -I../utils -I../hostapd -DCONFIG_BACKEND_FILE 
driver_hostap.o driver_hostap.c
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 mailing list