libdbdi-drivers error

Bilguun Tugs infibiti16 at gmail.com
Thu May 9 06:06:26 UTC 2019


*cannot make those files.*
*Error looks like*
make[3]: Entering directory
'/home/bilguun/Desktop/libdbi-drivers-0.9.0/drivers/sqlite3'
/bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.
-I../.. -I../.. -I../../include -I/usr/local/include
-DDBDIR=\"/usr/local/var/lib/libdbi/sqlite3\"   -std=gnu99  -MT
dbd_sqlite3.lo -MD -MP -MF .deps/dbd_sqlite3.Tpo -c -o dbd_sqlite3.lo
dbd_sqlite3.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include
-I/usr/local/include -DDBDIR=\"/usr/local/var/lib/libdbi/sqlite3\"
-std=gnu99 -MT dbd_sqlite3.lo -MD -MP -MF .deps/dbd_sqlite3.Tpo -c
dbd_sqlite3.c  -fPIC -DPIC -o .libs/dbd_sqlite3.o
dbd_sqlite3.c:316:5: error: conflicting types for ‘dbd_goto_row’
 int dbd_goto_row(dbi_result_t *result, unsigned long long rowidx, unsigned
long
     ^
In file included from dbd_sqlite3.c:58:0:
/usr/local/include/dbi/dbd.h:41:5: note: previous declaration of
‘dbd_goto_row’ was here
 int dbd_goto_row(dbi_result_t *result, unsigned long long rowidx);
     ^
dbd_sqlite3.c: In function ‘dbd_list_dbs’:
dbd_sqlite3.c:409:16: warning: implicit declaration of function
‘_dirent_buf_size’ [-Wimplicit-function-declaration]
   entry_size = _dirent_buf_size(dp);
                ^
dbd_sqlite3.c: In function ‘dbd_list_tables’:
dbd_sqlite3.c:504:3: error: unknown type name ‘dbi_inst’
   dbi_inst instance;
   ^
dbd_sqlite3.c:513:14: warning: implicit declaration of function
‘dbi_driver_get_instance’ [-Wimplicit-function-declaration]
   instance = dbi_driver_get_instance(dbi_conn_get_driver(conn));
              ^
dbd_sqlite3.c:514:14: warning: implicit declaration of function
‘dbi_conn_new_r’ [-Wimplicit-function-declaration]
   tempconn = dbi_conn_new_r("sqlite3", instance);
              ^
dbd_sqlite3.c:514:12: warning: assignment makes pointer from integer
without a cast [-Wint-conversion]
   tempconn = dbi_conn_new_r("sqlite3", instance);
            ^
Makefile:502: recipe for target 'dbd_sqlite3.lo' failed
make[3]: *** [dbd_sqlite3.lo] Error 1
make[3]: Leaving directory
'/home/bilguun/Desktop/libdbi-drivers-0.9.0/drivers/sqlite3'
Makefile:404: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
'/home/bilguun/Desktop/libdbi-drivers-0.9.0/drivers'
Makefile:455: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/bilguun/Desktop/libdbi-drivers-0.9.0'
Makefile:385: recipe for target 'all' failed
make: *** [all] Error 2

What should i do ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/baseband-devel/attachments/20190509/abcba2c4/attachment.html>


More information about the baseband-devel mailing list