Hello all,
I made a CVS checkout yesterday. While trying to compile i get the following errors for auth_radius, group_radius, and uri_radius modules. Can anyone tell me what is going wrong?
[root@localhost sip_router]# make modules=modules/auth_radius modules
make[1]: Entering directory `/home/girish/ser/sip_router/modules/auth_radius' gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align -Wall -minline-all-stringops -malign-double -falign-loops -mcpu=athlon -DNAME='"ser"' -DVERSION='"0.8.13-dev-33-usrloc"' -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_MCAST -DUSE_TCP -DDISABLE_NAGLE -DF_MALLOC -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -I/usr/local/include -c authrad_mod.c -o authrad_mod.o authrad_mod.c: In function `mod_init': authrad_mod.c:111: `DICT_VENDOR' undeclared (first use in this function) authrad_mod.c:111: (Each undeclared identifier is reported only once authrad_mod.c:111: for each function it appears in.) authrad_mod.c:111: `vend' undeclared (first use in this function) authrad_mod.c:135: warning: assignment makes pointer from integer without a cast authrad_mod.c:140: too many arguments to function `rc_conf_str' authrad_mod.c:140: too many arguments to function `rc_read_dictionary' authrad_mod.c:145: warning: implicit declaration of function `rc_dict_findvend' authrad_mod.c:163: too many arguments to function `rc_dict_findattr' authrad_mod.c:163: too many arguments to function `rc_dict_findval' make[1]: *** [authrad_mod.o] Error 1 make[1]: Leaving directory `/home/girish/ser/sip_router/modules/auth_radius'
[root@localhost sip_router]# make modules=modules/group_radius modules
make[1]: Entering directory `/home/girish/ser/sip_router/modules/group_radius' ../../Makefile.rules:77: group.d: No such file or directory ../../Makefile.rules:77: grouprad_mod.d: No such file or directory make[1]: Leaving directory `/home/girish/ser/sip_router/modules/group_radius' make[1]: Entering directory `/home/girish/ser/sip_router/modules/group_radius' gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align -Wall -minline-all-stringops -malign-double -falign-loops -mcpu=athlon -DNAME='"ser"' -DVERSION='"0.8.13-dev-33-usrloc"' -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_MCAST -DUSE_TCP -DDISABLE_NAGLE -DF_MALLOC -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -I/usr/local/include -c group.c -o group.o 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: 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: 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: 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: too many arguments to function `rc_auth' make[1]: *** [group.o] Error 1 make[1]: Leaving directory `/home/girish/ser/sip_router/modules/group_radius'
[root@localhost sip_router]# make modules=modules/uri_radius modules
make[1]: Entering directory `/home/girish/ser/sip_router/modules/uri_radius' make[1]: Leaving directory `/home/girish/ser/sip_router/modules/uri_radius' make[1]: Entering directory `/home/girish/ser/sip_router/modules/uri_radius' gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align -Wall -minline-all-stringops -malign-double -falign-loops -mcpu=athlon -DNAME='"ser"' -DVERSION='"0.8.13-dev-33-usrloc"' -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_MCAST -DUSE_TCP -DDISABLE_NAGLE -DF_MALLOC -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -I/usr/local/include -c checks.c -o checks.o checks.c: In function `radius_does_uri_exist': checks.c:77: warning: passing arg 2 of `rc_avpair_add' makes integer from pointer without a cast checks.c:77: warning: passing arg 3 of `rc_avpair_add' makes pointer from integer without a cast checks.c:77: warning: passing arg 4 of `rc_avpair_add' makes integer from pointer without a cast checks.c:77: too many arguments to function `rc_avpair_add' checks.c:85: too many arguments to function `rc_avpair_add' make[1]: *** [checks.o] Error 1 make[1]: Leaving directory `/home/girish/ser/sip_router/modules/uri_radius'
===== Girish Gopinath gr_sh2003@yahoo.com
__________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages! http://promotions.yahoo.com/new_mail
On Jul 08, 2004 at 04:14, GR S gr_sh2003@yahoo.com wrote:
Hello all,
I made a CVS checkout yesterday. While trying to compile i get the following errors for auth_radius, group_radius, and uri_radius modules. Can anyone tell me what is going wrong?
You are using unstable with switched to the radiusclient-ng library and probably you are using the older version.
See http://developer.berlios.de/projects/radiusclient-ng/
Andrei
Hi Andrei,
--- Andrei Pelinescu-Onciul pelinescu-onciul@fokus.fraunhofer.de wrote:
You are using unstable with switched to the radiusclient-ng library and probably you are using the older version.
Thanks for the help, I have downloaded the latest version of radiusclient (0.4.2) and now there are no compile errors, everything is installed properly.
Andrei
Regards,
===== Girish Gopinath gr_sh2003@yahoo.com
__________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage! http://promotions.yahoo.com/new_mail