Problem compiling wpa_supplicant 2.1 with WPS NFC enabled

Prashanth Kumar KR prashanthkumar.kr
Thu Feb 13 01:45:40 PST 2014


Hi,
Add CONFIG_P2P=y to config then try..

On Wednesday 12 February 2014 08:07 PM, Bjarke Istrup Pedersen wrote:
> Hey,
> 
> I just tried compiling wpa_supplicant with the following config:
> 
> CONFIG_CTRL_IFACE=y
> CONFIG_BACKEND=file
> CONFIG_EAP_GTC=y
> CONFIG_EAP_MD5=y
> CONFIG_EAP_OTP=y
> CONFIG_EAP_PAX=y
> CONFIG_EAP_PSK=y
> CONFIG_EAP_TLV=y
> CONFIG_EAP_EXE=y
> CONFIG_IEEE8021X_EAPOL=y
> CONFIG_PKCS12=y
> CONFIG_PEERKEY=y
> CONFIG_EAP_LEAP=y
> CONFIG_EAP_MSCHAPV2=y
> CONFIG_EAP_PEAP=y
> CONFIG_EAP_TLS=y
> CONFIG_EAP_TTLS=y
> CONFIG_BGSCAN_SIMPLE=y
> CONFIG_BGSCAN_LEARN=y
> CONFIG_DEBUG_FILE=y
> CONFIG_READLINE=y
> CONFIG_TLS=openssl
> CONFIG_DRIVER_ATMEL=y
> CONFIG_DRIVER_HOSTAP=y
> CONFIG_DRIVER_IPW=y
> CONFIG_DRIVER_NL80211=y
> CONFIG_DRIVER_RALINK=y
> CONFIG_DRIVER_WEXT=y
> CONFIG_DRIVER_WIRED=y
> CONFIG_WPS=y
> CONFIG_WPS2=y
> CONFIG_WPS_UFD=y
> CONFIG_WPS_ER=y
> CONFIG_WPS_UPNP=y
> CONFIG_WPS_NFC=y
> CONFIG_DELAYED_MIC_ERROR_REPORT=y
> CONFIG_LIBNL32=y
> 
> This results in the following errors:
> 
> ctrl_iface.o: In function `wpas_ctrl_nfc_get_handover_req_p2p':
> /var/tmp/portage/net-wireless/wpa_supplicant-2.1/work/wpa_supplicant-2.1/wpa_supplicant/ctrl_iface.c:952:
> undefined reference to `wpas_p2p_nfc_handover_req'
> ctrl_iface.o: In function `wpas_ctrl_nfc_report_handover':
> /var/tmp/portage/net-wireless/wpa_supplicant-2.1/work/wpa_supplicant-2.1/wpa_supplicant/ctrl_iface.c:1233:
> undefined reference to `wpas_ap_wps_nfc_report_handover'
> /var/tmp/portage/net-wireless/wpa_supplicant-2.1/work/wpa_supplicant-2.1/wpa_supplicant/ctrl_iface.c:1241:
> undefined reference to `wpas_p2p_nfc_report_handover'
> ctrl_iface.o: In function `wpas_ctrl_nfc_get_handover_sel_p2p':
> /var/tmp/portage/net-wireless/wpa_supplicant-2.1/work/wpa_supplicant-2.1/wpa_supplicant/ctrl_iface.c:1033:
> undefined reference to `wpas_p2p_nfc_handover_sel'
> collect2: error: ld returned 1 exit status
> Makefile:1569: recipe for target 'wpa_supplicant' failed
> make: *** [wpa_supplicant] Error 1
> 
> Any ideas on what is missing?
> 
> Thanks.
> 
> /Bjarke
> _______________________________________________
> HostAP mailing list
> HostAP at lists.shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
> 

-- 
Regards,
Prashanth Kumar



More information about the Hostap mailing list