Freeradius 1.1.0 build error

Rohaizam Abu Bakar haizam at myjaring.net
Fri Jan 13 09:54:11 CET 2006


I've got an error too.. but it's different

testing using FreeBSD 4.11 machine..

##############
rlm_attr_rewrite.c -o rlm_attr_rewrite.o
In file included from rlm_attr_rewrite.c:31:
/usr/include/regex.h:46: syntax error before `regoff_t'
/usr/include/regex.h:46: warning: type defaults to `int' in declaration of 
`regoff_t'
/usr/include/regex.h:46: warning: data definition has no type or storage 
class
/usr/include/regex.h:56: syntax error before `regoff_t'
rlm_attr_rewrite.c: In function `do_attr_rewrite':
rlm_attr_rewrite.c:314: structure has no member named `rm_so'
rlm_attr_rewrite.c:316: structure has no member named `rm_so'
rlm_attr_rewrite.c:318: structure has no member named `rm_eo'
rlm_attr_rewrite.c:318: structure has no member named `rm_so'
rlm_attr_rewrite.c:330: structure has no member named `rm_eo'
rlm_attr_rewrite.c:348: structure has no member named `rm_so'
rlm_attr_rewrite.c:357: structure has no member named `rm_so'
rlm_attr_rewrite.c:358: structure has no member named `rm_eo'
rlm_attr_rewrite.c:358: structure has no member named `rm_so'
rlm_attr_rewrite.c:359: structure has no member named `rm_eo'
rlm_attr_rewrite.c:359: structure has no member named `rm_so'
gmake[5]: *** [rlm_attr_rewrite.o] Error 1
gmake[5]: Leaving directory 
`/var/src/freeradius-1.1.0/src/modules/rlm_attr_rewrite'
gmake[4]: *** [common] Error 2
gmake[4]: Leaving directory `/var/src/freeradius-1.1.0/src/modules'
gmake[3]: *** [all] Error 2
gmake[3]: Leaving directory `/var/src/freeradius-1.1.0/src/modules'
gmake[2]: *** [common] Error 2
gmake[2]: Leaving directory `/var/src/freeradius-1.1.0/src'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/var/src/freeradius-1.1.0/src'
gmake: *** [common] Error 2
*** Error code 2
###############


----- Original Message ----- 
From: "Drew S. Dupont" <dsdupont at alumni.indiana.edu>
To: <freeradius-users at lists.freeradius.org>
Sent: Friday, January 13, 2006 11:07
Subject: Freeradius 1.1.0 build error


> When trying to compile the new release, I am unable to b/c it stops with 
> an error in the:
>
> Making install in rlm_sql_iodbc...
> gmake[11]: Entering directory 
> `/home/dsdupont/freeradius-1.1.0/src/modules/rlm_sql/drivers/rlm_sql_iodbc'
> [ "xrlm_sql_iodbc" = "x" ] || 
> /home/dsdupont/freeradius-1.1.0/libtool --mode=install 
> /home/dsdupont/freeradius-1.1.0/install-sh -c -c rlm_sql_iodbc.la 
> /home/dsdupont/freeradius/usr/local/lib/rlm_sql_iodbc.la
> libtool: install: `rlm_sql_iodbc.la' is not a valid libtool archive
> Try `libtool --help --mode=install' for more information.
>
> It does that for any module in the rlm_sql group. However, whenn I go and 
> type "make" inside the rlm_sql_iodbc dir. it compiles fine. I then go back 
> one and type "make" and it compiles fine. I can then return to the main 
> dir. and type "make" and it runs along until:
>
> Making static dynamic in rlm_otp...
> gmake[4]: Entering directory 
> `/home/dsdupont/freeradius-1.1.0/src/modules/rlm_otp'
> Making all in cardops ...
> gmake[5]: Entering directory 
> `/home/dsdupont/freeradius-1.1.0/src/modules/rlm_otp/cardops'
> gcc  -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DOPENSSL_NO_KRB5 -I/usr/local/ssl/includes 
>  -Wall -D_GNU_SOURCE -DNDEBUG -I../../../include -I/usr/local/ssl/includes 
>  -DOTP_MODULE_NAME="rlm_otp" -DFREERADIUS /usr/local/ssl/includes -c 
> cryptocard.c -o cryptocard.o
> gcc: cannot specify -o with -c or -S and multiple compilations
> gmake[5]: *** [cryptocard.o] Error 1
>
> If I make some of the remaining dirs. in the modules dir., it compiles 
> those. I have not tried all the remaining dirs. yet. However, I can not 
> get the rlm_otp dir. to compile.
>
> Thank you for your assistance,
> Drew Dupont
> -- 
> ------------------------------------------------------------------------------------------------------
>   Drew S. Dupont            dsdupont at alumni.indiana.edu
>   AIM: NetWhizOne            FWD #: 271144
>   YIM: dsdupont
> ------------------------------------------------------------------------------------------------------
> - List info/subscribe/unsubscribe? See 
> http://www.freeradius.org/list/users.html 




More information about the Freeradius-Users mailing list