[reSIProcate] Compiling problems

Mariano Stokle mstokle at gmail.com
Fri Feb 18 10:31:40 CST 2005


I recently checked out resiprocate with svn. to my Suse 9.2 box

I followed up the autotools way as described in Wiki: 
sh use-autotools.sh
sh autogen.sh
../configure -C --enable-shared --enable-ipv6
--enable-data-local-size=16 --disable-elog from the compile folder.
Finally ran make.

First error I found was in TlsConnection.cxx and I was be able to
solved it (attached diff file with corrections).

Second error appears when compiling limpc in Test folder and it seems
to be related to the FileSystem class used in Security.cxx. I could
solved it by modifying the #if clause (attached the diff). I not
really sure it is the right thing to do, because the class seems to be
there but I do not an expert in g++ and did not catch why it is not
working (attached the error messages from make)

Third error is related to the MethodHash class - in_word_set method,
which .hxx definition file is there but .cxx file is empty!

Any lead on how to follow will be really appreciatted.

-- 
Mariano Stokle
SIP Rules!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: security.cxx.diff
Type: application/octet-stream
Size: 335 bytes
Desc: not available
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20050218/ba447ca8/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tlsconnection.cxx.diff
Type: application/octet-stream
Size: 1308 bytes
Desc: not available
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20050218/ba447ca8/attachment-0001.obj>
-------------- next part --------------
Making all in test
make[3]: Entering directory `/home/mstokle/resiprocate/main/sip/compile/resiprocate/test'
/bin/sh ../../libtool --mode=link --tag=CXX  g++  -g -O2 -Wall -Wno-deprecated -lpopt -L/home/mstokle/resiprocate/main/sip/compile/../contrib/ares -o limpc  limpc.o libtestsupport.a ../libresiprocate.la -lpopt -lssl -lcrypto -lares -lpthread
g++ -g -O2 -Wall -Wno-deprecated -o .libs/limpc limpc.o  -L/home/mstokle/resiprocate/main/sip/compile/../contrib/ares libtestsupport.a ../.libs/libresiprocate.so /usr/lib/libstdc++.so /usr/lib/libpopt.so -lssl -lcrypto -lares -lpthread
../.libs/libresiprocate.so: undefined reference to `resip::FileSystem::Directory::Directory[in-charge](resip::Data const&)'
../.libs/libresiprocate.so: undefined reference to `resip::FileSystem::Directory::iterator::~iterator [in-charge]()'
../.libs/libresiprocate.so: undefined reference to `resip::FileSystem::Directory::iterator::iterator[in-charge](resip::FileSystem::Directory const&)'
../.libs/libresiprocate.so: undefined reference to `resip::FileSystem::Directory::iterator::operator*() const'
../.libs/libresiprocate.so: undefined reference to `resip::FileSystem::Directory::iterator::operator!=(resip::FileSystem::Directory::iterator const&) const'
../.libs/libresiprocate.so: undefined reference to `resip::FileSystem::Directory::iterator::operator++()'
../.libs/libresiprocate.so: undefined reference to `resip::MethodHash::in_word_set(char const*, unsigned)'
../.libs/libresiprocate.so: undefined reference to `resip::FileSystem::Directory::end() const'
collect2: ld returned 1 exit status
make[3]: *** [limpc] Error 1
make[3]: Leaving directory `/home/mstokle/resiprocate/main/sip/compile/resiprocate/test'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/mstokle/resiprocate/main/sip/compile/resiprocate'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/mstokle/resiprocate/main/sip/compile/resiprocate'
make: *** [all-recursive] Error 1




More information about the resiprocate-devel mailing list