We tried compiling the latest snapshot (to have support for TTLS), but we got some errors in the linking phase.
How can we solve them?
I'm attaching a log of what happened.
Thank you very much,
Silvio


gcc  -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -g -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -W -Wredundant-decls -Wundef  -I../../../../include  -I../..    -I../rlm_eap_tls -DOPENSSL_NO_KRB5 -c peap.c -o peap.o
In file included from ../rlm_eap_tls/eap_tls.h:26,
                 from peap.c:22:
./rlm_eap_tls/rlm_eap_tls.h:56:1: warning: "OPENSSL_NO_KRB5" redefined
peap.c:1:1: warning: this is the location of the previous definition
peap.c: In function `eappeap_process':
peap.c:319: warning: comparison between signed and unsigned
/tmp/freeradius-snapshot-20031023/libtool --mode=link ld \
-module -static  -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -g -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -W -Wredundant-decls -Wundef  -I../../../../include  -I../..    -I../rlm_eap_tls -DOPENSSL_NO_KRB5 rlm_eap_peap.o peap.o -o rlm_eap_peap.a
mkdir .libs
ar cru rlm_eap_peap.a rlm_eap_peap.o peap.o
ranlib rlm_eap_peap.a
gmake[10]: Leaving directory `/tmp/freeradius-snapshot-20031023/src/modules/rlm_eap/types/rlm_eap_peap'
Making static in rlm_eap_tls...
gmake[10]: Entering directory `/tmp/freeradius-snapshot-20031023/src/modules/rlm_eap/types/rlm_eap_tls'
gcc  -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -g -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -W -Wredundant-decls -Wundef  -I../../../../include  -I../..    -DOPENSSL_NO_KRB5 -c rlm_eap_tls.c -o rlm_eap_tls.o
In file included from eap_tls.h:26,
                 from rlm_eap_tls.c:25:
rlm_eap_tls.h:56:1: warning: "OPENSSL_NO_KRB5" redefined
rlm_eap_tls.c:1:1: warning: this is the location of the previous definition
rlm_eap_tls.c: In function `init_tls_ctx':
rlm_eap_tls.c:231: warning: implicit declaration of function `X509_STORE_set_flags'
rlm_eap_tls.c:231: `X509_V_FLAG_CRL_CHECK' undeclared (first use in this function)
rlm_eap_tls.c:231: (Each undeclared identifier is reported only once
rlm_eap_tls.c:231: for each function it appears in.)
rlm_eap_tls.c: In function `eaptls_authenticate':
rlm_eap_tls.c:478: warning: unused parameter `arg'
gmake[10]: *** [rlm_eap_tls.o] Error 1
gmake[10]: Leaving directory `/tmp/freeradius-snapshot-20031023/src/modules/rlm_eap/types/rlm_eap_tls'
gmake[9]: *** [common] Error 1
gmake[9]: Leaving directory `/tmp/freeradius-snapshot-20031023/src/modules/rlm_eap/types'
gmake[8]: *** [static] Error 2
gmake[8]: Leaving directory `/tmp/freeradius-snapshot-20031023/src/modules/rlm_eap/types'
gmake[7]: *** [common] Error 1
gmake[7]: Leaving directory `/tmp/freeradius-snapshot-20031023/src/modules/rlm_eap'
gmake[6]: *** [static] Error 2
gmake[6]: Leaving directory `/tmp/freeradius-snapshot-20031023/src/modules/rlm_eap'
gmake[5]: *** [common] Error 1
gmake[5]: Leaving directory `/tmp/freeradius-snapshot-20031023/src/modules'
gmake[4]: *** [all] Error 2
gmake[4]: Leaving directory `/tmp/freeradius-snapshot-20031023/src/modules'
gmake[3]: *** [common] Error 1
gmake[3]: Leaving directory `/tmp/freeradius-snapshot-20031023/src'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/tmp/freeradius-snapshot-20031023/src'
gmake[1]: *** [common] Error 1
gmake[1]: Leaving directory `/tmp/freeradius-snapshot-20031023'
make: *** [all] Error 2

Reply via email to