From patchwork Thu Nov 29 16:46:08 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Compiling for wire-only 802.1X on embedded linux Date: Thu, 29 Nov 2012 06:46:08 -0000 From: Jonathan Bagg X-Patchwork-Id: 202783 Message-Id: <50B79150.2040308@lenbrook.com> To: hostap@lists.shmoo.com Tilman, I tried building using your configs. First you need to add aes, sha1 and md5.... Second you need to remove CONFIG_PEERKEY. It compiles for me, but no idea if it is what you want, Jon On 12-11-29 08:03 AM, Tilman Baumann wrote: > On 29/11/12 12:53, Jonathan Bagg wrote: >> Tilman, >> >> wpa_supplicant depends on libopenssl (I think >= v0.9.9). Make sure it >> is installed first before compiling >> wpa_supplicant. > I have 0.9.8o-4squeeze13 (Debian) > > But I don't really think that is it. Because building works just fine, > if I leave WPA enabled. It falls apart when I disable WPA. > diff --git a/wpa_supplicant/Makefile b/wpa_supplicant/Makefile index 22df8a0..a3abaf8 100644 --- a/wpa_supplicant/Makefile +++ b/wpa_supplicant/Makefile @@ -187,6 +187,9 @@ NEED_MD5=y NEED_RC4=y else CFLAGS += -DCONFIG_NO_WPA -DCONFIG_NO_WPA2 +NEED_AES=y +NEED_SHA1=y +NEED_MD5=y endif ifdef CONFIG_IBSS_RSN