In file included from datastore_db.c:47:
./datastore.h:85: error: conflicting types for 'DB'
/usr/local/include/db.h:127: error: previous declaration of 'DB' was here
./datastore.h:86: error: conflicting types for 'DB_ENV'
/usr/local/include/db.h:131: error: previous declaration of 'DB_ENV' was here
./datastore.h:87: error: conflicting types for 'DB_TXN'
/usr/local/include/db.h:151: error: previous declaration of 'DB_TXN' was here
datastore_db.c: In function 'check_env_pagesize':
datastore_db.c:160: warning: dereferencing 'void *' pointer
datastore_db.c:160: error: request for member 'set_pagesize' in something not a structure or union
datastore_db.c: In function 'DB_OPEN':
datastore_db.c:188: warning: dereferencing 'void *' pointer
datastore_db.c:188: error: request for member 'open' in something not a structure or union
datastore_db.c: In function 'DB_SET_FLAGS':
datastore_db.c:226: warning: dereferencing 'void *' pointer
datastore_db.c:226: error: request for member 'set_flags' in something not a structure or union
datastore_db.c: In function 'db_get_env':
datastore_db.c:239: error: 'dbh_t' undeclared (first use in this function)
datastore_db.c:239: error: (Each undeclared identifier is reported only once
datastore_db.c:239: error: for each function it appears in.)
datastore_db.c:239: error: 'handle' undeclared (first use in this function)
datastore_db.c: In function 'db_lock':
datastore_db.c:261: error: 'dbh_t' undeclared (first use in this function)
datastore_db.c:261: error: 'handle' undeclared (first use in this function)
datastore_db.c: At top level:
datastore_db.c:304: error: parse error before '*' token
datastore_db.c:305: warning: return type defaults to 'int'
datastore_db.c:305: warning: no previous prototype for 'dbh_init'
datastore_db.c: In function 'dbh_init':
datastore_db.c:306: error: 'dbh_t' undeclared (first use in this function)
datastore_db.c:306: error: 'handle' undeclared (first use in this function)
datastore_db.c: At top level:
datastore_db.c:328: error: parse error before '*' token
datastore_db.c:329: warning: function declaration isn't a prototype
datastore_db.c: In function 'handle_free':
datastore_db.c:330: error: 'handle' undeclared (first use in this function)
datastore_db.c: In function 'db_is_swapped':
datastore_db.c:409: error: 'dbh_t' undeclared (first use in this function)
datastore_db.c:409: error: 'handle' undeclared (first use in this function)
datastore_db.c: In function 'db_created':
datastore_db.c:420: error: 'dbh_t' undeclared (first use in this function)
datastore_db.c:420: error: 'handle' undeclared (first use in this function)
datastore_db.c: In function 'get_psize':
datastore_db.c:504: warning: dereferencing 'void *' pointer
datastore_db.c:504: error: request for member 'stat' in something not a structure or union
datastore_db.c: In function 'db_open':
datastore_db.c:560: error: 'dbh_t' undeclared (first use in this function)
datastore_db.c:560: error: 'handle' undeclared (first use in this function)
datastore_db.c:595: warning: passing argument 1 of 'db_create' from incompatible pointer type
datastore_db.c:660: warning: dereferencing 'void *' pointer
datastore_db.c:660: error: request for member 'close' in something not a structure or union
datastore_db.c:666: warning: dereferencing 'void *' pointer
datastore_db.c:666: error: request for member 'get_byteswapped' in something not a structure or union
datastore_db.c:683: warning: dereferencing 'void *' pointer
datastore_db.c:683: error: request for member 'fd' in something not a structure or union
datastore_db.c:697: warning: dereferencing 'void *' pointer
datastore_db.c:697: error: request for member 'close' in something not a structure or union
datastore_db.c: In function 'db_delete':
datastore_db.c:733: error: 'dbh_t' undeclared (first use in this function)
datastore_db.c:733: error: 'handle' undeclared (first use in this function)
datastore_db.c:745: warning: dereferencing 'void *' pointer
datastore_db.c:745: error: request for member 'del' in something not a structure or union
datastore_db.c: In function 'db_get_dbvalue':
datastore_db.c:769: error: 'dbh_t' undeclared (first use in this function)
datastore_db.c:769: error: 'handle' undeclared (first use in this function)
datastore_db.c:789: warning: dereferencing 'void *' pointer
datastore_db.c:789: error: request for member 'get' in something not a structure or union
datastore_db.c: In function 'db_set_dbvalue':
datastore_db.c:826: error: 'dbh_t' undeclared (first use in this function)
datastore_db.c:826: error: 'handle' undeclared (first use in this function)
datastore_db.c:841: warning: dereferencing 'void *' pointer
datastore_db.c:841: error: request for member 'put' in something not a structure or union
datastore_db.c: In function 'db_get_flags':
datastore_db.c:869: warning: dereferencing 'void *' pointer
datastore_db.c:869: error: request for member 'get_flags' in something not a structure or union
datastore_db.c: In function 'db_close':
datastore_db.c:886: error: 'dbh_t' undeclared (first use in this function)
datastore_db.c:886: error: 'handle' undeclared (first use in this function)
datastore_db.c:911: warning: dereferencing 'void *' pointer
datastore_db.c:911: error: request for member 'close' in something not a structure or union
datastore_db.c: In function 'db_flush':
datastore_db.c:936: error: 'dbh_t' undeclared (first use in this function)
datastore_db.c:936: error: 'handle' undeclared (first use in this function)
datastore_db.c:944: warning: dereferencing 'void *' pointer
datastore_db.c:944: error: request for member 'sync' in something not a structure or union
datastore_db.c: In function 'db_foreach':
datastore_db.c:964: error: 'dbh_t' undeclared (first use in this function)
datastore_db.c:964: error: 'handle' undeclared (first use in this function)
datastore_db.c:982: warning: dereferencing 'void *' pointer
datastore_db.c:982: error: request for member 'cursor' in something not a structure or union
datastore_db.c: In function 'db_dofile':
datastore_db.c:1076: warning: passing argument 1 of 'db_create' from incompatible pointer type
datastore_db.c:1092: warning: dereferencing 'void *' pointer
datastore_db.c:1092: error: request for member 'close' in something not a structure or union
datastore_db.c: In function 'db_do_leafpages':
datastore_db.c:1119: warning: dereferencing 'void *' pointer
datastore_db.c:1119: error: request for member 'stat' in something not a structure or union
datastore_db.c: In function 'db_verify':
datastore_db.c:1148: warning: passing argument 1 of 'db_create' from incompatible pointer type
datastore_db.c:1158: warning: dereferencing 'void *' pointer
datastore_db.c:1158: error: request for member 'verify' in something not a structure or union
gmake[3]: [datastore_db.o] Error 1 (ignored)

