freeradius-server-2.1.4 make fails

Thor Spruyt thor.spruyt at telenet.be
Fri Apr 10 18:43:05 CEST 2009


Hi,

I'm trying to compile freeradius-server-2.1.4 on CentOS 4.6 32-bit

Configure command:
./configure --prefix=/opt/freeradius-2.1.4 --with-mysql --with-postgresql --with-openldap --without-snmp --without-openssl --without-krb5 --without-vmps

But make fails:
/home/thor/freeradius-server-2.1.4/libtool --mode=compile gcc  -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -I/home/thor/freeradius-server-2.1.4/src -DHOSTINFO=\"i686-pc-linux-gnu\" -DRADIUSD_VERSION=\"2.1.5\"  -DNO_OPENSSL  -c listen.c
 gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -I/home/thor/freeradius-server-2.1.4/src -DHOSTINFO=\"i686-pc-linux-gnu\" -DRADIUSD_VERSION=\"2.1.5\" -DNO_OPENSSL -c listen.c  -fPIC -DPIC -o .libs/listen.o
listen.c: In function `client_listener_find':
listen.c:126: warning: passing arg 1 of pointer to function discards qualifiers from pointer target type
listen.c:206: warning: assignment discards qualifiers from pointer target type
In file included from listen.c:1053:
command.c: In function `command_show_client_config':
command.c:845: warning: passing arg 2 of `cf_section2file' discards qualifiers from pointer target type
listen.c: In function `listen_init':
listen.c:1795: error: `RAD_LISTEN_VQP' undeclared (first use in this function)
listen.c:1795: error: (Each undeclared identifier is reported only once
listen.c:1795: error: for each function it appears in.)
gmake[4]: *** [listen.lo] Error 1
gmake[4]: Leaving directory `/home/thor/freeradius-server-2.1.4/src/main'
gmake[3]: *** [common] Error 2
gmake[3]: Leaving directory `/home/thor/freeradius-server-2.1.4/src'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/home/thor/freeradius-server-2.1.4/src'
gmake[1]: *** [common] Error 2
gmake[1]: Leaving directory `/home/thor/freeradius-server-2.1.4'
make: *** [all] Error 2

Any idea what's going wrong?

Regards,
Thor Spruyt







More information about the Freeradius-Users mailing list