Cannot compile sae_pk_gen without modifying Makefile

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The Makefile is not properly setup to compile the sae_pk_gen target. Enabling CONFIG_SAE=y and CONFIG_SAE_PK=y in the configuration is not sufficient to compile. The linker complains about undefined references. The following additions must be made to the Makefile to get it to compile, at least with gcc. Once this is done, 'make sae_pk_gen' can be run without issue.


Signed-off-by: Ameer Antar <ameerantar@xxxxxxxxxxx>
---

diff --git a/hostapd/Makefile b/hostapd/Makefile
index ca44392..afe3d5e 100644
--- a/hostapd/Makefile
+++ b/hostapd/Makefile
@@ -1372,6 +1372,11 @@
 SOBJS += ../src/crypto/sha256-kdf.o
 SOBJS += ../src/crypto/sha384-kdf.o
 SOBJS += ../src/crypto/sha512-kdf.o
+HOBJS += ../src/common/wpa_common.o
+SOBJS += ../src/common/wpa_common.o
+SOBJS += ../src/crypto/random.o
+SOBJS += ../src/crypto/sha1-prf.o
+SOBJS += ../src/utils/eloop.o
 
 _OBJS_VAR := NOBJS
 include ../src/objs.mk

--

_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux