When I try to compile freeradius, it show:

*******************************************************
/usr/bin/ar cru .libs/rlm_unix.a  rlm_unix.o cache.o compat.o
ranlib .libs/rlm_unix.a
creating rlm_unix.la
(cd .libs && rm -f rlm_unix.la && ln -s ../rlm_unix.la rlm_unix.la)
gmake[6]: Saliendo directorio `/root/radiusd/src/modules/rlm_unix'
Making static dynamic in rlm_x99_token...
gmake[6]: Cambiando a directorio `/root/radiusd/src/modules/rlm_x99_token'
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 -I../../include -I
/usr/include -c x99_rlm.c -o x99_rlm.o
In file included from x99_rlm.c:44:
x99.h:127: parse error before `des_cblock'
x99.h:127: warning: no semicolon at end of struct or union
x99.h:128: warning: type defaults to `int' in declaration of `x99_user_info_t'
x99.h:128: warning: data definition has no type or storage class
x99.h:133: parse error before `des_cblock'
x99.h:133: warning: function declaration isn't a prototype
x99.h:134: parse error before `des_cblock'
x99.h:134: warning: function declaration isn't a prototype
x99.h:151: parse error before `des_cblock'
x99.h:151: warning: function declaration isn't a prototype
x99.h:152: warning: type defaults to `int' in declaration of `des_cblock'
x99.h:152: parse error before `keyblock'
x99.h:153: warning: function declaration isn't a prototype
x99.h:156: parse error before `x99_user_info_t'
x99.h:156: warning: function declaration isn't a prototype
x99.h:162: parse error before `des_cblock'
x99.h:162: warning: function declaration isn't a prototype
x99.h:164: warning: type defaults to `int' in declaration of `des_cblock'
x99.h:164: parse error before `keyblock'
x99.h:164: warning: function declaration isn't a prototype
x99_rlm.c: In function `x99_token_authorize':
x99_rlm.c:254: parse error before `user_info'
x99_rlm.c:291: `user_info' undeclared (first use in this function)
x99_rlm.c:291: (Each undeclared identifier is reported only once
x99_rlm.c:291: for each function it appears in.)
x99_rlm.c: In function `x99_token_authenticate':
x99_rlm.c:423: parse error before `user_info'
x99_rlm.c:448: `user_info' undeclared (first use in this function)
gmake[6]: *** [x99_rlm.o] Error 1
gmake[6]: Saliendo directorio `/root/radiusd/src/modules/rlm_x99_token'
gmake[5]: *** [common] Error 1
gmake[5]: Saliendo directorio `/root/radiusd/src/modules'
gmake[4]: *** [all] Error 2
gmake[4]: Saliendo directorio `/root/radiusd/src/modules'
gmake[3]: *** [common] Error 1
gmake[3]: Saliendo directorio `/root/radiusd/src'
gmake[2]: *** [all] Error 2
gmake[2]: Saliendo directorio `/root/radiusd/src'
gmake[1]: *** [common] Error 1
gmake[1]: Saliendo directorio `/root/radiusd'
make: *** [all] Error 2
*******************************************************

Somebody can help me?


_________________________
Lucas Nascimento
Franca - SP
Brasil
_________________________

Reply via email to