[SFLphone-dev] SFLPhone in Debian GNU/Linux

Yan Morin yan.morin at savoirfairelinux.com
Fri Mar 31 01:31:31 UTC 2006


Hi Marc, I'm happy that debian is interested in SFLphone.

For the error, I thing that I've already seen this one, it's seems like 
gcc don't like a "<" #define in commonC++ if I recall correctly. This is 
very strange because it doesn't  happen on every distribution (not in 
Fedora/Redhat/Suse/Ubuntu). We already tried to compile it on ubuntu once.
Maybe the problem is in CC++. The latest version is 1.3.22. If it's 
CC++, I will changed the minimum version in the configure.ac. For CCRTP, 
I use 1.3.5 or 1.3.6 without problem.

I would like to specify that SFLphone 0.7 will have a lot of changes in 
the compilation method (only one configure for the 3 packages (daemon / 
qt / cli). I'm currently working on a daemon restructuration. Maybe we 
will use AIXclient library.

The best thing that could happen for SFLphone right now is to include 
libeXosip2 package into debian repositories. Once libeXosip2 is in 
debian repository, I will erase libeXosip2 code in my tarball. I know 
that including other library inside my project is bad.

I also hope that portaudio will freeze is 2.0 ABI soon.

Mark Purcell wrote:
> Jean-Philippe, Yan,
>
> I'm currrenently involved with the Debian pkg-voip-maintainers team and would 
> be interested in getting SFLPhone into the Debian distribution.
>
> We have a svn archive setup for the debian components of voip packages at:
> http://svn.debian.org/wsvn/pkg-voip
>
> I notice you already have a debian/ dir in the upstream tarball, which we can 
> use as the starting point. 
>
> Although I do have an issue (perhaps with the latest) ccrtp, debian currently 
> has version 1.3.6 and sflphoned has a build error with:
>
> make[4]: Entering directory 
> `/home/mark/src/sflphone/sflphoned-0.6.1/src/audio'
> if /bin/sh ../../libtool --silent --tag=CXX --mode=compile 
> g++ -DHAVE_CONFIG_H -I. -I. -I../..  -DHAVE_SPEEX  -I../../include -I./pacpp/include/ -D_GNU_SOURCE -I/usr/include/cc++2 -I/usr/include/libxml2   -D_GNU_SOURCE -I/usr/include/cc++2    -I../../portaudio/pa_common -g -O2  -MT 
> libaudio_la-audiortp.lo -MD -MP -MF ".deps/libaudio_la-audiortp.Tpo" -c -o 
> libaudio_la-audiortp.lo `test -f 'audiortp.cpp' || echo './'`audiortp.cpp; \
>         then 
> mv -f ".deps/libaudio_la-audiortp.Tpo" ".deps/libaudio_la-audiortp.Plo"; else 
> rm -f ".deps/libaudio_la-audiortp.Tpo"; exit 1; fi
> /usr/include/cc++2/cc++/pointer.h:55: error: invalid function declaration
> /usr/include/ccrtp/queuebase.h:158: error: expected ';' before '<' token
> /usr/include/ccrtp/queuebase.h: In member function 'ost::PayloadType 
> ost::AppDataUnit::getType() const':
> /usr/include/ccrtp/queuebase.h:98: error: 'datablock' was not declared in this 
> scope
> /usr/include/ccrtp/queuebase.h: In member function 'const uint8* const 
> ost::AppDataUnit::getData() const':
> /usr/include/ccrtp/queuebase.h:109: error: 'datablock' was not declared in 
> this scope
> /usr/include/ccrtp/queuebase.h: In member function 'size_t 
> ost::AppDataUnit::getSize() const':
> /usr/include/ccrtp/queuebase.h:116: error: 'datablock' was not declared in 
> this scope
> /usr/include/ccrtp/queuebase.h: In member function 'bool 
> ost::AppDataUnit::isMarked() const':
> /usr/include/ccrtp/queuebase.h:132: error: 'datablock' was not declared in 
> this scope
> /usr/include/ccrtp/queuebase.h: In member function 'uint16 
> ost::AppDataUnit::getSeqNum() const':
> /usr/include/ccrtp/queuebase.h:139: error: 'datablock' was not declared in 
> this scope
> /usr/include/ccrtp/queuebase.h: In member function 'uint8 
> ost::AppDataUnit::getContributorsCount() const':
> /usr/include/ccrtp/queuebase.h:146: error: 'datablock' was not declared in 
> this scope
> /usr/include/ccrtp/queuebase.h: In member function 'const uint32* 
> ost::AppDataUnit::getContributorsID() const':
> /usr/include/ccrtp/queuebase.h:155: error: 'datablock' was not declared in 
> this scope
> make[4]: *** [libaudio_la-audiortp.lo] Error 1
>
>
> Mark
>   
 

-- 
Yan Morin
http://www.savoirfairelinux.com/
http://www.sflphone.org/
#sflphone on irc.freenode.org




More information about the Pkg-voip-maintainers mailing list