hostapd compilation problems - `MD5_DIGEST_LENGTH' undeclared
Prj 2004
prj2004
Wed Apr 27 03:24:21 PDT 2005
Friends,
I am trying to compile hostapd 0.3.7 and have the below .config
----
CONFIG_DRIVER_WIRED=y
CONFIG_DRIVER_MADWIFI=y
CFLAGS += -I../usr/local/src/madwifi # change to reflect local setup; directory for madwifi src
CONFIG_IAPP=y
CONFIG_RSN_PREAUTH=y
CONFIG_EAP=y
CONFIG_EAP_MD5=y
CONFIG_EAP_TLS=y
CONFIG_EAP_MSCHAPV2=y
CONFIG_EAP_PEAP=y
CONFIG_EAP_GTC=y
CONFIG_EAP_TTLS=y
CONFIG_EAP_SIM=y
CONFIG_PKCS12=y
----
I get several errors (and some warnings too) when the compiler (gcc 2.95) hits radius.c as below:
----
In file included from radius.c:30:
md5.h:6: warning: No include path in which to find openssl/md5.h
radius.c: In function `radius_msg_finish':
radius.c:273: `MD5_DIGEST_LENGTH' undeclared (first use in this function)
radius.c:273: (Each undeclared identifier is reported only once
radius.c:273: for each function it appears in.)
radius.c:273: warning: unused variable `auth'
radius.c: In function `radius_msg_finish_srv':
radius.c:303: `MD5_DIGEST_LENGTH' undeclared (first use in this function)
radius.c:305: `MD5_CTX' undeclared (first use in this function)
radius.c:305: parse error before `context'
radius.c:321: warning: implicit declaration of function `MD5_Init'
radius.c:321: `context' undeclared (first use in this function)
radius.c:322: warning: implicit declaration of function `MD5_Update'
radius.c:327: warning: implicit declaration of function `MD5_Final'
radius.c:303: warning: unused variable `auth'
radius.c: In function `radius_msg_finish_acct':
radius.c:341: `MD5_CTX' undeclared (first use in this function)
radius.c:341: parse error before `context'
radius.c:344: `MD5_DIGEST_LENGTH' undeclared (first use in this function)
radius.c:345: `context' undeclared (first use in this function)
radius.c: In function `radius_msg_verify_msg_auth':
radius.c:563: `MD5_DIGEST_LENGTH' undeclared (first use in this function)
radius.c:563: warning: unused variable `orig'
radius.c:563: warning: unused variable `auth'
radius.c: In function `radius_msg_verify':
radius.c:611: `MD5_CTX' undeclared (first use in this function)
radius.c:611: parse error before `context'
radius.c:612: `MD5_DIGEST_LENGTH' undeclared (first use in this function)
radius.c:625: `context' undeclared (first use in this function)
radius.c:612: warning: unused variable `hash'
radius.c: In function `radius_msg_verify_acct':
radius.c:645: `MD5_CTX' undeclared (first use in this function)
radius.c:645: parse error before `context'
radius.c:646: `MD5_DIGEST_LENGTH' undeclared (first use in this function)
radius.c:648: `context' undeclared (first use in this function)
radius.c:646: warning: unused variable `hash'
radius.c: In function `radius_msg_make_authenticator':
radius.c:697: `MD5_CTX' undeclared (first use in this function)
radius.c:697: parse error before `context'
radius.c:702: `context' undeclared (first use in this function)
radius.c: In function `decrypt_ms_key':
radius.c:782: `MD5_DIGEST_LENGTH' undeclared (first use in this function)
radius.c:783: `MD5_CTX' undeclared (first use in this function)
radius.c:783: parse error before `context'
radius.c:807: `context' undeclared (first use in this function)
radius.c:782: warning: unused variable `hash'
radius.c: In function `encrypt_ms_key':
radius.c:847: `MD5_DIGEST_LENGTH' undeclared (first use in this function)
radius.c:848: `MD5_CTX' undeclared (first use in this function)
radius.c:848: parse error before `context'
radius.c:867: `context' undeclared (first use in this function)
radius.c:847: warning: unused variable `hash'
radius.c: In function `radius_msg_add_attr_user_password':
radius.c:1040: `MD5_CTX' undeclared (first use in this function)
radius.c:1040: parse error before `context'
radius.c:1057: `context' undeclared (first use in this function)
make: *** [radius.o] Error 1
----
Can someone please correct me what's being done wrong? Am I missinging any MD5 or Crypto dependencies?
TIA
Jonnas
_______________________________________________________________
Fr?hlings-Aktion: Gratis DSL-Modems zur freien Auswahl
Nur bis 30. April bei WEB.DE DSL! https://dsl.web.de/?mc=021193
More information about the Hostap
mailing list