Hello, today i did upgrade to SVN-3729 and during compilation got following
error with sqlite.
It is Debian etch box and previous callveawer (SVN-3573) compiling just
fine.
What is wrong?

Here is my configure options:

./configure --enable-mysql --enable-t38 --with-callweaver-user=root
--with-callweaver-group=root --with-cdr_mysql --with-codec_speex=no
--with-res_config_curl=no --with-res_config_mysql=yes
--with-spandsp-includes=/usr/local/spandsp-0.0.4--with-spandsp-libs=/usr/local/spandsp-
0.0.4

And compilation log. Would be thankful for help :)

Andy.

 gcc -DHAVE_CONFIG_H -include ../include/confdefs.h -I. -I. -I../include
-fomit-frame-pointer -D_REENTRANT -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations -I.. -I../include -g -O2
-I/usr/local/spandsp-0.0.4 -I/usr/include/openssl -DHAVE_SSL -g -O2
-I/usr/local/spandsp-0.0.4 -MT libcallweaver_la-db.lo -MD -MP -MF
.deps/libcallweaver_la-db.Tpo -c db.c  -fPIC -DPIC -o
.libs/libcallweaver_la-db.o
db.c:58:21: error: sqlite3.h: No such file or directory
db.c:92: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*'
token
db.c: In function 'dbinit':
db.c:123: warning: implicit declaration of function 'sqlite3_mprintf'
db.c:123: warning: assignment makes pointer from integer without a cast
db.c:125: warning: implicit declaration of function 'sqlite3_free'
db.c: At top level:
db.c:146: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*'
token
db.c: In function 'sqlite_check_table_exists':
db.c:163: error: 'sqlite3' undeclared (first use in this function)
db.c:163: error: (Each undeclared identifier is reported only once
db.c:163: error: for each function it appears in.)
db.c:163: error: 'db' undeclared (first use in this function)
db.c:167: warning: implicit declaration of function 'sqlite_open_db'
db.c:169: warning: implicit declaration of function 'sqlite3_exec'
db.c:194: warning: implicit declaration of function 'sqlite3_close'
db.c: In function 'opbx_db_put':
db.c:205: error: 'sqlite3' undeclared (first use in this function)
db.c:205: error: 'db' undeclared (first use in this function)
db.c:218: warning: assignment makes pointer from integer without a cast
db.c: In function 'opbx_db_get':
db.c:264: error: 'sqlite3' undeclared (first use in this function)
db.c:264: error: 'db' undeclared (first use in this function)
db.c:281: warning: assignment makes pointer from integer without a cast
db.c: In function 'opbx_db_del_main':
db.c:325: error: 'sqlite3' undeclared (first use in this function)
db.c:325: error: 'db' undeclared (first use in this function)
db.c:346: warning: assignment makes pointer from integer without a cast
db.c:348: warning: assignment makes pointer from integer without a cast
db.c:350: warning: assignment makes pointer from integer without a cast
db.c:352: warning: assignment makes pointer from integer without a cast
db.c:379: warning: implicit declaration of function 'sqlite3_changes'
db.c: In function 'opbx_db_gettree':
db.c:448: error: 'sqlite3' undeclared (first use in this function)
db.c:448: error: 'db' undeclared (first use in this function)
db.c:461: warning: assignment makes pointer from integer without a cast
db.c:463: warning: assignment makes pointer from integer without a cast
db.c: In function 'database_show':
db.c:538: error: 'sqlite3' undeclared (first use in this function)
db.c:538: error: 'db' undeclared (first use in this function)
db.c:561: warning: assignment makes pointer from integer without a cast
db.c:563: warning: assignment makes pointer from integer without a cast
db.c:565: warning: assignment makes pointer from integer without a cast
make[3]: *** [libcallweaver_la-db.lo] Error 1
make[3]: Leaving directory `/usr/src/callweaver/callweaver-dev/corelib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/callweaver/callweaver-dev/corelib'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/callweaver/callweaver-dev/corelib'
make: *** [all-recursive] Error 1
emp-vln-pbx:/usr/src/callweaver/callweaver-dev#
_______________________________________________
Callweaver-users mailing list
[email protected]
http://lists.callweaver.org/mailman/listinfo/callweaver-users

Reply via email to