use this :
http://www.howtoforge.com/how-to-create-a-freeradius-2.1.1-6-rpm-package-on-centos-5.2

for your version freeradius, I m use this.

----- Original Message ----- From: "Thor Spruyt" <thor.spr...@telenet.be>
To: <freeradius-users@lists.freeradius.org>
Sent: Friday, April 10, 2009 8:43 PM
Subject: freeradius-server-2.1.4 make fails


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




-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to