<div>Hi,</div>
<div>I am having difficulty compiling openbsc and the error message is as follows.  Does anyone know why?</div>
<div> </div>1; fi<br>db.c:30:21: error: dbi/dbi.h: No such file or directory<br>db.c:34: error: expected ?? ?? ?? �sm?or �_attribute__?before �onn?<br>db.c:91: error: expected ??before �onn?<br>db.c: In function �b_init?<br>
db.c:98: warning: implicit declaration of function �bi_initialize?<br>db.c:99: error: �onn?undeclared (first use in this function)<br>db.c:99: error: (Each undeclared identifier is reported only once<br>db.c:99: error: for each function it appears in.)<br>
db.c:99: warning: implicit declaration of function �bi_conn_new?<br>db.c:105: warning: implicit declaration of function �bi_conn_error_handler?<br>db.c:105: error: �b_error_func?undeclared (first use in this function)<br>
db.c:118: warning: implicit declaration of function �bi_conn_set_option?<br>db.c:121: warning: implicit declaration of function �bi_conn_connect?<br>db.c: In function �b_prepare?<br>db.c:133: error: �bi_result?undeclared (first use in this function)<br>
db.c:133: error: expected ??before �esult?<br>db.c:137: error: �esult?undeclared (first use in this function)<br>db.c:137: warning: implicit declaration of function �bi_conn_query?<br>db.c:137: error: �onn?undeclared (first use in this function)<br>
db.c:142: warning: implicit declaration of function �bi_result_free?<br>db.c: In function �b_fini?<br>db.c:149: warning: implicit declaration of function �bi_conn_close?<br>db.c:149: error: �onn?undeclared (first use in this function)<br>
db.c:150: warning: implicit declaration of function �bi_shutdown?<br>db.c: In function �b_create_subscriber?<br>db.c:160: error: �bi_result?undeclared (first use in this function)<br>db.c:160: error: expected ??before �esult?<br>
db.c:166: error: �esult?undeclared (first use in this function)<br>db.c:166: warning: implicit declaration of function �bi_conn_queryf?<br>db.c:166: error: �onn?undeclared (first use in this function)<br>db.c:190: warning: implicit declaration of function �bi_conn_sequence_last?<br>
db.c:193: warning: format ?llu?expects type �ong long unsigned int? but argument 2 has type �ong unsigned int?<br>db.c: In function �b_get_subscriber?<br>db.c:198: error: �bi_result?undeclared (first use in this function)<br>
db.c:198: error: expected ??before �esult?<br>db.c:205: warning: implicit declaration of function �bi_conn_quote_string_copy?<br>db.c:205: error: �onn?undeclared (first use in this function)<br>db.c:206: error: �esult?undeclared (first use in this function)<br>
db.c:239: warning: implicit declaration of function �bi_result_next_row?<br>db.c:247: warning: implicit declaration of function �bi_result_get_ulonglong?<br>db.c:248: warning: implicit declaration of function �bi_result_get_string?<br>
db.c:248: warning: assignment makes pointer from integer without a cast<br>db.c:252: warning: assignment makes pointer from integer without a cast<br>db.c:256: warning: assignment makes pointer from integer without a cast<br>
db.c:260: warning: assignment makes pointer from integer without a cast<br>db.c:264: warning: implicit declaration of function �bi_result_get_uint?<br>db.c:268: warning: format ?llu?expects type �ong long unsigned int? but argument 2 has type �ong unsigned int?<br>
db.c: In function �b_sync_subscriber?<br>db.c:274: error: �bi_result?undeclared (first use in this function)<br>db.c:274: error: expected ??before �esult?<br>db.c:275: error: �esult?undeclared (first use in this function)<br>
db.c:275: error: �onn?undeclared (first use in this function)<br>db.c: In function �b_subscriber_alloc_tmsi?<br>db.c:294: error: �bi_result?undeclared (first use in this function)<br>db.c:294: error: expected ??before �esult?<br>
db.c:298: error: �onn?undeclared (first use in this function)<br>db.c:299: error: �esult?undeclared (first use in this function)<br>db.c:309: warning: implicit declaration of function �bi_result_get_numrows?<br>db.c: In function �b_subscriber_assoc_imei?<br>
db.c:325: error: �bi_result?undeclared (first use in this function)<br>db.c:325: error: expected ??before �esult?<br>db.c:327: error: �esult?undeclared (first use in this function)<br>db.c:327: error: �onn?undeclared (first use in this function)<br>
db.c:339: warning: implicit declaration of function �bi_result_get_numrows_affected?<br>db.c:344: warning: format ?llu?expects type �ong long unsigned int? but argument 2 has type �_int64_t?<br>db.c:382: warning: format ?llu?expects type �ong long unsigned int? but argument 2 has type �_int64_t?<br>
db.c:396: warning: format ?llu?expects type �ong long unsigned int? but argument 2 has type �_int64_t?<br>db.c: In function �b_sms_store?<br>db.c:405: error: �bi_result?undeclared (first use in this function)<br>db.c:405: error: expected ??before �esult?<br>
db.c:408: error: �onn?undeclared (first use in this function)<br>db.c:409: error: �esult?undeclared (first use in this function)<br>db.c: In function �b_sms_get_unsent?<br>db.c:428: error: �bi_result?undeclared (first use in this function)<br>
db.c:428: error: expected ??before �esult?<br>db.c:436: error: �esult?undeclared (first use in this function)<br>db.c:436: error: �onn?undeclared (first use in this function)<br>db.c: In function �b_sms_mark_sent?<br>db.c:453: error: �bi_result?undeclared (first use in this function)<br>
db.c:453: error: expected ??before �esult?<br>db.c:455: error: �esult?undeclared (first use in this function)<br>db.c:455: error: �onn?undeclared (first use in this function)<br>db.c:460: warning: format ?llu?expects type �ong long unsigned int? but argument 2 has type �_int64_t?<br>
make[1]: *** [db.o] Error 1<br>make[1]: Leaving directory `/usr/src/openbsc/src'<br>make: *** [all-recursive] Error 1<br>
<div> </div>
<div> </div>
<div>Thank you for your help.</div>
<div> </div>
<div>JB</div>