ericmckean / libjingle

Automatically exported from code.google.com/p/libjingle
0 stars 0 forks source link

building error #388

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Everything follow the README file.
2. if no linphone support , building will be successful.

What is the expected output? What do you see instead?

scons: done reading SConscript files.
scons: Building targets ...
________Compiling build/dbg/obj/media/other/linphonemediaengine.o
In file included from media/other/linphonemediaengine.cc:39:
/home/macro/project/libjingle/talk/media/other/linphonemediaengine.h:137: 
error: conflicting return type specified for ‘virtual void 
cricket::LinphoneVoiceChannel::SetRingbackTone(const char*, int)’
/home/macro/project/libjingle/talk/media/base/mediachannel.h:568: error:   
overriding ‘virtual bool cricket::VoiceMediaChannel::SetRingbackTone(const 
char*, int)’
media/other/linphonemediaengine.cc: In member function ‘virtual 
cricket::VoiceMediaChannel* cricket::LinphoneMediaEngine::CreateChannel()’:
media/other/linphonemediaengine.cc:105: error: cannot allocate an object of 
abstract type ‘cricket::LinphoneVoiceChannel’
/home/macro/project/libjingle/talk/media/other/linphonemediaengine.h:117: note: 
  because the following virtual functions are pure within 
‘cricket::LinphoneVoiceChannel’:
/home/macro/project/libjingle/talk/media/base/mediachannel.h:281: note: 
    virtual bool cricket::MediaChannel::AddSendStream(const cricket::StreamParams&)
/home/macro/project/libjingle/talk/media/base/mediachannel.h:285: note: 
    virtual bool cricket::MediaChannel::RemoveSendStream(uint32)
/home/macro/project/libjingle/talk/media/base/mediachannel.h:288: note: 
    virtual bool cricket::MediaChannel::AddRecvStream(const cricket::StreamParams&)
/home/macro/project/libjingle/talk/media/base/mediachannel.h:292: note: 
    virtual bool cricket::MediaChannel::RemoveRecvStream(uint32)
/home/macro/project/libjingle/talk/media/base/mediachannel.h:295: note: 
    virtual bool cricket::MediaChannel::MuteStream(uint32, bool)
/home/macro/project/libjingle/talk/media/base/mediachannel.h:558: note: 
    virtual int cricket::VoiceMediaChannel::GetTimeSinceLastTyping()
/home/macro/project/libjingle/talk/media/base/mediachannel.h:560: note: 
    virtual void cricket::VoiceMediaChannel::SetTypingDetectionParameters(int, 
int, int, int, int)
/home/macro/project/libjingle/talk/media/base/mediachannel.h:570: note: 
    virtual bool cricket::VoiceMediaChannel::PlayRingbackTone(uint32, bool, bool)
/home/macro/project/libjingle/talk/media/base/mediachannel.h:578: note: 
    virtual bool cricket::VoiceMediaChannel::InsertDtmf(uint32, int, int, int)
/home/macro/project/libjingle/talk/media/base/mediachannel.h:588: note: 
    virtual bool cricket::VoiceMediaChannel::SetOptions(const 
cricket::AudioOptions&)
/home/macro/project/libjingle/talk/media/base/mediachannel.h:589: note: 
    virtual bool cricket::VoiceMediaChannel::GetOptions(cricket::AudioOptions*) 
const
media/other/linphonemediaengine.cc: In constructor 
‘cricket::LinphoneVoiceChannel::LinphoneVoiceChannel(cricket::LinphoneMediaEng
ine*)’:
media/other/linphonemediaengine.cc:140: error: cannot call member function 
‘talk_base::Thread* talk_base::ThreadManager::CurrentThread()’ without 
object
scons: *** [build/dbg/obj/media/other/linphonemediaengine.o] Error 1
scons: building terminated because of errors.

What version of the product are you using? On what operating system?
i use the svn, it's the latest version, i am on ubuntu 10.04.4.

Please provide any additional information below.

Original issue reported on code.google.com by zhenguo...@gmail.com on 28 Aug 2012 at 4:00

GoogleCodeExporter commented 9 years ago
LinphoneMediaEngine is no longer officially supported.

Original comment by juberti@google.com on 31 May 2013 at 4:01