On Mon, 2011-09-19 at 18:07 -0400, John A. Sullivan III wrote:
> On Mon, 2011-09-19 at 17:19 -0400, Rafaël Carré wrote:
> > On Mon, 2011-09-19 at 16:56 -0400, John A. Sullivan III wrote:
> > > On Mon, 2011-09-19 at 16:43 -0400, John A. Sullivan III wrote:
> > > > On Mon, 2011-09-19 at 15:33 -0400, Rafaël Carré wrote:
> > > > > On Mon, 2011-09-19 at 14:58 -0400, John A. Sullivan III wrote:
> > > > > 
> > > > > > Argh! Build failure.  Any idea what is causing this:
> > > > > > 
> > > > > > make[5]: Entering directory
> > > > > > `/home/jsullivan/Downloads/sflphone-0.9.14/sflphone-0.9.14/daemon/src/audio/codecs'
> > > > > >   CXX    audiocodecfactory.lo
> > > > > >   CXX    audiocodec.lo
> > > > > >   CXXLD  libcodecdescriptor.la
> > > > > >   CXX    libcodec_ulaw_so-ulaw.o
> > > > > >   CXXLD  libcodec_ulaw.so
> > > > > > ./.libs/libcodecdescriptor.a(audiocodec.o): In function
> > > > > > `sfl::AudioCodec::init(unsigned char, unsigned int)':
> > > > > > /home/jsullivan/Downloads/sflphone-0.9.14/sflphone-0.9.14/daemon/src/audio/codecs/audiocodec.cpp:56:
> > > > > >  undefined reference to 
> > > > > > `ost::DynamicPayloadFormat::DynamicPayloadFormat(unsigned char, 
> > > > > > unsigned int)'
> > > > > > collect2: ld returned 1 exit status
> > > > > 
> > > > > mismatching CCRTP version?
> > > > > 
> > > > > I have libccrtp (1.8.0-1.2) on Ubuntu which seems to come straight 
> > > > > from
> > > > > Debian
> > > > > 
> > > > > and at line 247 of /usr/include/ccrtp/formats.h :
> > > > > DynamicPayloadFormat(PayloadType type, uint32
> > > > > rate);                        
> > > > > 
> > > > > 
> > > > Argh!! Squeeze provides libccrtp 1.7.1 - John
> > 
> > Ubuntu Lucid, Maverick and Natty also provide 1.7.1 :
> > http://packages.ubuntu.com/search?keywords=libccrtp
> > 
> > So it should work already
> > 
> > You should try installing the Ubuntu .debs on your debian
> > 
> Well, I'm thoroughly confused but, then again, I am not a developer.
> Here is the ccrtp format.h file section:
> class __EXPORT DynamicPayloadFormat : public PayloadFormat
> {
> public:
>         /**
>          * Constructor. Builds a dynamic payload format from payload
>          * numeric identifier and the corresponding RTP clock rate.
>          *
>          * @param type payload type numeric identifier.
>          * @param rate RTP clock rate.
>          **/
>         DynamicPayloadFormat(PayloadType type, uint32 rate);
> };
>  and previously:
> typedef uint8 PayloadType;
> 
> Here is the invocation from audiocodec.cpp:
> void AudioCodec::init (uint8 payloadType, uint32 clockRate)
> {
>     _payloadFormat = new ost::DynamicPayloadFormat (payloadType,
> clockRate);
> 
> Looks like a perfect match to me.  Why does the linker think it is
> trying to pass an unsigned char instead of a uint8?
> 
<snip>
Still completely stuck.  I've tried editing audiocodec.h by adding
typedef uint8 PayloadType and changing the definition of
AudioCodec::init in audiocodec.h and its implementation in
audiocodec.cpp to use it instead of uint8 but still receive the same
error. I tried including ccrtp/formats.h in audiocodec.h.  I still get
the same error.

Any suggestions about what I must do to get this to build? Thanks - John

_______________________________________________
SFLphone mailing list
[email protected]
http://lists.savoirfairelinux.net/mailman/listinfo/sflphone

Reply via email to