*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 ?
Hello,
Entering directory '/home/bilguun/Desktop/libdbi-drivers-0.9.0/drivers/sqlite3' What should i do ?
Please read the mailing list description: "This list is for discussion surrounding the OsmocomBB project, working on an open source / free software GSM baseband processor firmware + protocol stack. "
Neither libdbi, nor libdbd-sqlite is a part of the Osmocom project.
There is usually no need to compile both libraries from source, as they're available as binary packages in the most distributions.
With best regards, Vadim Yanitskiy.
Ok, thanks.
On Thu, May 9, 2019 at 6:30 PM Vadim Yanitskiy axilirator@gmail.com wrote:
Hello,
Entering directory
'/home/bilguun/Desktop/libdbi-drivers-0.9.0/drivers/sqlite3'
What should i do ?
Please read the mailing list description: "This list is for discussion surrounding the OsmocomBB project, working on an open source / free software GSM baseband processor firmware + protocol stack. "
Neither libdbi, nor libdbd-sqlite is a part of the Osmocom project.
There is usually no need to compile both libraries from source, as they're available as binary packages in the most distributions.
With best regards, Vadim Yanitskiy.
baseband-devel@lists.osmocom.org