[Serusers] Re: Module acc doesn't compile

Francesco Bottà francesco.botta at eutelia.it
Wed Jun 15 09:47:42 CEST 2005


Here the typo error in the Makefile of acc module:

# uncomment the next two lines if you wish to enable RADIUS accounting
DEFS+=-DRAD_ACC -I$(LOCALBASE)/include
LIBS=-L$(LOCALBASE)/lib -l$(RADIUSCLIENT_LIB)

Regards,

Francesco
----- Original Message ----- 
From: "Francesco Bottà" <francesco.botta at eutelia.it>
To: <serdev at lists.iptel.org>; <serusers at lists.iptel.org>
Sent: Wednesday, June 15, 2005 9:26 AM
Subject: Module acc doesn't compile


Hi all,

the module acc. with the latest cvs code of the 0.9.3 doestn't compile:

make[1]: Entering directory `/usr/local/src/sip_router/modules/acc'
../../Makefile.rules:80: acc.d: No such file or directory
../../Makefile.rules:80: acc_mod.d: No such file or directory
../../Makefile.rules:80: diam_avp.d: No such file or directory
../../Makefile.rules:80: diam_message.d: No such file or directory
../../Makefile.rules:80: diam_tcp.d: No such file or directory
make[1]: Leaving directory `/usr/local/src/sip_router/modules/acc'
make[1]: Entering directory `/usr/local/src/sip_router/modules/acc'
gcc -fPIC -DPIC -g -Wcast-align -pg    -DNAME='"ser"' -DVERSION='"0.9.3"' -DARCH='"i386"' -DOS='"linux"' -DCOMPILER='"gcc 3.3"' -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  -DEXTRA_DEBUG -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 -c acc.c -o acc.o
acc.c:56:33: radiusclient-ng.h: No such file or directory
acc.c:603: error: parse error before "phrase2code"
acc.c: In function `phrase2code':
acc.c:605: error: `UINT4' undeclared (first use in this function)
acc.c:605: error: (Each undeclared identifier is reported only once
acc.c:605: error: for each function it appears in.)
acc.c:605: error: parse error before "code"
acc.c:609: error: `code' undeclared (first use in this function)
acc.c: At top level:
acc.c:618: error: parse error before "rad_status"
acc.c: In function `acc_rad_request':
acc.c:640: error: `VALUE_PAIR' undeclared (first use in this function)
acc.c:641: error: `UINT4' undeclared (first use in this function)
acc.c:641: error: parse error before "av_type"
acc.c:655: error: invalid lvalue in assignment
acc.c:666: error: `av_type' undeclared (first use in this function)
acc.c:764: error: `OK_RC' undeclared (first use in this function)
make[1]: *** [acc.o] Error 1
make[1]: Leaving directory `/usr/local/src/sip_router/modules/acc'

What's wrong?

Many thanx

Francesco






More information about the sr-users mailing list