Hello,
When i try to compile ser (from cvs stable branch) with radius modules i
have this error.
ERROR: module modules/auth_radius/auth_radius.so not compiled
ERROR: module modules/group_radius/group_radius.so not compiled
ERROR: module modules/uri_radius/uri_radius.so not compiled
make[1]: Entering directory `/root/sip_router/modules/auth_radius'
gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align -Wall -minline-all-str
ingops -malign-double -falign-loops -mcpu=athlon -DNAME='"ser"'
-DVERSI
ON='"0.8.12-tcp_nonb"' -DARCH='"i386"'
-DOS='"linux"' -DCOMPILER='"gcc
3.2"' -D__CPU_i386 -D__OS_linux
-DCFG_DIR='"/usr/local/etc/ser/"' -DPKG_MALL
OC -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK -DUSE_IPV6 -DUSE_TCP -DDISABLE_NAGLE
-DF_MALLOC -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_G
ETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHA
VE_MSGHDR_MSG_CONTROL -c authrad_mod.c -o authrad_mod.o
authrad_mod.c: In function `mod_init':
authrad_mod.c:113: warning: passing arg 1 of `rc_conf_str' from incompatible
pointer type
authrad_mod.c:113: too few arguments to function `rc_conf_str'
authrad_mod.c:113: warning: passing arg 1 of `rc_read_dictionary' from
incompatible pointer type
authrad_mod.c:113: too few arguments to function `rc_read_dictionary'
make[1]: *** [authrad_mod.o] Error 1
make[1]: Entering directory `/root/sip_router/modules/group_radius'
gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align -Wall -minline-all-str
ingops -malign-double -falign-loops -mcpu=athlon -DNAME='"ser"'
-DVERSI
ON='"0.8.12-tcp_nonb"' -DARCH='"i386"'
-DOS='"linux"' -DCOMPILER='"gcc
3.2"' -D__CPU_i386 -D__OS_linux
-DCFG_DIR='"/usr/local/etc/ser/"' -DPKG_MALL
OC -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK -DUSE_IPV6 -DUSE_TCP -DDISABLE_NAGLE
-DF_MALLOC -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_G
ETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHA
VE_MSGHDR_MSG_CONTROL -c group.c -o group.o
group.c: In function `radius_is_user_in':
group.c:194: warning: passing arg 1 of `rc_avpair_add' from incompatible
pointer type
group.c:194: warning: passing arg 2 of `rc_avpair_add' makes pointer from
integer without a cast
group.c:194: warning: passing arg 3 of `rc_avpair_add' makes integer from
pointer without a cast
group.c:194: warning: passing arg 4 of `rc_avpair_add' makes pointer from
integer without a cast
group.c:194: too few arguments to function `rc_avpair_add'
group.c:203: warning: passing arg 1 of `rc_avpair_add' from incompatible
pointer type
group.c:203: warning: passing arg 2 of `rc_avpair_add' makes pointer from
integer without a cast
group.c:203: warning: passing arg 3 of `rc_avpair_add' makes integer from
pointer without a cast
group.c:203: warning: passing arg 4 of `rc_avpair_add' makes pointer from
integer without a cast
group.c:203: too few arguments to function `rc_avpair_add'
group.c:209: warning: passing arg 1 of `rc_avpair_add' from incompatible
pointer type
group.c:209: warning: passing arg 2 of `rc_avpair_add' makes pointer from
integer without a cast
group.c:209: warning: passing arg 3 of `rc_avpair_add' makes integer from
pointer without a cast
group.c:209: too few arguments to function `rc_avpair_add'
group.c:215: warning: passing arg 2 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: too few arguments to function `rc_auth'
make[1]: *** [group.o] Error 1
make[1]: Entering directory `/root/sip_router/modules/uri_radius'
gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align -Wall -minline-all-str
ingops -malign-double -falign-loops -mcpu=athlon -DNAME='"ser"'
-DVERSI
ON='"0.8.12-tcp_nonb"' -DARCH='"i386"'
-DOS='"linux"' -DCOMPILER='"gcc
3.2"' -D__CPU_i386 -D__OS_linux
-DCFG_DIR='"/usr/local/etc/ser/"' -DPKG_MALL
OC -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK -DUSE_IPV6 -DUSE_TCP -DDISABLE_NAGLE
-DF_MALLOC -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_G
ETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHA
VE_MSGHDR_MSG_CONTROL -c checks.c -o
checks.o
checks.c: In function `radius_does_uri_exist':
checks.c:77: warning: passing arg 1 of `rc_avpair_add' from incompatible
pointer type
checks.c:77: warning: passing arg 2 of `rc_avpair_add' makes pointer from
integer without a cast
checks.c:77: warning: passing arg 3 of `rc_avpair_add' makes integer from
pointer without a cast
checks.c:77: too few arguments to function `rc_avpair_add'
checks.c:85: warning: passing arg 1 of `rc_avpair_add' from incompatible
pointer type
checks.c:85: warning: passing arg 2 of `rc_avpair_add' makes pointer from
integer without a cast
checks.c:85: warning: passing arg 3 of `rc_avpair_add' makes integer from
pointer without a cast
checks.c:85: too few arguments to function `rc_avpair_add'
checks.c:92: warning: passing arg 2 of `rc_auth' makes integer from pointer
without a cast
checks.c:92: warning: passing arg 3 of `rc_auth' from incompatible pointer
type
checks.c:92: warning: passing arg 4 of `rc_auth' from incompatible pointer
type
checks.c:92: too few arguments to function `rc_auth'