[Serusers] Cannot compile auth_radius, group_radius and uri_radius !!

Jose Bertuzzi pablo_bertuzzi at yahoo.com
Mon Dec 27 03:43:44 CET 2004


Hello Guys, I am running ser-0.9.0 on a freeBSD machine. Igot the following error when compiling:
 
 
 
sip# gmake modules=modules/uri_radius modules

gmake[1]: Entering directory `/root/src/ser/ser-0.9.0/modules/uri_radius'
../../Makefile.rules:77: checks.d: No such file or directory
../../Makefile.rules:77: urirad_mod.d: No such file or directory
gmake[1]: Leaving directory `/root/src/ser/ser-0.9.0/modules/uri_radius'
gmake[1]: Entering directory `/root/src/ser/ser-0.9.0/modules/uri_radius'
gcc -fPIC -DPIC -g -O9 -funroll-loops  -Wcast-align  -Wall   -minline-all-stringops -malign-double -falign-loops -mtune=athlon      -DNAME='"ser"' -DVERSION='"0.9.0"' -DARCH='"i386"' -DOS='"freebsd"' -DCOMPILER='"gcc 3.4"' -D__CPU_i386 -D__OS_freebsd -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_SOCKADDR_SA_LEN -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -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: error: too many arguments to function `rc_avpair_add'
checks.c:85: warning: passing arg 2 of `rc_avpair_add' makes integer from pointer without a cast
checks.c:85: warning: passing arg 3 of `rc_avpair_add' makes pointer from integer without a cast
checks.c:85: warning: passing arg 4 of `rc_avpair_add' makes integer from pointer without a cast
checks.c:85: error: too many arguments to function `rc_avpair_add'
checks.c:92: warning: passing arg 1 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: error: too many arguments to function `rc_auth'
gmake[1]: *** [checks.o] Error 1
gmake[1]: Leaving directory `/root/src/ser/ser-0.9.0/modules/uri_radius'
sip#
sip# gmake modules=modules/auth_radius modules

gmake[1]: Entering directory `/root/src/ser/ser-0.9.0/modules/auth_radius'
gcc -fPIC -DPIC -g -O9 -funroll-loops  -Wcast-align  -Wall   -minline-all-stringops -malign-double -falign-loops -mtune=athlon      -DNAME='"ser"' -DVERSION='"0.9.0"' -DARCH='"i386"' -DOS='"freebsd"' -DCOMPILER='"gcc 3.4"' -D__CPU_i386 -D__OS_freebsd -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_SOCKADDR_SA_LEN -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -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:110: error: `DICT_VENDOR' undeclared (first use in this function)
authrad_mod.c:110: error: (Each undeclared identifier is reported only once
authrad_mod.c:110: error: for each function it appears in.)
authrad_mod.c:110: error: `vend' undeclared (first use in this function)
authrad_mod.c:134: warning: assignment makes pointer from integer without a cast
authrad_mod.c:139: error: too many arguments to function `rc_conf_str'
authrad_mod.c:139: error: too many arguments to function `rc_read_dictionary'
authrad_mod.c:144: warning: implicit declaration of function `rc_dict_findvend'
authrad_mod.c:159: error: too many arguments to function `rc_dict_findattr'
authrad_mod.c:159: error: too many arguments to function `rc_dict_findval'
gmake[1]: *** [authrad_mod.o] Error 1
gmake[1]: Leaving directory `/root/src/ser/ser-0.9.0/modules/auth_radius'
sip#

 
 
What could be wrong? I had the same errors when using 0.8.14
 
thanks,
 
Pablo.

		
---------------------------------
Do you Yahoo!?
 Yahoo! Mail - Find what you need with new enhanced search. Learn more.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20041226/9dbe5b23/attachment.htm>


More information about the sr-users mailing list