[Serusers] error by ser-2.1

Ladislav Andel ladaan at iptel.org
Thu Apr 5 12:08:59 CEST 2007


Hi,
Have you been reading the serusers mailing list ?
Just 2 posts before your question you will find the answer.

It is for everybody. Read and search the list before asking.

Peace :),
Lada


Tuan Nguyen wrote:
> hi everyone,
> when i compile new version i get follow error:
>
> make[1]: Entering directory 
> `/net/u/ntm/Desktop/ser-2.1.0+cvs20070404/modules/auth_db'
> make[1]: Leaving directory 
> `/net/u/ntm/Desktop/ser-2.1.0+cvs20070404/modules/auth_db '
> make[1]: Entering directory 
> `/net/u/ntm/Desktop/ser-2.1.0+cvs20070404/modules/auth_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+cvs20070404"' -DARCH='"i386"' -DOS='linux_' 
> -DOS_QUOTED='"linux"' -DCOMPILER='"gcc 4.1.2"' -D__CPU_i386 
> -D__OS_linux -DSER_VER=2001000 -DCFG_DIR='"/usr/local/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 authdb_mod.c 
> -o authdb_mod.o
> In file included from authdb_mod.c:49:
> authdb_mod.h:57: error: expected '=', ',', ';', 'asm' or 
> '__attribute__' before 'auth_dbf'
> authdb_mod.c:106: error: expected '=', ',', ';', 'asm' or 
> '__attribute__' before 'auth_dbf'
> authdb_mod.c: In function 'child_init':
> authdb_mod.c:165: error: 'auth_dbf' undeclared (first use in this 
> function)
> authdb_mod.c:165: error: (Each undeclared identifier is reported only once
> authdb_mod.c:165: error: for each function it appears in.)
> authdb_mod.c: In function 'mod_init':
> authdb_mod.c:180: warning: implicit declaration of function 'bind_dbmod'
> authdb_mod.c:180: error: 'auth_dbf' undeclared (first use in this 
> function)
> authdb_mod.c: In function 'destroy':
> authdb_mod.c:206: error: 'auth_dbf' undeclared (first use in this 
> function)
> authdb_mod.c: In function 'authdb_fixup':
> authdb_mod.c:226: error: 'auth_dbf' undeclared (first use in this 
> function)
> authdb_mod.c:231: warning: implicit declaration of function 
> 'table_version'
> make[1]: *** [authdb_mod.o] Error 1
> make[1]: Leaving directory 
> `/net/u/ntm/Desktop/ser-2.1.0+cvs20070404/modules/auth_db'
> make: *** [modules] Error 1
>
> anyone know why and how correct it.
> thanks
> T.
> ------------------------------------------------------------------------
>
> _______________________________________________
> Serusers mailing list
> Serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
>   




More information about the sr-users mailing list