v1.1.1 rlm_eap compile problem (no prob in v1.1.0)
Aaron Paetznick
aaronp at critd.com
Sun Mar 26 08:46:52 CEST 2006
I'll save people a lot of time and just paste the bomb out below.
Help??? Otherwise, can I simple choose to not compile rlm_eap (I don't
use it). I've tried --disable-eap and similar arguements. Thanks.
--Aaron
/usr/local/src/freeradius-1.1.1/libtool --mode=compile gcc -O2
-march=pentium4 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall
-D_GNU_SOURCE -DNDEBUG -I/usr/local/src/freeradius-1.1.1/src/include
-I../.. -I../../libeap -DNO_OPENSSL -c rlm_eap_peap.c
mkdir .libs
gcc -O2 -march=pentium4 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall
-D_GNU_SOURCE -DNDEBUG -I/usr/local/src/freeradius-1.1.1/src/include
-I../.. -I../../libeap -DNO_OPENSSL -c rlm_eap_peap.c -fPIC -DPIC -o
.libs/rlm_eap_peap.lo
In file included from eap_peap.h:25,
from rlm_eap_peap.c:24:
../../libeap/eap_tls.h:138: error: parse error before "SSL"
../../libeap/eap_tls.h:138: warning: no semicolon at end of struct or union
../../libeap/eap_tls.h:141: error: parse error before '*' token
../../libeap/eap_tls.h:141: warning: type defaults to `int' in
declaration of `into_ssl'
../../libeap/eap_tls.h:141: warning: data definition has no type or
storage class
../../libeap/eap_tls.h:142: error: parse error before '*' token
../../libeap/eap_tls.h:142: warning: type defaults to `int' in
declaration of `from_ssl'
../../libeap/eap_tls.h:142: warning: data definition has no type or
storage class
../../libeap/eap_tls.h:172: error: parse error before '}' token
../../libeap/eap_tls.h:172: warning: type defaults to `int' in
declaration of `tls_session_t'
../../libeap/eap_tls.h:172: warning: data definition has no type or
storage class
../../libeap/eap_tls.h:182: error: parse error before "tls_session_t"
../../libeap/eap_tls.h:186: error: parse error before "SSL"
../../libeap/eap_tls.h:188: error: parse error before '*' token
../../libeap/eap_tls.h:371: error: parse error before "SSL_CTX"
../../libeap/eap_tls.h:371: warning: no semicolon at end of struct or union
../../libeap/eap_tls.h:372: warning: type defaults to `int' in
declaration of `eap_tls_t'
../../libeap/eap_tls.h:372: warning: data definition has no type or
storage class
../../libeap/eap_tls.h:383: warning: type defaults to `int' in
declaration of `SSL'
../../libeap/eap_tls.h:383: error: parse error before '*' token
../../libeap/eap_tls.h:384: error: parse error before "X509_STORE_CTX"
../../libeap/eap_tls.h:386: error: parse error before "SSL"
../../libeap/eap_tls.h:387: error: parse error before '*' token
../../libeap/eap_tls.h:387: error: parse error before '*' token
../../libeap/eap_tls.h:387: warning: type defaults to `int' in
declaration of `cbtls_rsa'
../../libeap/eap_tls.h:387: warning: data definition has no type or
storage class
../../libeap/eap_tls.h:390: error: parse error before '*' token
../../libeap/eap_tls.h:390: error: parse error before '*' token
../../libeap/eap_tls.h:390: warning: type defaults to `int' in
declaration of `eaptls_new_session'
../../libeap/eap_tls.h:390: warning: data definition has no type or
storage class
../../libeap/eap_tls.h:391: error: parse error before '*' token
../../libeap/eap_tls.h:392: error: parse error before '*' token
../../libeap/eap_tls.h:393: error: parse error before '*' token
../../libeap/eap_tls.h:397: error: parse error before '*' token
../../libeap/eap_tls.h:398: error: parse error before '*' token
In file included from rlm_eap_peap.c:24:
eap_peap.h:52: error: parse error before "tls_session_t"
rlm_eap_peap.c: In function `eappeap_authenticate':
rlm_eap_peap.c:165: error: `tls_session' undeclared (first use in this
function)
rlm_eap_peap.c:165: error: (Each undeclared identifier is reported only once
rlm_eap_peap.c:165: error: for each function it appears in.)
rlm_eap_peap.c:165: error: parse error before ')' token
gmake[9]: *** [rlm_eap_peap.lo] Error 1
gmake[9]: Leaving directory
`/usr/local/src/freeradius-1.1.1/src/modules/rlm_eap/types/rlm_eap_peap'
gmake[8]: *** [common] Error 2
gmake[8]: Leaving directory
`/usr/local/src/freeradius-1.1.1/src/modules/rlm_eap/types'
gmake[7]: *** [all] Error 2
gmake[7]: Leaving directory
`/usr/local/src/freeradius-1.1.1/src/modules/rlm_eap/types'
gmake[6]: *** [common] Error 2
gmake[6]: Leaving directory
`/usr/local/src/freeradius-1.1.1/src/modules/rlm_eap'
gmake[5]: *** [common] Error 2
gmake[5]: Leaving directory `/usr/local/src/freeradius-1.1.1/src/modules'
gmake[4]: *** [all] Error 2
gmake[4]: Leaving directory `/usr/local/src/freeradius-1.1.1/src/modules'
gmake[3]: *** [common] Error 2
gmake[3]: Leaving directory `/usr/local/src/freeradius-1.1.1/src'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/usr/local/src/freeradius-1.1.1/src'
gmake[1]: *** [common] Error 2
gmake[1]: Leaving directory `/usr/local/src/freeradius-1.1.1'
make: *** [all] Error 2
More information about the Freeradius-Users
mailing list