I tried to compile the resiprocate stack version 1.8 on my Linux machine and got this error.
ake[3]: Entering directory `/home/santosh/SIP/REV-1.8_CASSIDIAN-1.0/repro'
/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -DRESIP_OSTYPE_LINUX -DRESIP_ARCH_X86_64 -DRESIP_LARCH_ -D_REENTRANT -DRESIP_TOOLCHAIN_GNU -g -O2 -Wall -Wno-deprecated -I/home/santosh/SIP/REV-1.8_CASSIDIAN-1.0/rutil/dns/ares -MT BerkeleyDb.lo -MD -MP -MF .deps/BerkeleyDb.Tpo -c -o BerkeleyDb.lo BerkeleyDb.cxx
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DRESIP_OSTYPE_LINUX -DRESIP_ARCH_X86_64 -DRESIP_LARCH_ -D_REENTRANT -DRESIP_TOOLCHAIN_GNU -g -O2 -Wall -Wno-deprecated -I/home/santosh/SIP/REV-1.8_CASSIDIAN-1.0/rutil/dns/ares -MT BerkeleyDb.lo -MD -MP -MF .deps/BerkeleyDb.Tpo -c BerkeleyDb.cxx -fPIC -DPIC -o .libs/BerkeleyDb.o
In file included from BerkeleyDb.cxx:14:
../repro/BerkeleyDb.hxx:8:19: error: db_cxx.h: No such file or directory
In file included from BerkeleyDb.cxx:14:
../repro/BerkeleyDb.hxx:38: error: ‘Db’ has not been declared
../repro/BerkeleyDb.hxx:38: error: ISO C++ forbids declaration of ‘Dbt’ with no type
../repro/BerkeleyDb.hxx:38: error: expected ‘,’ or ‘...’ before ‘*’ token
../repro/BerkeleyDb.hxx:44: error: ISO C++ forbids declaration of ‘Db’ with no type
../repro/BerkeleyDb.hxx:44: error: expected ‘;’ before ‘*’ token
../repro/BerkeleyDb.hxx:45: error: ISO C++ forbids declaration of ‘Dbc’ with no type
../repro/BerkeleyDb.hxx:45: error: expected ‘;’ before ‘*’ token
../repro/BerkeleyDb.hxx:46: error: ISO C++ forbids declaration of ‘DbTxn’ with no type
../repro/BerkeleyDb.hxx:46: error: expected ‘;’ before ‘*’ token
../repro/BerkeleyDb.hxx:47: error: ISO C++ forbids declaration of ‘Db’ with no type
../repro/BerkeleyDb.hxx:47: error: expected ‘;’ before ‘*’ token
../repro/BerkeleyDb.hxx:48: error: ISO C++ forbids declaration of ‘Dbc’ with no type
../repro/BerkeleyDb.hxx:48: error: expected ‘;’ before ‘*’ token
../repro/BerkeleyDb.hxx:51: error: ISO C++ forbids declaration of ‘DbEnv’ with no type
../repro/BerkeleyDb.hxx:51: error: expected ‘;’ before ‘*’ token
../repro/BerkeleyDb.hxx: In constructor ‘repro::BerkeleyDb::TableInfo::TableInfo()’:
../repro/BerkeleyDb.hxx:43: error: class ‘repro::BerkeleyDb::TableInfo’ does not have any field named ‘mDb’
../repro/BerkeleyDb.hxx:43: error: class ‘repro::BerkeleyDb::TableInfo’ does not have any field named ‘mCursor’
../repro/BerkeleyDb.hxx:43: error: class ‘repro::BerkeleyDb::TableInfo’ does not have any field named ‘mTransaction’
../repro/BerkeleyDb.hxx:43: error: class ‘repro::BerkeleyDb::TableInfo’ does not have any field named ‘mSecondaryDb’
../repro/BerkeleyDb.hxx:43: error: class ‘repro::BerkeleyDb::TableInfo’ does not have any field named ‘mSecondaryCursor’
BerkeleyDb.cxx: In member function ‘void repro::BerkeleyDb::init(const resip::Data&, const resip::Data&)’:
BerkeleyDb.cxx:86: error: ‘mEnv’ was not declared in this scope
BerkeleyDb.cxx:135: error: ‘class repro::BerkeleyDb::TableInfo’ has no member named ‘mDb’
BerkeleyDb.cxx:135: error: expected type-specifier before ‘Db’
BerkeleyDb.cxx:135: error: expected ‘;’ before ‘Db’
BerkeleyDb.cxx:136: error: ‘class repro::BerkeleyDb::TableInfo’ has no member named ‘mDb’
BerkeleyDb.cxx:139: error: ‘class repro::BerkeleyDb::TableInfo’ has no member named ‘mDb’
BerkeleyDb.cxx:142: error: ‘DB_BTREE’ was not declared in this scope
BerkeleyDb.cxx:146: error: ‘DB_CREATE’ was not declared in this scope
BerkeleyDb.cxx:146: error: ‘DB_THREAD’ was not declared in this scope
BerkeleyDb.cxx:151: error: ‘db_strerror’ was not declared in this scope
BerkeleyDb.cxx:157: error: ‘class repro::BerkeleyDb::TableInfo’ has no member named ‘mDb’
BerkeleyDb.cxx:157: error: ‘class repro::BerkeleyDb::TableInfo’ has no member named ‘mCursor’
BerkeleyDb.cxx:160: error: ‘db_strerror’ was not declared in this scope
BerkeleyDb.cxx:164: error: ‘class repro::BerkeleyDb::TableInfo’ has no member named ‘mCursor’
BerkeleyDb.cxx:171: error: ‘class repro::BerkeleyDb::TableInfo’ has no member named ‘mSecondaryDb’
BerkeleyDb.cxx:171: error: expected type-specifier before ‘Db’
BerkeleyDb.cxx:171: error: expected ‘;’ before ‘Db’
BerkeleyDb.cxx:172: error: ‘class repro::BerkeleyDb::TableInfo’ has no member named ‘mSecondaryDb’
BerkeleyDb.cxx:174: error: ‘class repro::BerkeleyDb::TableInfo’ has no member named ‘mSecondaryDb’
BerkeleyDb.cxx:174: error: ‘DB_DUP’ was not declared in this scope
BerkeleyDb.cxx:177: error: ‘db_strerror’ was not declared in this scope
BerkeleyDb.cxx:183: error: ‘class repro::BerkeleyDb::TableInfo’ has no member named ‘mSecondaryDb’
BerkeleyDb.cxx:195: error: ‘db_strerror’ was not declared in this scope
BerkeleyDb.cxx:201: error: ‘class repro::BerkeleyDb::TableInfo’ has no member named ‘mSecondaryDb’
BerkeleyDb.cxx:202: error: ‘class repro::BerkeleyDb::TableInfo’ has no member named ‘mDb’
BerkeleyDb.cxx:202: error: ‘class repro::BerkeleyDb::TableInfo’ has no member named ‘mSecondaryDb’
BerkeleyDb.cxx:205: error: ‘db_strerror’ was not declared in this scope
BerkeleyDb.cxx:211: error: ‘class repro::BerkeleyDb::TableInfo’ has no member named ‘mSecondaryDb’
BerkeleyDb.cxx:211: error: ‘class repro::BerkeleyDb::TableInfo’ has no member named ‘mSecondaryCursor’
BerkeleyDb.cxx:214: error: ‘db_strerror’ was not declared in this scope
BerkeleyDb.cxx:218: error: ‘class repro::BerkeleyDb::TableInfo’ has no member named ‘mSecondaryCursor’
BerkeleyDb.cxx: In destructor ‘virtual repro::BerkeleyDb::~BerkeleyDb()’:
BerkeleyDb.cxx:228: error: ‘class repro::BerkeleyDb::TableInfo’ has no member named ‘mSecondaryCursor’
BerkeleyDb.cxx:230: error: ‘class repro::BerkeleyDb::TableInfo’ has no member named ‘mSecondaryCursor’
BerkeleyDb.cxx:231: error: ‘class repro::BerkeleyDb::TableInfo’ has no member named ‘mSecondaryCursor’
BerkeleyDb.cxx:234: error: ‘class repro::BerkeleyDb::TableInfo’ has no member named ‘mCursor’
BerkeleyDb.cxx:236: error: ‘class repro::BerkeleyDb::TableInfo’ has no member named ‘mCursor’
BerkeleyDb.cxx:237: error: ‘class repro::BerkeleyDb::TableInfo’ has no member named ‘mCursor’
BerkeleyDb.cxx:240: error: ‘class repro::BerkeleyDb::TableInfo’ has no member named ‘mTransaction’
BerkeleyDb.cxx:246: error: ‘class repro::BerkeleyDb::TableInfo’ has no member named ‘mSecondaryDb’
BerkeleyDb.cxx:248: error: ‘class repro::BerkeleyDb::TableInfo’ has no member named ‘mSecondaryDb’
BerkeleyDb.cxx:249: error: ‘class repro::BerkeleyDb::TableInfo’ has no member named ‘mSecondaryDb’
BerkeleyDb.cxx:250: error: ‘class repro::BerkeleyDb::TableInfo’ has no member named ‘mSecondaryDb’
BerkeleyDb.cxx:253: error: ‘class repro::BerkeleyDb::TableInfo’ has no member named ‘mDb’
BerkeleyDb.cxx:255: error: ‘class repro::BerkeleyDb::TableInfo’ has no member named ‘mDb’
BerkeleyDb.cxx:256: error: ‘class repro::BerkeleyDb::TableInfo’ has no member named ‘mDb’
BerkeleyDb.cxx:257: error: ‘class repro::BerkeleyDb::TableInfo’ has no member named ‘mDb’
BerkeleyDb.cxx:260: error: ‘mEnv’ was not declared in this scope
BerkeleyDb.cxx:263: error: type ‘<type error>’ argument given to ‘delete’, expected pointer
BerkeleyDb.cxx: At global scope:
BerkeleyDb.cxx:269: error: ‘int repro::BerkeleyDb::getSecondaryKeyCallback’ is not a static member of ‘class repro::BerkeleyDb’
BerkeleyDb.cxx:269: error: ‘Db’ was not declared in this scope
BerkeleyDb.cxx:269: error: ‘db’ was not declared in this scope
BerkeleyDb.cxx:269: error: expected primary-_expression_ before ‘const’
BerkeleyDb.cxx:269: error: expected primary-_expression_ before ‘const’
BerkeleyDb.cxx:269: error: ‘Dbt’ was not declared in this scope
BerkeleyDb.cxx:269: error: ‘skey’ was not declared in this scope
BerkeleyDb.cxx:269: error: initializer _expression_ list treated as compound _expression_
BerkeleyDb.cxx:270: error: expected ‘,’ or ‘;’ before ‘{’ token
../rutil/Data.hxx:993: warning: ‘resip::invokeDataInit’ defined but not used
make[3]: *** [BerkeleyDb.lo] Error 1
make[3]: Leaving directory `/home/santosh/SIP/REV-1.8_CASSIDIAN-1.0/repro'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/santosh/SIP/REV-1.8_CASSIDIAN-1.0/repro'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/santosh/SIP/REV-1.8_CASSIDIAN-1.0'
make: *** [all] Error 2
Please let me know what is missing in my environment?
Thanks