[Serusers] Error compiling Radius and ACC

Harold Workman hworkman at cytelcom.com
Thu Apr 22 16:24:11 CEST 2004


Hi,

Ive got the latest ser from cvs, and cannot compile acc or radius.  I have
already  installed radius server, radius client_0-3-2  I edited the make files
and here is what i get when i attempt to compile them. 


make[1]: Entering directory `/usr/local/sip_router/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.8.13-dev-28"' -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_TCP -DDISABLE_NAGLE -DF_MALLOC  -DFAST_LOCK
-DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024  -DHAVE_GETHOSTBYNAME2
-DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL
-DHAVE_MSGHDR_MSG_CONTROL -DRAD_ACC -I/usr/local/include -c acc.c -o acc.o
acc.c: In function `acc_rad_request':
acc.c:597: warning: passing arg 2 of `rc_avpair_add' makes integer from pointer
without a cast
acc.c:597: warning: passing arg 3 of `rc_avpair_add' makes pointer from integer
without a cast
acc.c:597: warning: passing arg 4 of `rc_avpair_add' makes integer from pointer
without a cast
acc.c:597: error: too many arguments to function `rc_avpair_add'
acc.c:602: warning: passing arg 2 of `rc_avpair_add' makes integer from pointer
without a cast
acc.c:602: warning: passing arg 3 of `rc_avpair_add' makes pointer from integer
without a cast
acc.c:602: warning: passing arg 4 of `rc_avpair_add' makes integer from pointer
without a cast
acc.c:602: error: too many arguments to function `rc_avpair_add'
acc.c:609: warning: passing arg 2 of `rc_avpair_add' makes integer from pointer
without a cast
acc.c:609: warning: passing arg 3 of `rc_avpair_add' makes pointer from integer
without a cast
acc.c:609: warning: passing arg 4 of `rc_avpair_add' makes integer from pointer
without a cast
acc.c:609: error: too many arguments to function `rc_avpair_add'
acc.c:614: warning: passing arg 2 of `rc_avpair_add' makes integer from pointer
without a cast
acc.c:614: warning: passing arg 3 of `rc_avpair_add' makes pointer from integer
without a cast
acc.c:614: warning: passing arg 4 of `rc_avpair_add' makes integer from pointer
without a cast
acc.c:614: error: too many arguments to function `rc_avpair_add'
acc.c:633: warning: passing arg 2 of `rc_avpair_add' makes integer from pointer
without a cast
acc.c:633: warning: passing arg 3 of `rc_avpair_add' makes pointer from integer
without a cast
acc.c:633: warning: passing arg 4 of `rc_avpair_add' makes integer from pointer
without a cast
acc.c:633: error: too many arguments to function `rc_avpair_add'
acc.c:644: warning: passing arg 2 of `rc_avpair_add' makes integer from pointer
without a cast
acc.c:644: warning: passing arg 3 of `rc_avpair_add' makes pointer from integer
without a cast
acc.c:644: warning: passing arg 4 of `rc_avpair_add' makes integer from pointer
without a cast
acc.c:644: error: too many arguments to function `rc_avpair_add'
acc.c:666: warning: passing arg 2 of `rc_avpair_add' makes integer from pointer
without a cast
acc.c:666: warning: passing arg 3 of `rc_avpair_add' makes pointer from integer
without a cast
acc.c:666: warning: passing arg 4 of `rc_avpair_add' makes integer from pointer
without a cast
acc.c:666: error: too many arguments to function `rc_avpair_add'
acc.c:677: warning: passing arg 2 of `rc_avpair_add' makes integer from pointer
without a cast
acc.c:677: warning: passing arg 3 of `rc_avpair_add' makes pointer from integer
without a cast
acc.c:677: warning: passing arg 4 of `rc_avpair_add' makes integer from pointer
without a cast
acc.c:677: error: too many arguments to function `rc_avpair_add'
acc.c:687: warning: passing arg 2 of `rc_avpair_add' makes integer from pointer
without a cast
acc.c:687: warning: passing arg 3 of `rc_avpair_add' makes pointer from integer
without a cast
acc.c:687: warning: passing arg 4 of `rc_avpair_add' makes integer from pointer
without a cast
acc.c:687: error: too many arguments to function `rc_avpair_add'
acc.c:694: warning: passing arg 1 of `rc_acct' makes integer from pointer
without a cast
acc.c:694: warning: passing arg 2 of `rc_acct' makes pointer from integer
without a cast
acc.c:694: error: too many arguments to function `rc_acct'
make[1]: *** [acc.o] Error 1
make[1]: Leaving directory `/usr/local/sip_router/modules/acc




Harold Workman
CCNA, CCNP
Cytel Communications
hworkman at cytelcom.com
Ph. 281-449-4000 x3098





----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.




More information about the sr-users mailing list