This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.
Nordin bouchtaoui at gmail.comThis means you have no libdbi, libdbi-dev and libdbd-sqlite3. You run in to the same problem as I did. I guess you use a Linux distro other than Debian. You might be able to install libdbi, libdbi-dev, but you still need libdbd-sqlite3. The latter one I only found for Debian, but not for other distros. So I recommend you install Debian and than try again. Juan Backson schreef: > Hi, > I am having difficulty compiling openbsc and the error message is as > follows. Does anyone know why? > > 1; fi > db.c:30:21: error: dbi/dbi.h: No such file or directory > db.c:34: error: expected ?? ?? ?? �sm?or �_attribute__?before �onn? > db.c:91: error: expected ??before �onn? > db.c: In function �b_init? > db.c:98: warning: implicit declaration of function �bi_initialize? > db.c:99: error: �onn?undeclared (first use in this function) > db.c:99: error: (Each undeclared identifier is reported only once > db.c:99: error: for each function it appears in.) > db.c:99: warning: implicit declaration of function �bi_conn_new? > db.c:105: warning: implicit declaration of function �bi_conn_error_handler? > db.c:105: error: �b_error_func?undeclared (first use in this function) > db.c:118: warning: implicit declaration of function �bi_conn_set_option? > db.c:121: warning: implicit declaration of function �bi_conn_connect? > db.c: In function �b_prepare? > db.c:133: error: �bi_result?undeclared (first use in this function) > db.c:133: error: expected ??before �esult? > db.c:137: error: �esult?undeclared (first use in this function) > db.c:137: warning: implicit declaration of function �bi_conn_query? > db.c:137: error: �onn?undeclared (first use in this function) > db.c:142: warning: implicit declaration of function �bi_result_free? > db.c: In function �b_fini? > db.c:149: warning: implicit declaration of function �bi_conn_close? > db.c:149: error: �onn?undeclared (first use in this function) > db.c:150: warning: implicit declaration of function �bi_shutdown? > db.c: In function �b_create_subscriber? > db.c:160: error: �bi_result?undeclared (first use in this function) > db.c:160: error: expected ??before �esult? > db.c:166: error: �esult?undeclared (first use in this function) > db.c:166: warning: implicit declaration of function �bi_conn_queryf? > db.c:166: error: �onn?undeclared (first use in this function) > db.c:190: warning: implicit declaration of function �bi_conn_sequence_last? > db.c:193: warning: format ?llu?expects type �ong long unsigned int? but > argument 2 has type �ong unsigned int? > db.c: In function �b_get_subscriber? > db.c:198: error: �bi_result?undeclared (first use in this function) > db.c:198: error: expected ??before �esult? > db.c:205: warning: implicit declaration of function > �bi_conn_quote_string_copy? > db.c:205: error: �onn?undeclared (first use in this function) > db.c:206: error: �esult?undeclared (first use in this function) > db.c:239: warning: implicit declaration of function �bi_result_next_row? > db.c:247: warning: implicit declaration of function > �bi_result_get_ulonglong? > db.c:248: warning: implicit declaration of function �bi_result_get_string? > db.c:248: warning: assignment makes pointer from integer without a cast > db.c:252: warning: assignment makes pointer from integer without a cast > db.c:256: warning: assignment makes pointer from integer without a cast > db.c:260: warning: assignment makes pointer from integer without a cast > db.c:264: warning: implicit declaration of function �bi_result_get_uint? > db.c:268: warning: format ?llu?expects type �ong long unsigned int? but > argument 2 has type �ong unsigned int? > db.c: In function �b_sync_subscriber? > db.c:274: error: �bi_result?undeclared (first use in this function) > db.c:274: error: expected ??before �esult? > db.c:275: error: �esult?undeclared (first use in this function) > db.c:275: error: �onn?undeclared (first use in this function) > db.c: In function �b_subscriber_alloc_tmsi? > db.c:294: error: �bi_result?undeclared (first use in this function) > db.c:294: error: expected ??before �esult? > db.c:298: error: �onn?undeclared (first use in this function) > db.c:299: error: �esult?undeclared (first use in this function) > db.c:309: warning: implicit declaration of function �bi_result_get_numrows? > db.c: In function �b_subscriber_assoc_imei? > db.c:325: error: �bi_result?undeclared (first use in this function) > db.c:325: error: expected ??before �esult? > db.c:327: error: �esult?undeclared (first use in this function) > db.c:327: error: �onn?undeclared (first use in this function) > db.c:339: warning: implicit declaration of function > �bi_result_get_numrows_affected? > db.c:344: warning: format ?llu?expects type �ong long unsigned int? but > argument 2 has type �_int64_t? > db.c:382: warning: format ?llu?expects type �ong long unsigned int? but > argument 2 has type �_int64_t? > db.c:396: warning: format ?llu?expects type �ong long unsigned int? but > argument 2 has type �_int64_t? > db.c: In function �b_sms_store? > db.c:405: error: �bi_result?undeclared (first use in this function) > db.c:405: error: expected ??before �esult? > db.c:408: error: �onn?undeclared (first use in this function) > db.c:409: error: �esult?undeclared (first use in this function) > db.c: In function �b_sms_get_unsent? > db.c:428: error: �bi_result?undeclared (first use in this function) > db.c:428: error: expected ??before �esult? > db.c:436: error: �esult?undeclared (first use in this function) > db.c:436: error: �onn?undeclared (first use in this function) > db.c: In function �b_sms_mark_sent? > db.c:453: error: �bi_result?undeclared (first use in this function) > db.c:453: error: expected ??before �esult? > db.c:455: error: �esult?undeclared (first use in this function) > db.c:455: error: �onn?undeclared (first use in this function) > db.c:460: warning: format ?llu?expects type �ong long unsigned int? but > argument 2 has type �_int64_t? > make[1]: *** [db.o] Error 1 > make[1]: Leaving directory `/usr/src/openbsc/src' > make: *** [all-recursive] Error 1 > > > Thank you for your help. > > JB > >