[Users] acc with radius compilation error

jayesh nambiar jayesh_1017 at yahoo.com
Sun Oct 16 20:49:03 CEST 2005


hi daniel,
I've installed all the needed libraries but i still get the following error while compiling:

make[1]: Entering directory `/usr/local/src/openser-0.9.5/modules/acc'
make[1]: Leaving directory `/usr/local/src/openser-0.9.5/modules/acc'
make[1]: Entering directory `/usr/local/src/openser-0.9.5/modules/acc'
gcc -fPIC -DPIC -g -O9 -funroll-loops  -Wcast-align  -Wall   -minline-all-stringops -malign-double -falign-loops -mtune=athlon      -DNAME='"openser"' -DVERSION='"0.9.5"' -DARCH='"i386"' -DOS='"linux"' -DCOMPILER='"gcc 4.0"' -D__CPU_i386 -D__OS_linux -DCFG_DIR='"/usr/local/etc/openser/"' -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 -DHAVE_ALLOCA_H -DSQL_ACC -DRAD_ACC -I/usr/local/include -DRAD_ACC -I/usr/local/include -c acc.c -o acc.o
In file included from acc.c:45:
acc.h:99: error: array type has incomplete element type
acc.h:100: error: array type has incomplete element type
make[1]: *** [acc.o] Error 1
make[1]: Leaving directory `/usr/local/src/openser-0.9.5/modules/acc'
 
Can you pls make me understand what this error is so that I can compile openser with radius support.
 
Thanks.
jayesh

Daniel-Constantin Mierla <daniel at voice-system.ro> wrote:
Hello,

you need to install first the radiusclient-ng library.
http://developer.berlios.de/projects/radiusclient-ng/
http://download.berlios.de/radiusclient-ng/radiusclient-ng-0.5.1.tar.gz

Cheers,
Daniel

On 10/16/05 15:27, jayesh nambiar wrote:
> hi all,
> I am using openser 0.9.5. I wanted to radius only accounting. I 
> downloaded radius from freeradius. But while compiling acc with radius 
> support it gives an error.
> I am running openser on fedora core 4. Anyone faced a similar problem.
> Any advice will help me.
> thanks
> jayesh
>
>
> ------------------------------------------------------------------------
> Yahoo! Music Unlimited - Access over 1 million songs. Try it free. 
> 
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
> 

		
---------------------------------
 Yahoo! Music Unlimited - Access over 1 million songs. Try it free.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20051016/657fd2d2/attachment.htm>


More information about the sr-users mailing list