[Serusers] Accounting module acc.so with Radius

Martin Koenig martin.koenig at toplink-plannet.de
Mon Jul 12 09:40:41 CEST 2004


Hi all,

trying to compile the acc.so module from 0.8.12-1rc5 stable cvs is giving me 
the following errors:

../../Makefile.modules:21: "you should run make from the main ser directory"
acc.c: In function `acc_rad_request':
acc.c:576: warning: passing arg 1 of `rc_avpair_add' from incompatible 
pointer type
acc.c:576: warning: passing arg 2 of `rc_avpair_add' makes pointer from 
integer without a cast
acc.c:576: warning: passing arg 3 of `rc_avpair_add' makes integer from 
pointer without a cast
acc.c:576: too few arguments to function `rc_avpair_add'
acc.c:581: warning: passing arg 1 of `rc_avpair_add' from incompatible 
pointer type
acc.c:581: warning: passing arg 2 of `rc_avpair_add' makes pointer from 
integer without a cast
acc.c:581: warning: passing arg 3 of `rc_avpair_add' makes integer from 
pointer without a cast
acc.c:581: too few arguments to function `rc_avpair_add'
acc.c:588: warning: passing arg 1 of `rc_avpair_add' from incompatible 
pointer type
acc.c:588: warning: passing arg 2 of `rc_avpair_add' makes pointer from 
integer without a cast
acc.c:588: warning: passing arg 3 of `rc_avpair_add' makes integer from 
pointer without a cast
acc.c:588: too few arguments to function `rc_avpair_add'
acc.c:593: warning: passing arg 1 of `rc_avpair_add' from incompatible 
pointer type
acc.c:593: warning: passing arg 2 of `rc_avpair_add' makes pointer from 
integer without a cast
acc.c:593: warning: passing arg 3 of `rc_avpair_add' makes integer from 
pointer without a cast
acc.c:593: too few arguments to function `rc_avpair_add'
acc.c:612: warning: passing arg 1 of `rc_avpair_add' from incompatible 
pointer type
acc.c:612: warning: passing arg 2 of `rc_avpair_add' makes pointer from 
integer without a cast
acc.c:612: warning: passing arg 3 of `rc_avpair_add' makes integer from 
pointer without a cast
acc.c:612: warning: passing arg 4 of `rc_avpair_add' makes pointer from 
integer without a cast
acc.c:612: too few arguments to function `rc_avpair_add'
acc.c:623: warning: passing arg 1 of `rc_avpair_add' from incompatible 
pointer type
acc.c:623: warning: passing arg 2 of `rc_avpair_add' makes pointer from 
integer without a cast
acc.c:623: warning: passing arg 3 of `rc_avpair_add' makes integer from 
pointer without a cast
acc.c:623: warning: passing arg 4 of `rc_avpair_add' makes pointer from 
integer without a cast
acc.c:623: too few arguments to function `rc_avpair_add'
acc.c:645: warning: passing arg 1 of `rc_avpair_add' from incompatible 
pointer type
acc.c:645: warning: passing arg 2 of `rc_avpair_add' makes pointer from 
integer without a cast
acc.c:645: warning: passing arg 3 of `rc_avpair_add' makes integer from 
pointer without a cast
acc.c:645: warning: passing arg 4 of `rc_avpair_add' makes pointer from 
integer without a cast
acc.c:645: too few arguments to function `rc_avpair_add'
acc.c:656: warning: passing arg 1 of `rc_avpair_add' from incompatible 
pointer type
acc.c:656: warning: passing arg 2 of `rc_avpair_add' makes pointer from 
integer without a cast
acc.c:656: warning: passing arg 3 of `rc_avpair_add' makes integer from 
pointer without a cast
acc.c:656: warning: passing arg 4 of `rc_avpair_add' makes pointer from 
integer without a cast
acc.c:656: too few arguments to function `rc_avpair_add'
acc.c:666: warning: passing arg 1 of `rc_avpair_add' from incompatible 
pointer type
acc.c:666: warning: passing arg 2 of `rc_avpair_add' makes pointer from 
integer without a cast
acc.c:666: warning: passing arg 3 of `rc_avpair_add' makes integer from 
pointer without a cast
acc.c:666: warning: passing arg 4 of `rc_avpair_add' makes pointer from 
integer without a cast
acc.c:666: too few arguments to function `rc_avpair_add'
acc.c:673: warning: passing arg 1 of `rc_acct' makes pointer from integer 
without a cast
acc.c:673: warning: passing arg 2 of `rc_acct' makes integer from pointer 
without a cast
acc.c:673: too few arguments to function `rc_acct'
make: *** [acc.o] Error 1

Any ideas?

Thanks alot,
Martin




More information about the sr-users mailing list