compile error with 1.0.5

Sebastian Wild sw at cronon.org
Tue Sep 13 15:58:25 CEST 2005


In file included from x99_rlm.c:54:
x99.h:26:42: openssl/des.h: No such file or directory


Looks like it looks for some openssl header files while compiling.
Dunno if u could disable that. You gotta look that up in the docu.
Or do ./configure --help in the freeradius source dir.
Maybe that'll give you some information about how to disable openssl 
support (if it is possible to do so).
anyhow if u have sshd installed u also have openssl installed since sshd 
depends on it. In this case you are just missing the headers....

cheers
Sebastian

Duane Cox wrote:

>Can someone help me out and tell me what I am missing or doing wrong to get this error.
>I do not have openSSL installed on this server and would like to not install it.
>Thanks!
>
>
>Making static dynamic in rlm_x99_token...
>make[6]: Entering directory `/usr/src/freeradius-1.0.5/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)
>make[6]: *** [x99_rlm.o] Error 1
>make[6]: Leaving directory `/usr/src/freeradius-1.0.5/src/modules/rlm_x99_token'
>make[5]: *** [common] Error 2
>make[5]: Leaving directory `/usr/src/freeradius-1.0.5/src/modules'
>make[4]: *** [all] Error 2
>make[4]: Leaving directory `/usr/src/freeradius-1.0.5/src/modules'
>make[3]: *** [common] Error 2
>make[3]: Leaving directory `/usr/src/freeradius-1.0.5/src'
>make[2]: *** [all] Error 2
>make[2]: Leaving directory `/usr/src/freeradius-1.0.5/src'
>make[1]: *** [common] Error 2
>make[1]: Leaving directory `/usr/src/freeradius-1.0.5'
>make: *** [all] Error 2
>root at apollo:/usr/src/freeradius-1.0.5#
>
>- 
>List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
>  
>


lg
S.Wild

-- 
Cronon AG 
Technik
+49 941 56 71 23 95 Fon
+49 941 58 41 03 9  Fon Technik zentral
+49 941 59 57 91 64 Fax




More information about the Freeradius-Users mailing list