In file included from datastore_db_trad.c:25:
./datastore.h:85: error: conflicting types for 'DB'
/usr/local/include/db.h:127: error: previous declaration of 'DB' was here
./datastore.h:86: error: conflicting types for 'DB_ENV'
/usr/local/include/db.h:131: error: previous declaration of 'DB_ENV' was here
./datastore.h:87: error: conflicting types for 'DB_TXN'
/usr/local/include/db.h:151: error: previous declaration of 'DB_TXN' was here
datastore_db_trad.c: In function 'bft_log_flush':
datastore_db_trad.c:122: warning: dereferencing 'void *' pointer
datastore_db_trad.c:122: error: request for member 'log_flush' in something not a structure or union
gmake[3]: [datastore_db_trad.o] Error 1 (ignored)

In file included from datastore_db_trans.c:27:
./datastore.h:85: error: conflicting types for 'DB'
/usr/local/include/db.h:127: error: previous declaration of 'DB' was here
./datastore.h:86: error: conflicting types for 'DB_ENV'
/usr/local/include/db.h:131: error: previous declaration of 'DB_ENV' was here
./datastore.h:87: error: conflicting types for 'DB_TXN'
/usr/local/include/db.h:151: error: previous declaration of 'DB_TXN' was here
datastore_db_trans.c: In function 'dbe_recover_open':
datastore_db_trans.c:219: warning: dereferencing 'void *' pointer
datastore_db_trans.c:219: error: request for member 'open' in something not a structure or union
datastore_db_trans.c: In function 'dbx_begin':
datastore_db_trans.c:242: error: 'dbh_t' undeclared (first use in this function)
datastore_db_trans.c:242: error: (Each undeclared identifier is reported only once
datastore_db_trans.c:242: error: for each function it appears in.)
datastore_db_trans.c:242: error: 'dbh' undeclared (first use in this function)
datastore_db_trans.c:252: warning: dereferencing 'void *' pointer
datastore_db_trans.c:252: error: request for member 'txn_begin' in something not a structure or union
datastore_db_trans.c:262: warning: dereferencing 'void *' pointer
datastore_db_trans.c:262: error: request for member 'id' in something not a structure or union
datastore_db_trans.c: In function 'dbx_abort':
datastore_db_trans.c:270: error: 'dbh_t' undeclared (first use in this function)
datastore_db_trans.c:270: error: 'dbh' undeclared (first use in this function)
datastore_db_trans.c:280: warning: dereferencing 'void *' pointer
datastore_db_trans.c:280: error: request for member 'abort' in something not a structure or union
datastore_db_trans.c:283: warning: dereferencing 'void *' pointer
datastore_db_trans.c:283: error: request for member 'id' in something not a structure or union
datastore_db_trans.c:287: warning: dereferencing 'void *' pointer
datastore_db_trans.c:287: error: request for member 'id' in something not a structure or union
datastore_db_trans.c: In function 'dbx_commit':
datastore_db_trans.c:304: error: 'dbh_t' undeclared (first use in this function)
datastore_db_trans.c:304: error: 'dbh' undeclared (first use in this function)
datastore_db_trans.c:315: warning: dereferencing 'void *' pointer
datastore_db_trans.c:315: error: request for member 'id' in something not a structure or union
datastore_db_trans.c:316: warning: dereferencing 'void *' pointer
datastore_db_trans.c:316: error: request for member 'commit' in something not a structure or union
datastore_db_trans.c: In function 'bf_dbenv_create':
datastore_db_trans.c:408: warning: passing argument 1 of 'db_env_create' from incompatible pointer type
datastore_db_trans.c:416: warning: dereferencing 'void *' pointer
datastore_db_trans.c:416: error: request for member 'set_errfile' in something not a structure or union
datastore_db_trans.c: In function 'dbe_config':
datastore_db_trans.c:428: warning: dereferencing 'void *' pointer
datastore_db_trans.c:428: error: request for member 'set_lg_max' in something not a structure or union
datastore_db_trans.c: In function 'dbe_xinit':
datastore_db_trans.c:493: warning: dereferencing 'void *' pointer
datastore_db_trans.c:493: error: request for member 'set_cachesize' in something not a structure or union
datastore_db_trans.c:506: warning: dereferencing 'void *' pointer
datastore_db_trans.c:506: error: request for member 'open' in something not a structure or union
datastore_db_trans.c:508: warning: dereferencing 'void *' pointer
datastore_db_trans.c:508: error: request for member 'close' in something not a structure or union
datastore_db_trans.c: In function 'dbx_cleanup_lite':
datastore_db_trans.c:552: warning: dereferencing 'void *' pointer
datastore_db_trans.c:552: error: request for member 'txn_checkpoint' in something not a structure or union
datastore_db_trans.c:560: warning: dereferencing 'void *' pointer
datastore_db_trans.c:560: error: request for member 'close' in something not a structure or union
datastore_db_trans.c: In function 'dbx_common_close':
datastore_db_trans.c:629: warning: dereferencing 'void *' pointer
datastore_db_trans.c:629: error: request for member 'close' in something not a structure or union
datastore_db_trans.c: In function 'dbe_env_purgelogs':
datastore_db_trans.c:647: warning: dereferencing 'void *' pointer
datastore_db_trans.c:647: error: request for member 'log_archive' in something not a structure or union
datastore_db_trans.c: In function 'dbe_env_checkpoint':
datastore_db_trans.c:682: warning: dereferencing 'void *' pointer
datastore_db_trans.c:682: error: request for member 'txn_checkpoint' in something not a structure or union
datastore_db_trans.c: In function 'dbx_log_flush':
datastore_db_trans.c:740: warning: dereferencing 'void *' pointer
datastore_db_trans.c:740: error: request for member 'log_flush' in something not a structure or union
datastore_db_trans.c: In function 'probe_txn':
datastore_db_trans.c:865: warning: passing argument 1 of 'db_env_create' from incompatible pointer type
datastore_db_trans.c:877: warning: dereferencing 'void *' pointer
datastore_db_trans.c:877: error: request for member 'open' in something not a structure or union
datastore_db_trans.c:882: warning: dereferencing 'void *' pointer
datastore_db_trans.c:882: error: request for member 'close' in something not a structure or union
datastore_db_trans.c:895: warning: dereferencing 'void *' pointer
datastore_db_trans.c:895: error: request for member 'close' in something not a structure or union
datastore_db_trans.c:941: warning: dereferencing 'void *' pointer
datastore_db_trans.c:941: error: request for member 'get_open_flags' in something not a structure or union
datastore_db_trans.c:948: warning: dereferencing 'void *' pointer
datastore_db_trans.c:948: error: request for member 'close' in something not a structure or union
datastore_db_trans.c: In function 'dbx_list_logfiles':
datastore_db_trans.c:978: warning: dereferencing 'void *' pointer
datastore_db_trans.c:978: error: request for member 'log_archive' in something not a structure or union
gmake[3]: [datastore_db_trans.o] Error 1 (ignored)



