[Kamailio-Devel] [ openser-Patches-2183577 ] db_berkeley module fails to compile on OpenBSD 4.3

SourceForge.net noreply at sourceforge.net
Tue Oct 21 05:37:56 CEST 2008


Patches item #2183577, was opened at 2008-10-21 03:37
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743022&aid=2183577&group_id=139143

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: db_berkeley module fails to compile on OpenBSD 4.3

Initial Comment:
Build error:

In file included from bdb_lib.c:40:
bdb_lib.h:114: error: syntax error before "DB_ENV"
bdb_lib.h:133: error: syntax error before '*' token
bdb_lib.c: In function `bdblib_close':
bdb_lib.c:110: error: `DB_ENV' undeclared (first use in this function)
bdb_lib.c:110: error: (Each undeclared identifier is reported only once
bdb_lib.c:110: error: for each function it appears in.)
bdb_lib.c:110: error: `_env' undeclared (first use in this function)
bdb_lib.c:122: error: structure has no member named `dbenv'
bdb_lib.c:139: error: too many arguments to function
bdb_lib.c:149: error: structure has no member named `dbenv'
bdb_lib.c:169: error: too many arguments to function
<snip lots>

[Also occurs when building the kambdb_recover utility]

The problem is that the Berkeley DB4 include files are in /usr/include/db4 on OpenBSD. Attached patch fixes issue.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743022&aid=2183577&group_id=139143



More information about the Devel mailing list