< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index  

Re: [reSIProcate] [DUM] dum/test/basicRegister.cxx compilation problem



On 2006.03.11, at 13:03 , Varun SR wrote:

Hi,
I'm trying to compile the basicRegister.cxx file in resiprocate/dum/ test directory but it is giving a lot of errors...

This is what I typed for compiling:
g++ basicRegister.cxx -o register -lresiprocate -ldum -lresip

And this is a part of the error messages I'm getting on compilation:
/tmp/cc5Gbr7b.o(.text+0x18b): In function `main':
: undefined reference to `resip::DialogUsageManager::DialogUsageManager[in-charge] (resip::SipStack&)'
/tmp/cc5Gbr7b.o(.text+0x1cd): In function `main':
: undefined reference to `resip::DialogUsageManager::setMasterProfile(resip::MasterProfile*)'
/tmp/cc5Gbr7b.o(.text+0x803): In function `main':
: undefined reference to `resip::DialogUsageManager::send (resip::SipMessage&)' /usr/local/lib/libdum.a(AppDialogSet.o)(.text+0x3e): In function `__static_initialization_and_destruction_0(int, int)': : undefined reference to `resip::Data::init(resip::DataLocalSize< (int)16>)' /usr/local/lib/libdum.a(ClientAuthManager.o)(.text+0xf1): In function `__static_initialization_and_destruction_0(int, int)':
: undefined reference to `resip::Log::init()'
/usr/local/lib/libdum.a(ClientAuthManager.o)(.text+0x113): In function `__static_initialization_and_destruction_0(int, int)':


One more thing, there are two folders in my /usr/local/include directory - resiprocate/ and resiprocate / (with space at the end). There was this directory inside the 2nd folder - usr/local/include/ resiprocate/dum. I copied the dum directory to its absolute path. I'm wondering where that second directory came from and if that is causing the problem.


For now, consider uninstalling the /usr/local/ files for resiprocate and use your compilation environment to get things working. Package installation is still a work-in-progress and you may find issues with it. What version of resiprocate did you install? (SVN version number)

Thanks
Alan