[OpenSIPS-Devel] ERROR:db_mysql:db_mysql_submit_query

Iñaki Baz Castillo ibc at aliax.net
Sun Nov 23 17:12:16 CET 2008


El Domingo, 23 de Noviembre de 2008, Sergio Gutierrez escribió:

> Please, check again with last trunk revision; I have made a little fix
> related to the problem you refer.


Ops, I get an error when compiling related to auth_db:

make[3]: se ingresa al directorio 
`/usr/src/opensips-trunk/sources/modules/auth_db'
make[3]: se sale del directorio 
`/usr/src/opensips-trunk/sources/modules/auth_db'
make[3]: se ingresa al directorio 
`/usr/src/opensips-trunk/sources/modules/auth_db'
Compiling authdb_mod.c
gcc -fPIC -DPIC -Wall -g -O2 -Wcast-align -DMOD_NAME='"auth_db"'      -DNAME='"opensips"' -D                    
VERSION='"1.5.0dev2-tls"' -DARCH='"x86_64"' -DOS='"linux"' -DCOMPILER='"gcc 
4.1.2"' -D__CPU_                    
x86_64 -D__OS_linux -D__SMP_yes -DCFG_DIR='"/etc/opensips/"' -DPKG_MALLOC -DSHM_MEM  -DSHM_M                    
MAP -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES -DSTATISTICS -DCHANGE                    
ABLE_DEBUG_LEVEL -DF_MALLOC  -DSVNREVISION='"2:5018M"'  -DUSE_TLS -DFAST_LOCK -DADAPTIVE_WAI                    
T -DADAPTIVE_WAIT_LOOPS=1024  -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -D                    
HAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM -DHAVE_EPOLL -DHAV                    
E_SIGIO_RT -DHAVE_SELECT -I/usr/local/ssl/include -I/usr/local/include -I/usr/include/openss                    
l -c authdb_mod.c -o authdb_mod.o
Compiling authorize.c
gcc -fPIC -DPIC -Wall -g -O2 -Wcast-align -DMOD_NAME='"auth_db"'      -DNAME='"opensips"' -D                    
VERSION='"1.5.0dev2-tls"' -DARCH='"x86_64"' -DOS='"linux"' -DCOMPILER='"gcc 
4.1.2"' -D__CPU_                    
x86_64 -D__OS_linux -D__SMP_yes -DCFG_DIR='"/etc/opensips/"' -DPKG_MALLOC -DSHM_MEM  -DSHM_M                    
MAP -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES -DSTATISTICS -DCHANGE                    
ABLE_DEBUG_LEVEL -DF_MALLOC  -DSVNREVISION='"2:5018M"'  -DUSE_TLS -DFAST_LOCK -DADAPTIVE_WAI                    
T -DADAPTIVE_WAIT_LOOPS=1024  -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -D                    
HAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM -DHAVE_EPOLL -DHAV                    
E_SIGIO_RT -DHAVE_SELECT -I/usr/local/ssl/include -I/usr/local/include -I/usr/include/openss                    
l -c authorize.c -o authorize.o
authorize.c: In function ‘get_ha1’:
authorize.c:130: error: ‘db_func_t’ has no member named ‘free’
make[3]: *** [authorize.o] Error 1
make[3]: se sale del directorio 
`/usr/src/opensips-trunk/sources/modules/auth_db'
make[2]: *** [modules] Error 2
make[2]: se sale del directorio `/usr/src/opensips-trunk/sources'
make[1]: *** [build-stamp] Error 2
make[1]: se sale del directorio `/usr/src/opensips-trunk/sources'
make: *** [deb] Error 2

-- 
Iñaki Baz Castillo



More information about the Devel mailing list