[Serusers] Compile Errors

GR S gr_sh2003 at yahoo.com
Thu Jul 8 13:14:19 CEST 2004


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 at 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 at 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 at 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 at yahoo.com>


		
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail 




More information about the sr-users mailing list