The error you get is probably because you don't have libzrtpcpp-dev installed.
I strongly suggest that you don't build from git right now but rather use the 0.9.6 source. What you tried to compile was the bleeding edge development version for 0.9.7 beta, for which we don't have a release date yet. We used to have something stable right out from git, but during the last weeks, we had some pretty intense development. Instead of waiting until every was cleaned up, we decided that it would be more convenient to push as soon as we have something worth to be tested. On Thu, 2009-08-27 at 00:56 -0400, Benjamin Long wrote: > Greetings all! > I've got sflphone installed on a couple of Ubuntu Jaunty laptops and > it's > working beautifully with our asterisk server. Thanks for all the hard work! > > Since my own laptop/desktop/homeworkstation run Karmic (so I keep ahead of > the > curve for work) I decided to try to build the packages from source. I've been > beating my head on this for a few hours. I'm currently trying to get sflphone- > common to build from git. I copied the debian directory from the source deb > packages. I've worked out what seems to be a bug in the debian/rules file > (line > 35: cd -; $(MAKE) why cd to my home directory? Changed it to cd .; and it > works). I've also changed the rules file to account for the new version of > pjproject. What I'm stuck on now is a linking error involving libccrtp. > Jaunty uses version libccrtp1-1.6-1 but Karmic uses version libccrtp1-1.7-0. > Hopefully someone knows whats going on here, because it's over my head. > Thanks for your time! > > Benjamin Long > > /bin/bash ../libtool --tag=CXX --mode=link g++ -DPREFIX=\"/usr/local\" - > DPROGSHAREDIR=\"/usr/local/share/sflphone\" -D_GNU_SOURCE -g -Wall -O2 > -luuid > -o sflphoned sflphoned-voiplink.o sflphoned-main.o sflphoned-managerimpl.o > sflphoned-observer.o sflphoned-eventthread.o sflphoned-accountcreator.o > sflphoned- > call.o sflphoned-account.o sflphoned-numbercleaner.o ./libsflphone.la > -pthread - > lccgnu2 -ldl -lrt -pthread -lccext2 -lz -lccgnu2 -ldl -lrt -pthread -lzrtpcpp > -lccrtp1 -lccgnu2 -ldl -lrt -L../libs/pjproject-"1.4"/pjnath/lib/ - > L../libs/pjproject-"1.4"/pjsip/lib/ -L../libs/pjproject-"1.4"/pjlib/lib/ - > L../libs/pjproject-"1.4"/pjlib-util/lib/ - > L../libs/pjproject-"1.4"/pjmedia/lib/ -lpjnath-sfl-i686-pc-linux-gnu -lpjsua- > sfl-i686-pc-linux-gnu -lpjsip-sfl-i686-pc-linux-gnu > -lpjmedia-sfl-i686-pc-linux- > gnu -lpjsip-simple-sfl-i686-pc-linux-gnu -lpjsip-ua-sfl-i686-pc-linux-gnu - > lpjmedia-codec-sfl-i686-pc-linux-gnu -lpjlib-util-sfl-i686-pc-linux-gnu > -lpj-sfl- > i686-pc-linux-gnu -pthread -lccrtp1 -lccgnu2 -ldl -lrt -lasound -lpulse - > lsamplerate -lssl -lspeexdsp -lspeex -lgsm -lstdc++ > > libtool: link: g++ -DPREFIX=\"/usr/local\" - > DPROGSHAREDIR=\"/usr/local/share/sflphone\" -D_GNU_SOURCE -g -Wall -O2 -o > .libs/sflphoned sflphoned-voiplink.o sflphoned-main.o sflphoned-managerimpl.o > sflphoned-observer.o sflphoned-eventthread.o sflphoned-accountcreator.o > sflphoned- > call.o sflphoned-account.o sflphoned-numbercleaner.o -pthread -pthread > -pthread > -pthread /usr/lib/libuuid.so ./.libs/libsflphone.a > /home/benjamin.long/build/sflphone.git/sflphone/sflphone-common/libs/dbus- > c++/src/.libs/libdbus-c++-1.so -L//lib -ldbus-1 -lpthread > /usr/lib/libccext2.so -lz /usr/lib/libzrtpcpp.so - > L/home/benjamin.long/build/sflphone.git/sflphone/sflphone- > common/libs/pjproject-1.4/pjnath/lib - > L/home/benjamin.long/build/sflphone.git/sflphone/sflphone- > common/libs/pjproject-1.4/pjsip/lib - > L/home/benjamin.long/build/sflphone.git/sflphone/sflphone- > common/libs/pjproject-1.4/pjlib/lib - > L/home/benjamin.long/build/sflphone.git/sflphone/sflphone- > common/libs/pjproject-1.4/pjlib-util/lib - > L/home/benjamin.long/build/sflphone.git/sflphone/sflphone- > common/libs/pjproject-1.4/pjmedia/lib -lpjnath-sfl-i686-pc-linux-gnu -lpjsua- > sfl-i686-pc-linux-gnu -lpjsip-sfl-i686-pc-linux-gnu > -lpjmedia-sfl-i686-pc-linux- > gnu -lpjsip-simple-sfl-i686-pc-linux-gnu -lpjsip-ua-sfl-i686-pc-linux-gnu - > lpjmedia-codec-sfl-i686-pc-linux-gnu -lpjlib-util-sfl-i686-pc-linux-gnu > -lpj-sfl- > i686-pc-linux-gnu /usr/lib/libccrtp1.so /usr/lib/libccgnu2.so -ldl -lrt > /usr/lib/libasound.so -lpulse /usr/lib/libsamplerate.so -lssl -lspeexdsp - > lspeex -lgsm -lstdc++ -pthread > > ./.libs/libsflphone.a(sipvoiplink.o): In function > `SIPVoIPLink::createTlsTransport(std::basic_string<char, > std::char_traits<char>, std::allocator<char> >)': > > /home/benjamin.long/build/sflphone.git/sflphone/sflphone- > common/src/sip/sipvoiplink.cpp:2062: undefined reference to > `pjsip_tls_transport_start' > > ./.libs/libsflphone.a(AudioRtpFactory.o): > (.data.rel.ro._ZTCN3sfl24AudioSymmetricRtpSessionE136_N3ost16QueueRTCPManagerE[vtable > > for sfl::AudioSymmetricRtpSession]+0x88): undefined reference to `non-virtual > thunk to ost::QueueRTCPManager::~QueueRTCPManager()' > > > ./.libs/libsflphone.a(AudioRtpFactory.o): > (.data.rel.ro._ZTCN3sfl24AudioSymmetricRtpSessionE136_N3ost16QueueRTCPManagerE[vtable > > for sfl::AudioSymmetricRtpSession]+0x8c): undefined reference to `non-virtual > thunk to ost::QueueRTCPManager::~QueueRTCPManager()' > > > ./.libs/libsflphone.a(AudioRtpFactory.o): > (.data.rel.ro._ZTCN3ost8AVPQueueE0_NS_16QueueRTCPManagerE[vtable for > ost::AVPQueue]+0x88): undefined reference to `non-virtual thunk to > ost::QueueRTCPManager::~QueueRTCPManager()' > ./.libs/libsflphone.a(AudioRtpFactory.o): > (.data.rel.ro._ZTCN3ost8AVPQueueE0_NS_16QueueRTCPManagerE[vtable for > ost::AVPQueue]+0x8c): undefined reference to `non-virtual thunk to > ost::QueueRTCPManager::~QueueRTCPManager()' > ./.libs/libsflphone.a(AudioRtpFactory.o): > (.data.rel.ro._ZTCN3ost15TRTPSessionBaseINS_20RTPBaseUDPIPv4SocketES1_NS_8AVPQueueEEE0_NS_16QueueRTCPManagerE[vtable > > for ost::TRTPSessionBase<ost::RTPBaseUDPIPv4Socket, > ost::RTPBaseUDPIPv4Socket, > ost::AVPQueue>]+0x88): undefined reference to `non-virtual thunk to > ost::QueueRTCPManager::~QueueRTCPManager()' > ./.libs/libsflphone.a(AudioRtpFactory.o): > (.data.rel.ro._ZTCN3ost15TRTPSessionBaseINS_20RTPBaseUDPIPv4SocketES1_NS_8AVPQueueEEE0_NS_16QueueRTCPManagerE[vtable > > for ost::TRTPSessionBase<ost::RTPBaseUDPIPv4Socket, > ost::RTPBaseUDPIPv4Socket, > ost::AVPQueue>]+0x8c): undefined reference to `non-virtual thunk to > ost::QueueRTCPManager::~QueueRTCPManager()' > ./.libs/libsflphone.a(AudioRtpFactory.o): > (.data.rel.ro._ZTCN3ost22SingleThreadRTPSessionINS_20RTPBaseUDPIPv4SocketES1_NS_8AVPQueueEEE136_NS_16QueueRTCPManagerE[vtable > > for ost::SingleThreadRTPSession<ost::RTPBaseUDPIPv4Socket, > ost::RTPBaseUDPIPv4Socket, ost::AVPQueue>]+0x88): undefined reference to `non- > virtual thunk to ost::QueueRTCPManager::~QueueRTCPManager()' > ./.libs/libsflphone.a(AudioRtpFactory.o): > (.data.rel.ro._ZTCN3ost22SingleThreadRTPSessionINS_20RTPBaseUDPIPv4SocketES1_NS_8AVPQueueEEE136_NS_16QueueRTCPManagerE[vtable > > for ost::SingleThreadRTPSession<ost::RTPBaseUDPIPv4Socket, > ost::RTPBaseUDPIPv4Socket, ost::AVPQueue>]+0x8c): undefined reference to `non- > virtual thunk to ost::QueueRTCPManager::~QueueRTCPManager()' > ./.libs/libsflphone.a(AudioZrtpSession.o): > (.data.rel.ro._ZTCN3sfl16AudioZrtpSessionE136_N3ost16QueueRTCPManagerE[vtable > for sfl::AudioZrtpSession]+0x88): undefined reference to `non-virtual thunk > to > ost::QueueRTCPManager::~QueueRTCPManager()' > ./.libs/libsflphone.a(AudioZrtpSession.o): > (.data.rel.ro._ZTCN3sfl16AudioZrtpSessionE136_N3ost16QueueRTCPManagerE[vtable > for sfl::AudioZrtpSession]+0x8c): undefined reference to `non-virtual thunk > to > ost::QueueRTCPManager::~QueueRTCPManager()' > ./.libs/libsflphone.a(AudioZrtpSession.o): > (.data.rel.ro._ZTCN3ost15TRTPSessionBaseINS_20RTPBaseUDPIPv4SocketES1_NS_9ZrtpQueueEEE0_NS_16QueueRTCPManagerE[vtable > > for ost::TRTPSessionBase<ost::RTPBaseUDPIPv4Socket, > ost::RTPBaseUDPIPv4Socket, > ost::ZrtpQueue>]+0x88): undefined reference to `non-virtual thunk to > ost::QueueRTCPManager::~QueueRTCPManager()' > ./.libs/libsflphone.a(AudioZrtpSession.o): > (.data.rel.ro._ZTCN3ost15TRTPSessionBaseINS_20RTPBaseUDPIPv4SocketES1_NS_9ZrtpQueueEEE0_NS_16QueueRTCPManagerE[vtable > > for ost::TRTPSessionBase<ost::RTPBaseUDPIPv4Socket, > ost::RTPBaseUDPIPv4Socket, > ost::ZrtpQueue>]+0x8c): undefined reference to `non-virtual thunk to > ost::QueueRTCPManager::~QueueRTCPManager()' > ./.libs/libsflphone.a(AudioZrtpSession.o): > (.data.rel.ro._ZTCN3ost22SingleThreadRTPSessionINS_20RTPBaseUDPIPv4SocketES1_NS_9ZrtpQueueEEE136_NS_16QueueRTCPManagerE[vtable > > for ost::SingleThreadRTPSession<ost::RTPBaseUDPIPv4Socket, > ost::RTPBaseUDPIPv4Socket, ost::ZrtpQueue>]+0x88): undefined reference to > `non- > virtual thunk to ost::QueueRTCPManager::~QueueRTCPManager()' > ./.libs/libsflphone.a(AudioZrtpSession.o): > (.data.rel.ro._ZTCN3ost22SingleThreadRTPSessionINS_20RTPBaseUDPIPv4SocketES1_NS_9ZrtpQueueEEE136_NS_16QueueRTCPManagerE[vtable > > for ost::SingleThreadRTPSession<ost::RTPBaseUDPIPv4Socket, > ost::RTPBaseUDPIPv4Socket, ost::ZrtpQueue>]+0x8c): undefined reference to > `non- > virtual thunk to ost::QueueRTCPManager::~QueueRTCPManager()' > collect2: ld returned 1 exit status > make[4]: *** [sflphoned] Error 1 > make[4]: Leaving directory > `/home/benjamin.long/build/sflphone.git/sflphone/sflphone-common/src' > make[3]: *** [all-recursive] Error 1 > make[3]: Leaving directory > `/home/benjamin.long/build/sflphone.git/sflphone/sflphone-common/src' > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory > `/home/benjamin.long/build/sflphone.git/sflphone/sflphone-common' > make[1]: *** [all] Error 2 > make[1]: Leaving directory > `/home/benjamin.long/build/sflphone.git/sflphone/sflphone-common' > make: *** [build-arch-stamp] Error 2 > dpkg-buildpackage: error: debian/rules build gave error exit status 2 > _______________________________________________ > SFLphone mailing list > [email protected] > http://lists.savoirfairelinux.net/mailman/listinfo/sflphone _______________________________________________ SFLphone mailing list [email protected] http://lists.savoirfairelinux.net/mailman/listinfo/sflphone
