[PATCH] Fix: Compilation fails with nl80211

Jouni Malinen j
Sun Apr 11 23:42:11 PDT 2010


On Mon, Apr 12, 2010 at 10:31:50AM +0900, Masashi Honma wrote:
> The wpa_supplicant compilation failed with messages below.
> 
> sme.o: In function `sme_associate':
> /home/honma/hostap/wpa_supplicant/sme.c:329: undefined reference to `ieee802_11_parse_elems'

> This will occur when using nl80211 driver and not defining CONFIG_IEEE80211R,
> CONFIG_WPS, CONFIG_CLIENT_MLME.

Thanks for reporting this.

> This patch solves this issue.

This is not really a problem of driver_nl80211.c itself, but more so of
the sme.c build not bringing in all dependencies. I fixed it with a
similar change in wpa_supplicant/Makefile for NEED_SME.

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list