[SFLphone] Building for Karmic

Benjamin Long Benjamin.Long at longbros.com
Fri Aug 28 22:53:32 EDT 2009


On Friday 28 August 2009 06:07:44 pm Benjamin Long wrote:
> On Friday 28 August 2009 11:50:53 am Benjamin Long wrote:
> > > 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
> > > >.h tm l 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:
> > > >
> > > > ((SNIP))
> > > >
> > > > [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
> >
> > On Friday 28 August 2009 10:05:42 am Pierre-Luc Bacon wrote:
> > > Are you sure that you have:
> > >
> > > sudo apt-get install libccrtp-dev libcommoncpp2-dev
> > >
> > > ?
> >
> > Yep. Notice the new version number of the library:
> > $ dpkg -l libccrtp*
> > Desired=Unknown/Install/Remove/Purge/Hold
> >
> > | Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig
> > |-p end / Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err:
> >
> > uppercase=bad)
> >
> > ||/ Name                      Version                   Description
> >
> > +++-=========================-=========================-
> > ==================================================================
> > ii  libccrtp-dev              1.7.1-2                   Common C++ class
> > framework for RTP packets
> > ii  libccrtp1-1.7-0           1.7.1-2                   Common C++ class
> > framework for RTP packets
> >
> > Benjamin Long
> > _______________________________________________
> > SFLphone mailing list
> > SFLphone at lists.savoirfairelinux.net
> > http://lists.savoirfairelinux.net/mailman/listinfo/sflphone
>
> Wow... what a strange trip this has been.
> I used "strings - /usr/lib/libccrtp1.a | grep GCC" and found out that the
> library thats currently in Karmics repo was compiled with gcc 4.4.0. The
> gcc thats installed is 4.4.1. I downloaded the karmic source packages and
> rebuilt them. Now the  "undefined reference to non-virtual thunk" error is
> gone.
>
> Can a single minor revision in gcc really do that?
>
> Thats probably a naive question isn't it.... :P
>
> Anyway, I'm still getting an error, but it looks like a packaging issue.
> I'll report back later.

Yes, yes... another post from Ben...
Just letting you all know that it compiled successfully with one last minor 
tweak:
sflphone-common/libs/dbus-c++/src/Makefile.am lists debug.h for installation 
twice, on lines 21 and 29. I notice that this is still duplicated in the trunk 
version of the file. I'm going to put in a ticket for these issues as soon as I 
can register an account.

Benjamin Long


More information about the SFLphone mailing list