On Wed, May 15, 2019 at 9:55 PM Greg Balfour <greg.bal4 at gmail.com>
wrote:
> After applying wpa-11.patch (and the rest of the recent patches) to my
> 11.2 machine I'm
> having build problems. Looks like a binder directory and associated files
> did not get
> created. Pilot error?
>
> # uname -a
> FreeBSD freebsd.example.com 11.2-RELEASE FreeBSD 11.2-RELEASE #0: Thu
> Jan 3 19:29:29 CST 2019 root at
freebsd.example.com:/usr/obj/usr/src/sys/GENERIC
> amd64
>
> --- notify.o ---
> cc -target x86_64-unknown-freebsd11.2 --sysroot=/usr/obj/usr/src/tmp
> -B/usr/obj/usr/src/tmp/usr/bin -O2 -pipe
> -I/usr/src/usr.sbin/wpa/wpa_supplicant -I/usr/src/contrib/wpa//hostapd
> -I/usr/src/contrib/wpa//src -I/usr/src/contrib/wpa//src/common
> -I/usr/src/contrib/wpa//src/crypto -I/usr/src/contrib/wpa//src/drivers
> -I/usr/src/contrib/wpa//src/l2_packet -I/usr/src/contrib/wpa//src/utils
> -I/usr/src/contrib/wpa//src/wps -DCONFIG_CTRL_IFACE
> -DCONFIG_CTRL_IFACE_UNIX -DNEED_AP_MLME
> -DTLS_DEFAULT_CIPHERS=\"DEFAULT:!EXP:!LOW\" -DCONFIG_BACKEND_FILE
> -DCONFIG_DEBUG_SYSLOG -DCONFIG_DRIVER_BSD -DCONFIG_DRIVER_NDIS
> -DCONFIG_DRIVER_WIRED -DCONFIG_GAS -DCONFIG_HS20 -DCONFIG_IEEE80211R
> -DCONFIG_INTERWORKING -DCONFIG_PEERKEY -DCONFIG_PRIVSEP
> -DCONFIG_SMARTCARD -DCONFIG_TERMINATE_ONLASTIF -DCONFIG_TLS=openssl
> -DCONFIG_WPS -DCONFIG_WPS2 -DCONFIG_WPS_UPNP -DPKCS12_FUNCS -DEAP_GTC
> -DEAP_LEAP -DEAP_MD5 -DEAP_MSCHAPv2 -DEAP_OTP -DEAP_PEAP -DEAP_PSK
> -DEAP_TLS -DEAP_TTLS -DIEEE8021X_EAPOL -DCONFIG_SHA256 -DEAP_TLS_OPENSSL
> -I/usr/src/usr.sbin/wpa/wpa_supplicant -I/usr/src/contrib/wpa//hostapd
> -I/usr/src/contrib/wpa//src -I/usr/src/contrib/wpa//src/common
> -I/usr/src/contrib/wpa//src/crypto -I/usr/src/contrib/wpa//src/drivers
> -I/usr/src/contrib/wpa//src/l2_packet -I/usr/src/contrib/wpa//src/utils
> -I/usr/src/contrib/wpa//src/wps -DCONFIG_CTRL_IFACE
> -DCONFIG_CTRL_IFACE_UNIX -DNEED_AP_MLME
> -DTLS_DEFAULT_CIPHERS=\"DEFAULT:!EXP:!LOW\" -g -MD
-MF.depend.notify.o
> -MTnotify.o -std=gnu99 -fstack-protector-strong -Qunused-arguments -c
> /usr/src/contrib/wpa//wpa_supplicant/notify.c -o notify.o
> /usr/src/contrib/wpa//wpa_supplicant/notify.c:16:10: fatal error:
> 'binder/binder.h' file not found
> #include "binder/binder.h"
> ^~~~~~~~~~~~~~~~~
> 1 error generated.
> *** [notify.o] Error code 1
>
> make[5]: stopped in /usr/src/usr.sbin/wpa/wpa_supplicant
> 1 error
>
What what it's worth, I finally figured out the patch had to be applied
with:
# cd /usr/src
# patch -p0 < /path/to/patch