hello people,

tried compiling the 1.0.1 freeradius on a debian woody.
the apt-package won't work, because it's missing the
'--disable-shared' configure parameter. if that one is
omitted i'm getting an error that crashes radiusd -X:

rlm_eap: Failed to link EAP-Type/tls: rlm_eap_tls.so: cannot open shared object 
file:
No such file or directory

ok so now i downloaded the latest tarball from
www.freeradius.org and tried compiling it with the

 --disable-shared

parameter. so far so good, compiles to the point
where it says:

[...]
gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DOPENSSL_NO_KRB5 -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 -DX99_MODULE_NAME=\"rlm_x99_token\" -DFREERADIUS -c x99_rlm.c -o x99_rlm.o
In file included from x99_rlm.c:54:
x99.h:26:42: openssl/des.h: No such file or directory
In file included from x99_rlm.c:54:
x99.h:146: error: parse error before "des_cblock"
x99.h:146: warning: no semicolon at end of struct or union
x99.h:147: warning: type defaults to `int' in declaration of `x99_user_info_t'
x99.h:147: warning: data definition has no type or storage class
x99.h:152: error: parse error before "des_cblock"
x99.h:152: warning: function declaration isn't a prototype
x99.h:153: error: parse error before "des_cblock"
x99.h:153: warning: function declaration isn't a prototype
x99.h:165: error: parse error before "des_cblock"
x99.h:165: warning: function declaration isn't a prototype
x99.h:166: warning: type defaults to `int' in declaration of `des_cblock'
x99.h:166: error: parse error before "keyblock"
x99.h:167: warning: function declaration isn't a prototype
x99.h:170: error: parse error before "x99_user_info_t"
x99.h:170: warning: function declaration isn't a prototype
x99.h:180: error: parse error before "des_cblock"
x99.h:180: warning: function declaration isn't a prototype
x99.h:182: warning: type defaults to `int' in declaration of `des_cblock'
x99.h:182: error: parse error before "keyblock"
x99.h:182: warning: function declaration isn't a prototype
x99_rlm.c: In function `x99_token_authorize':
x99_rlm.c:294: error: parse error before "user_info"
x99_rlm.c:331: error: `user_info' undeclared (first use in this function)
x99_rlm.c:331: error: (Each undeclared identifier is reported only once
x99_rlm.c:331: error: for each function it appears in.)
x99_rlm.c: In function `x99_token_authenticate':
x99_rlm.c:460: error: parse error before "user_info"
x99_rlm.c:492: error: `user_info' undeclared (first use in this function)
x99_rlm.c:550: warning: deprecated use of label at end of compound statement
make[6]: *** [x99_rlm.o] Error 1
make[6]: Leaving directory `/install/freeradius-1.0.1/src/modules/rlm_x99_token'
make[5]: *** [common] Error 1
make[5]: Leaving directory `/install/freeradius-1.0.1/src/modules'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/install/freeradius-1.0.1/src/modules'
make[3]: *** [common] Error 1
make[3]: Leaving directory `/install/freeradius-1.0.1/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/install/freeradius-1.0.1/src'
make[1]: *** [common] Error 1
make[1]: Leaving directory `/install/freeradius-1.0.1'
make: *** [all] Error 2


after some research i found out that someone fixed this with the

 --without-rlm_x99_token

parameter. using the mentioned parameters at the ./configure
command, it compiles but gives me a segfault once radiusd -X
is invoked:

[...]
 gtc: challenge = "Password: "
 gtc: auth_type = "PAP"
rlm_eap: Loaded and initialized type gtc
Segmentation fault

which doesn't really surprise me, since i believe it's
because of the --without-rlm_x99_token parameter.

what can i do in this situation? running out of options
here ;)

thank you for any hints or pointers.

cheers,

sven




- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to