[Users] acc with radius compilation error
Daniel-Constantin Mierla
daniel at voice-system.ro
Mon Oct 17 11:33:12 CEST 2005
Hello Jayesh,
there was a missing include file, which is now fixed on cvs. Please get
the latest cvs version (for commodity I paste the commands below):
# export CVSROOT=:pserver:anonymous at cvs.sourceforge.net:/cvsroot/openser
# cvs login - for password simply press the Enter key.
# cvs -z3 checkout -r rel_0_9_0 sip-server
If you want the lastest development version, just replace the last
command line with:
# cvs -z3 checkout sip-server
Cheers,
Daniel
PS. Sourceforge CVS synchronization may take a while, so you have to
wait a bit until you can get the latest code from repository.
On 10/16/05 21:49, jayesh nambiar wrote:
> 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.
> <http://pa.yahoo.com/*http://us.rd.yahoo.com/evt=36035/*http://music.yahoo.com/unlimited/>
More information about the Users
mailing list