[Serusers] Problems compiling acc, auth_radius, group_radius, uri_radius

Maxim Sobolev sobomax at portaone.com
Mon Jun 21 15:41:15 CEST 2004


Use 0.3.x version of radiusclient with 0.8.12. 0.4.x had some API 
changes and currently can only be used with cvs version of ser.

-Maxim

Adrian Acosta wrote:

> Hi, now i have these errors when compiling those modules:
> 
> For auth_radius:
> 
> gmake[1]: Entering directory 
> `/root/installers/ser/src/ser-0.8.12/modules/auth_radius'
> gcc -fPIC -DPIC -g -O9 -funroll-loops  -Wcast-align  -Wall  -m486 
> -malign-loops=4     -DNAME='"ser"' -DVERSION='"0.8.12"' -DARCH='"i386"' 
> -DOS='"freebsd"' -DCOMPILER='"gcc 2.95"' -D__CPU_i386 -D__OS_freebsd 
> -DCFG_DIR='"/usr/local/etc/ser/"' -DPKG_MALLOC -DSHM_MEM  -DSHM_MMAP 
> -DDNS_IP_HACK -DUSE_IPV6 -DUSE_TCP -DDISABLE_NAGLE -DF_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 -DRAD_ACC -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'
> gmake[1]: *** [authrad_mod.o] Error 1
> gmake[1]: Leaving directory 
> `/root/installers/ser/src/ser-0.8.12/modules/auth_radius'
> 
> 
> 
> I got similar errors when compiling acc, group_radius and uri_radius.
> 
> I have installed radiusclient-0.4.2 that I downloaded from Berlios. Ser 
> is ver 0.8.12 compiled from source in freebsd 4.9 machine.
> 
> 
> Any idea?
> 
> Adrian.
> 
> _________________________________________________________________
> Add photos to your messages with MSN 8. Get 2 months FREE*. 
> http://join.msn.com/?page=features/featuredemail
> 
> _______________________________________________
> Serusers mailing list
> serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
> 
> 
> 





More information about the sr-users mailing list