Problem compiling wpa_supplicant 2.1 with WPS NFC enabled

Jouni Malinen j
Thu Feb 13 05:28:49 PST 2014


On Wed, Feb 12, 2014 at 03:37:20PM +0100, Bjarke Istrup Pedersen wrote:
> I just tried compiling wpa_supplicant with the following config:
> CONFIG_WPS_NFC=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'
...

Couple of conditional #ifdefs on CONFIG_P2P and CONFIG_AP were missing
here. I'll fix that, but in the meanwhile, adding CONFIG_P2P=y as
pointed out in the thread is the most convenient way of working around
this.

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list