Janakan,

Thanks a lot!  It worked!  I just deleted rlm_x99_token before configuration and everything was OK.
What is more, it didn't complaint about mysql as it used to do before.

Best Regards,

Eva Kolega
NOC - TEI of ATHENS

Janakan Rajendran wrote:

Eva,

 

I had the same problem couple of days before and got it fixed. Disable rlm_x99_token when using configure command.

It would help to get rid of this error.

 

Regards,

Janakan Rajendran

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Eva Kolega
Sent: Friday, November 19, 2004 7:22 AM
To: [EMAIL PROTECTED]
Subject: COMPILATION ERROR

 

I used to have an error in compilation with mysql components, so I thought of changing machine (SUN Fire 280R) and begin from scratch.
So I installed mysql 2.0.21 and openssl  as recommended by Sun.

And then I had the following error in bold upon compilation.
However, this file is there !

I have seen this error in a newsgroup in early October but I did not see any answer provided. But of course freeradius runs on Sol 9!

So, has anybody come accross to this error ?

Thanks a lot,

Eva

----------------COMPILATION  LOG---------------------------------------------
make[6]: Leaving directory `/usr/local/src/freeradius-1.0.1/src/modules/rlm_unix'
Making static dynamic in rlm_x99_token...
make[6]: Entering directory `/usr/local/src/freeradius-1.0.1/src/modules/rlm_x99_token'
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 `/usr/local/src/freeradius-1.0.1/src/modules/rlm_x99_token'
make[5]: *** [common] Error 1
make[5]: Leaving directory `/usr/local/src/freeradius-1.0.1/src/modules'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/usr/local/src/freeradius-1.0.1/src/modules'
make[3]: *** [common] Error 1
make[3]: Leaving directory `/usr/local/src/freeradius-1.0.1/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/local/src/freeradius-1.0.1/src'
make[1]: *** [common] Error 1
make[1]: Leaving directory `/usr/local/src/freeradius-1.0.1'
make: *** [all] Error 2




Reply via email to