[Serusers] problem compiling ser 0.9 with radius support

Edgardo O. Gonzales II edgardo.g at pacific.net.ph
Fri Apr 29 15:43:11 CEST 2005



Hi!

Can somebody teach mo how to fix this error .. I already install my 
radiusclient-ng-0.5.0. Thanks ..

chrome:/usr/local/src/installer/ser-0.9.0# make debug=all all


make[1]: Entering directory `/usr/local/src/installer/ser-0.9.0/modules/acc'
gcc -fPIC -DPIC -g -O9 
-funroll-loops  -Wcast-align  -Wall   -minline-all-stringops -malign-double 
-falign-loops -mcpu=athlon      -DNAME='"ser"' -DVERSION='"0.9.0"' 
-DARCH='"i386"' -DOS='"linux"' -DCOMPILER='"gcc 3.3"' -D__CPU_i386 
-D__OS_linux -DCFG_DIR='"/usr/local/etc/ser/"' -DPKG_MALLOC 
-DSHM_MEM  -DSHM_MMAP -DDNS_IP_HACK -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP 
-DDISABLE_NAGLE -DDBG_QM_MALLOC  -DFAST_LOCK -DADAPTIVE_WAIT 
-DADAPTIVE_WAIT_LOOPS=1024  -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN 
-DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL 
-DHAVE_ALLOCA_H -DSQL_ACC -DRAD_ACC -I/usr/local/include -c acc.c -o acc.o
acc.c: In function `acc_rad_request':
acc.c:663: warning: passing arg 2 of `rc_avpair_add' makes integer from 
pointer without a cast
acc.c:663: warning: passing arg 3 of `rc_avpair_add' makes pointer from 
integer without a cast
acc.c:663: warning: passing arg 4 of `rc_avpair_add' makes integer from 
pointer without a cast
acc.c:663: error: too many arguments to function `rc_avpair_add'
acc.c:668: warning: passing arg 2 of `rc_avpair_add' makes integer from 
pointer without a cast
acc.c:668: warning: passing arg 3 of `rc_avpair_add' makes pointer from 
integer without a cast





More information about the sr-users mailing list