[SFLphone] Building for Karmic

Pierre-Luc Bacon pierre-luc.bacon at savoirfairelinux.com
Fri Aug 28 10:05:42 EDT 2009


Are you sure that you have:

sudo apt-get install libccrtp-dev libcommoncpp2-dev

?

On Thu, 2009-08-27 at 22:52 -0400, Benjamin Long wrote:
> On Thursday 27 August 2009 09:09:23 pm Benjamin Long wrote:
> > On Thursday 27 August 2009 01:17:05 am Francois Marier wrote:
> > > Hi Benjamin,
> > >
> > > The Debian packaging for it might be helpful:
> > >
> > >   http://git.debian.org/?p=collab-maint/sflphone.git
> > >
> > > (based on 0.9.6)
> > >
> > > Cheers,
> > > Francois
> >
> > Thanks! I'll start with that code right away.
> >
> > Benjamin Long
> 
> Ok. Here is my status:
> I downloaded the debian packaging with:
> git clone http://git.debian.org/git/collab-maint/sflphone.git
> then I:
> cd sflphone; dpkg-buildpackage -rfakeroot -b -us -uc
> this results in the same error that is mentioned at:
> http://lists.savoirfairelinux.net/pipermail/sflphone/2009-July/000069.html
> with Fedora 11. The listed patch fixes this issue and I reran:
> dpkg-buildpackage -rfakeroot -b -us -uc
> which dies with the following error, just like my git build did:
> 
> /bin/bash ../libtool --tag=CXX   --mode=link g++ -DPREFIX=\"/usr\" -
> DPROGSHAREDIR=\"/usr/share/sflphone\" -DUSE_IAX -g -Wall -O2 -luuid -Wl,-z,defs 
> -o sflphoned sflphoned-voiplink.o sflphoned-main.o sflphoned-managerimpl.o 
> sflphoned-observer.o sflphoned-samplerateconverter.o sflphoned-eventthread.o 
> sflphoned-sipaccount.o sflphoned-accountcreator.o sflphoned-sipvoiplink.o 
> sflphoned-call.o sflphoned-account.o sflphoned-sipcall.o sflphoned-sdp.o sflphoned-
> sdpmedia.o sflphoned-numbercleaner.o sflphoned-iaxaccount.o sflphoned-
> iaxvoiplink.o sflphoned-iaxcall.o ./libsflphone.la -pthread -lccgnu2 -ldl -lrt -
> pthread -lccext2 -lz -lccgnu2 -ldl -lrt -
> L../libs/pjproject-"1.0.3"/pjnath/lib/ -L../libs/pjproject-"1.0.3"/pjsip/lib/ 
> -L../libs/pjproject-"1.0.3"/pjlib/lib/ -L../libs/pjproject-"1.0.3"/pjlib-
> util/lib/ -L../libs/pjproject-"1.0.3"/pjmedia/lib/ -lpjnath-sfl-i486-pc-linux-
> gnu -lpjsua-sfl-i486-pc-linux-gnu -lpjsip-sfl-i486-pc-linux-gnu -lpjmedia-sfl-
> i486-pc-linux-gnu -lpjsip-simple-sfl-i486-pc-linux-gnu -lpjsip-ua-sfl-i486-pc-
> linux-gnu -lpjmedia-codec-sfl-i486-pc-linux-gnu -lpjlib-util-sfl-i486-pc-linux-
> gnu -lpj-sfl-i486-pc-linux-gnu -pthread -lccrtp1 -lccgnu2 -ldl -lrt -lasound -
> lpulse -lsamplerate    -lspeexdsp -lspeex -lgsm  -lstdc++   
> libtool: link: g++ -DPREFIX=\"/usr\" -DPROGSHAREDIR=\"/usr/share/sflphone\" -
> DUSE_IAX -g -Wall -O2 -Wl,-z -Wl,defs -o .libs/sflphoned sflphoned-voiplink.o 
> sflphoned-main.o sflphoned-managerimpl.o sflphoned-observer.o sflphoned-
> samplerateconverter.o sflphoned-eventthread.o sflphoned-sipaccount.o sflphoned-
> accountcreator.o sflphoned-sipvoiplink.o sflphoned-call.o sflphoned-account.o 
> sflphoned-sipcall.o sflphoned-sdp.o sflphoned-sdpmedia.o sflphoned-numbercleaner.o 
> sflphoned-iaxaccount.o sflphoned-iaxvoiplink.o sflphoned-iaxcall.o -pthread -
> pthread -pthread  /usr/lib/libuuid.so ./.libs/libsflphone.a 
> /home/benjamin.long/build/sflphone/sflphone-common/libs/dbus-
> c++/src/.libs/libdbus-c++-1.so -L//lib -ldbus-1 -lpthread 
> /usr/lib/libccext2.so -lz -L/home/benjamin.long/build/sflphone/sflphone-
> common/libs/pjproject-1.0.3/pjnath/lib -
> L/home/benjamin.long/build/sflphone/sflphone-
> common/libs/pjproject-1.0.3/pjsip/lib -
> L/home/benjamin.long/build/sflphone/sflphone-
> common/libs/pjproject-1.0.3/pjlib/lib -
> L/home/benjamin.long/build/sflphone/sflphone-common/libs/pjproject-1.0.3/pjlib-
> util/lib -L/home/benjamin.long/build/sflphone/sflphone-
> common/libs/pjproject-1.0.3/pjmedia/lib -lpjnath-sfl-i486-pc-linux-gnu -lpjsua-
> sfl-i486-pc-linux-gnu -lpjsip-sfl-i486-pc-linux-gnu -lpjmedia-sfl-i486-pc-linux-
> gnu -lpjsip-simple-sfl-i486-pc-linux-gnu -lpjsip-ua-sfl-i486-pc-linux-gnu -
> lpjmedia-codec-sfl-i486-pc-linux-gnu -lpjlib-util-sfl-i486-pc-linux-gnu -lpj-sfl-
> i486-pc-linux-gnu /usr/lib/libccrtp1.so /usr/lib/libccgnu2.so -ldl -lrt 
> /usr/lib/libasound.so -lpulse /usr/lib/libsamplerate.so -lspeexdsp -lspeex -
> lgsm -lstdc++ -pthread   
> ./.libs/libsflphone.a(audiortp.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(audiortp.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(audiortp.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(audiortp.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(audiortp.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(audiortp.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()'
> collect2: ld returned 1 exit status
> make[4]: *** [sflphoned] Error 1
> make[4]: Leaving directory `/home/benjamin.long/build/sflphone/sflphone-
> common/src'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/home/benjamin.long/build/sflphone/sflphone-
> common/src'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/benjamin.long/build/sflphone/sflphone-common'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/home/benjamin.long/build/sflphone/sflphone-common'
> make: *** [build-stamp] Error 2
> dpkg-buildpackage: error: debian/rules build gave error exit status 2
> 
> I found a post on the twinklephone list that mentions this same error on 
> karmic (see http://tech.groups.yahoo.com/group/twinklephone/message/3398), but 
> there were no responses to it. Does anyone have any idea whats going on?
> 
> Benjamin Long
> _______________________________________________
> SFLphone mailing list
> SFLphone at lists.savoirfairelinux.net
> http://lists.savoirfairelinux.net/mailman/listinfo/sflphone



More information about the SFLphone mailing list