Unable to compile hostapd 2.4 - hlr_auc_gw can't be compiled.

Conrad Kostecki ck+hostap
Thu Mar 19 14:13:49 PDT 2015

Am 2015-03-18 21:41, schrieb Jouni Malinen:
> On Wed, Mar 18, 2015 at 08:02:19PM +0100, Conrad Kostecki wrote:
>> hlr_auc_gw can't be compiled. This is, where the problem exactly
>> occurs. Any ideas for this?
> That works for me.. Could you please send the hostapd/.config build
> configuration with which this issue shows up?

The shipped defconfig also does not work for me. I don't think, that 
this is a .config problem.
At least, when I reverse commit 
983c6a606bc839248ea0c69090e60c095a655bc6, I can compile it.

"Use OpenSSL HMAC_* functions to implement HMAC-MD5 instead of depending
on the src/crypto/md5.c implementation."

Due hmac_md5 and hmac_md5_vector definied both in crypto_openssl.c and 
md5.c that happens.
So, why is it during compiling including both?

   CC  ../src/crypto/crypto_openssl.c <---
   CC  ../src/crypto/random.c
   CC  ../src/utils/eloop.c
   CC  ../src/crypto/sha1-prf.c
   CC  ../src/crypto/md5.c   <---
   CC  hlr_auc_gw.c
   CC  ../src/utils/common.c
   CC  ../src/utils/wpa_debug.c
   CC  ../src/utils/os_unix.c
   CC  ../src/utils/wpabuf.c
   CC  ../src/crypto/milenage.c
   CC  ../src/crypto/aes-encblock.c

More information about the Hostap mailing list