[Serusers] problem with compiling the new CVS release

İlker Aktuna (Koç.net) ilkera at koc.net
Sat Mar 31 11:27:41 CEST 2007


Hi,
 
I have a working SER installation which includes presence modules etc.
Today I tried to compile the latest CVS version because of a requirement to the reigstrar module. (NAT support with mediaproxy)
unfortunately, the "make" process did not comlete.
I got these errors:
 
make[1]: Entering directory `/root/yeni/sip_router/modules/acc_db'
gcc -fPIC -DPIC -g -O9 -funroll-loops  -Wcast-align  -minline-all-stringops -falign-loops -ftree-vectorize -mtune=athlon64   -Wall     -DNAME='"ser"' -DVERSION='"2.1.0-dev2"' -DARCH='"i386"' -DOS='linux_' -DOS_QUOTED='"linux"' -DCOMPILER='"gcc 4.1.0"' -D__CPU_i386 -D__OS_linux -DSER_VER=2001000 -DCFG_DIR='"/root/ser2/etc/ser/"' -DPKG_MALLOC -DSHM_MEM  -DSHM_MMAP -DDNS_IP_HACK -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES -DUSE_DNS_CACHE -DUSE_DNS_FAILOVER -DUSE_DST_BLACKLIST -DDBG_QM_MALLOC  -DUSE_TLS -DTLS_HOOKS -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024  -DCC_GCC_LIKE_ASM -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM -DHAVE_EPOLL -DHAVE_SIGIO_RT -DSIGINFO64_WORKARROUND -DHAVE_SELECT -c acc_db.c -o acc_db.o
acc_db.c:164: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘acc_dbf’
acc_db.c:172: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘keys’
acc_db.c:173: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘vals’
acc_db.c: In function ‘init_data’:
acc_db.c:406: error: ‘keys’ undeclared (first use in this function)
acc_db.c:406: error: (Each undeclared identifier is reported only once
acc_db.c:406: error: for each function it appears in.)
acc_db.c:407: error: ‘vals’ undeclared (first use in this function)
acc_db.c: In function ‘fmt2strar’:
acc_db.c:594: error: ‘vals’ undeclared (first use in this function)
acc_db.c: In function ‘log_request’:
acc_db.c:755: error: ‘acc_dbf’ undeclared (first use in this function)
acc_db.c:760: error: ‘keys’ undeclared (first use in this function)
acc_db.c:760: error: ‘vals’ undeclared (first use in this function)
acc_db.c: In function ‘child_init’:
acc_db.c:974: error: ‘acc_dbf’ undeclared (first use in this function)
acc_db.c: In function ‘mod_destroy’:
acc_db.c:989: error: ‘acc_dbf’ undeclared (first use in this function)
acc_db.c: In function ‘mod_init’:
acc_db.c:1014: warning: implicit declaration of function ‘bind_dbmod’
acc_db.c:1014: error: ‘acc_dbf’ undeclared (first use in this function)
acc_db.c:1020: warning: implicit declaration of function ‘DB_CAPABILITY’
acc_db.c:1020: error: ‘DB_CAP_INSERT’ undeclared (first use in this function)
make[1]: *** [acc_db.o] Error 1
make[1]: Leaving directory `/root/yeni/sip_router/modules/acc_db'
make: *** [modules] Error 1
#
 
Does anyone have any idea what the problem is ?
 
Thanks,
ilker
 
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20070331/f1169993/attachment.htm>


More information about the sr-users mailing list