Skip to Main Content

Berkeley DB Family

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

C++Builder6.0 Link Error

561922Mar 26 2007 — edited Aug 22 2007
Hill.
The Kerbeley DB Version is 4.0.5.20
The OS is Microsoft XP Professional Service Pack 2
Development Tool is Borland C++Builder 6.0

Source code:
------------------------------------------------------------------------------
#include <iostream.h>
#include "db_cxx.h"
using namespace std;
int main(int argc, char *argv[])
{
Db db(NULL, 0);
//std::cout << "Hello!" << std::endl;
db.close(0);
return 0;
}

------------------------------------------------------------------------------
The following error happed when program is linked.

[Linker Error] Unresolved external 'Db::~Db()' referenced from F:\OWNERDB\EEEE.OBJ
[Linker Error] Unresolved external 'Db::Db(DbEnv *, unsigned int)' referenced from F:\OWNERDB\EEEE.OBJ

TIA.
Peter

Message was edited by:
user558919

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Sep 19 2007
Added on Mar 26 2007
16 comments
5,308 views