Compiling freeradius

Kristoffer Milligan kristoffer at nextnet.no
Mon Apr 26 15:40:40 CEST 2010


I'm trying to compile a fresh version of FreeRADIUS. I fetched the 
latest stable from
git://git.freeradius.org/freeradius-server.git using the information 
provided at http://git.freeradius.org/.

I am using the following configuration string:
./configure --with-experimental-modules


I want the experimental modules to support WiMAX.

Configuration works perfectly, but when building I get the following error:

make[6]: Leaving directory `/root/freeradius-server/src/modules/rlm_wimax'
make[5]: Leaving directory `/root/freeradius-server/src/modules'
make[4]: Leaving directory `/root/freeradius-server/src/modules'
Making all in main...
/usr/bin/make -w -C main all
make[4]: Entering directory `/root/freeradius-server/src/main'
/root/freeradius-server/libtool --mode=compile 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 -W -Wredundant-decls -Wundef 
-I/root/freeradius-server/src -DHOSTINFO=\"x86_64-unknown-linux-gnu\" 
-DRADIUSD_VERSION=\"2.2.0\"  -DOPENSSL_NO_KRB5  -c event.c
 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 -W -Wredundant-decls -Wundef 
-I/root/freeradius-server/src -DHOSTINFO=\"x86_64-unknown-linux-gnu\" 
-DRADIUSD_VERSION=\"2.2.0\" -DOPENSSL_NO_KRB5 -c event.c  -fPIC -DPIC -o 
.libs/event.o
event.c:634: warning: no previous prototype for 'revive_home_server'
event.c:852: warning: no previous prototype for 'mark_home_server_dead'
event.c: In function 'wait_a_bit':
event.c:1192: error: label 'stop_processing' used but not defined
event.c: In function 'radius_signal_self':
event.c:3819: warning: ignoring return value of 'write', declared with 
attribute warn_unused_result
make[4]: *** [event.lo] Error 1
make[4]: Leaving directory `/root/freeradius-server/src/main'
make[3]: *** [main] Error 2
make[3]: Leaving directory `/root/freeradius-server/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/freeradius-server/src'
make[1]: *** [src] Error 2
make[1]: Leaving directory `/root/freeradius-server'
make: *** [all] Error 2

Any suggestions to what I am messing up?

Thanks in advance,
Kristoffer Milligan



More information about the Freeradius-Users mailing list