[Serdev] acc module compilation error 0.8.13-dev
radan
radan at nasty.gda.pl
Sat Jan 17 20:25:03 UTC 2004
Hi all !
0.8.13-dev-23-merged
I have problem with acc module with
radius accounting
When I uncoment lines for radius accounting I obtain following
error
../../Makefile.modules:21: "you should run make from the main ser
directory"
gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align -Wall
-minline-all-stringops -malign-double -falign-loops -mcpu=athlon
-DNAME='"acc.so"' -DVERSION='"0.8.13-dev-23-merged"' -DARCH='"i386"'
-DOS='"linux"' -DCOMPILER='"gcc 3.2"' -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 -DFAST_LOCK
-DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_GETHOSTBYNAME2
-DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL
-DHAVE_MSGHDR_MSG_CONTROL -DSQL_ACC -DRAD_ACC -I/opt/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: too many arguments to function `rc_avpair_add'
..................
.................
acc.c:687: 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: too many arguments to function `rc_acct'
make: *** [acc.o] Error 1
This problem doesn't exist in 0.8.12
Any ideas
Thanks
Andrzej
More information about the Serdev
mailing list