problem installing freeradius
Tomas D
tod018 at londonmet.ac.uk
Fri Oct 10 11:45:31 CEST 2008
Hi,
I'm trying to fetch radius from git and install it on my ubuntu server.
I'm having some issues compiling radius...
Here's what I'm doing;
get
root at DEV1:~# git clone git://git.freeradius.org/freeradius-server.git radiusd
Initialized empty Git repository in /root/radiusd/.git/
remote: Counting objects: 59514, done.
remote: Compressing objects: 100% (14414/14414), done.
remote: Total 59514 (delta 46293), reused 57698 (delta 44971)
Receiving objects: 100% (59514/59514), 11.36 MiB | 2308 KiB/s, done.
Resolving deltas: 100% (46293/46293), done.
update
root at DEV1:~# cd radiusd/
root at DEV1:~/radiusd# git pull origin master:master
Already up-to-date.
configure
...
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
make
make[6]: Leaving directory `/root/radiusd/src/modules/frs_detail'
Making all in frs_dhcp...
make[6]: Entering directory `/root/radiusd/src/modules/frs_dhcp'
/bin/sh /root/radiusd/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/radiusd/src -I/root/radiusd/libltdl -c
frs_dhcp.c
libtool: 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/radiusd/src -I/root/radiusd/libltdl -c frs_dhcp.c -fPIC -DPIC -o
.libs/frs_dhcp.o
frs_dhcp.c:183: error: 'RAD_LISTEN_DHCP' undeclared here (not in a function)
make[6]: *** [frs_dhcp.lo] Error 1
make[6]: Leaving directory `/root/radiusd/src/modules/frs_dhcp'
make[5]: *** [common] Error 2
make[5]: Leaving directory `/root/radiusd/src/modules'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/root/radiusd/src/modules'
make[3]: *** [common] Error 2
make[3]: Leaving directory `/root/radiusd/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/radiusd/src'
make[1]: *** [common] Error 2
make[1]: Leaving directory `/root/radiusd'
make: *** [all] Error 2
I tried configuring without dhcp (even though it is not enabled by default
anyway...)
./configure --without-dhcp
but still get same error
Can somebody advise please?
Companies Act 2006 : http://www.londonmet.ac.uk/companyinfo
More information about the Freeradius-Users
mailing list