I am using ser-0.9.0 and freeradius-0.9.1, i install free radius succefull but when i try to recompile ser the auth_radius.so module doest not create and i get the following errors. /***************************************************************************************************************************************************/ make[1]: Entering directory `/usr/ser-0.9.0/modules/group_radius' gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align -Wall -minline-all-stringops -malign-double -falign-loops -mcpu=i686 -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 -I/usr/local/include -c group.c -o group.o In file included from ../../parser/parse_uri.h:38, from group.c:42: ../../parser/msg_parser.h: In function `get_body': ../../parser/msg_parser.h:314: warning: comparison between signed and unsigned ../../parser/msg_parser.h:316: warning: comparison between signed and unsigned group.c: In function `radius_is_user_in': group.c:194: warning: passing arg 2 of `rc_avpair_add' makes integer from pointer without a cast group.c:194: warning: passing arg 3 of `rc_avpair_add' makes pointer from integer without a cast group.c:194: warning: passing arg 4 of `rc_avpair_add' makes integer from pointer without a cast group.c:194: error: too many arguments to function `rc_avpair_add' group.c:203: warning: passing arg 2 of `rc_avpair_add' makes integer from pointer without a cast group.c:203: warning: passing arg 3 of `rc_avpair_add' makes pointer from integer without a cast group.c:203: warning: passing arg 4 of `rc_avpair_add' makes integer from pointer without a cast group.c:203: error: too many arguments to function `rc_avpair_add' group.c:209: warning: passing arg 2 of `rc_avpair_add' makes integer from pointer without a cast group.c:209: warning: passing arg 3 of `rc_avpair_add' makes pointer from integer without a cast group.c:209: warning: passing arg 4 of `rc_avpair_add' makes integer from pointer without a cast group.c:209: error: too many arguments to function `rc_avpair_add' group.c:215: warning: passing arg 1 of `rc_auth' makes integer from pointer without a cast group.c:215: warning: passing arg 3 of `rc_auth' from incompatible pointer type group.c:215: warning: passing arg 4 of `rc_auth' from incompatible pointer type group.c:215: error: too many arguments to function `rc_auth' make[1]: *** [group.o] Error 1 /***************************************************************************************************************************************************/ Any Help.
this SER version requires a different radius client library: http://developer.berlios.de/projects/radiusclient-ng/
bogdan
Brahim wrote:
I am using ser-0.9.0 and freeradius-0.9.1, i install free radius succefull but when i try to recompile ser the auth_radius.so module doest not create and i get the following errors. /***************************************************************************************************************************************************/ make[1]: Entering directory `/usr/ser-0.9.0/modules/group_radius' gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align -Wall -minline-all-stringops -malign-double -falign-loops -mcpu=i686 -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 -I/usr/local/include -c group.c -o group.o In file included from ../../parser/parse_uri.h:38, from group.c:42: ../../parser/msg_parser.h: In function `get_body': ../../parser/msg_parser.h:314: warning: comparison between signed and unsigned ../../parser/msg_parser.h:316: warning: comparison between signed and unsigned group.c: In function `radius_is_user_in': group.c:194: warning: passing arg 2 of `rc_avpair_add' makes integer from pointer without a cast group.c:194: warning: passing arg 3 of `rc_avpair_add' makes pointer from integer without a cast group.c:194: warning: passing arg 4 of `rc_avpair_add' makes integer from pointer without a cast group.c:194: error: too many arguments to function `rc_avpair_add' group.c:203: warning: passing arg 2 of `rc_avpair_add' makes integer from pointer without a cast group.c:203: warning: passing arg 3 of `rc_avpair_add' makes pointer from integer without a cast group.c:203: warning: passing arg 4 of `rc_avpair_add' makes integer from pointer without a cast group.c:203: error: too many arguments to function `rc_avpair_add' group.c:209: warning: passing arg 2 of `rc_avpair_add' makes integer from pointer without a cast group.c:209: warning: passing arg 3 of `rc_avpair_add' makes pointer from integer without a cast group.c:209: warning: passing arg 4 of `rc_avpair_add' makes integer from pointer without a cast group.c:209: error: too many arguments to function `rc_avpair_add' group.c:215: warning: passing arg 1 of `rc_auth' makes integer from pointer without a cast group.c:215: warning: passing arg 3 of `rc_auth' from incompatible pointer type group.c:215: warning: passing arg 4 of `rc_auth' from incompatible pointer type group.c:215: error: too many arguments to function `rc_auth' make[1]: *** [group.o] Error 1 /***************************************************************************************************************************************************/ Any Help.
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers