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
That probably because you have Maxim's version of radiusclient library installed, but stable version of SER uses the original (older) version.
Jan.
On 12-07 09:40, Martin Koenig wrote:
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
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
ftp://ftp.cityline.net/pub/radiusclient/
Jan.
On 12-07 09:56, Martin Koenig wrote:
Hi Jan,
Jan Janak wrote:
That probably because you have Maxim's version of radiusclient library installed, but stable version of SER uses the original (older) version.
You are right. Where can i get the older version? Link in the How-To is dead...
Thanks, Martin