spoiledsport / libjingle

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

Compilation build issue in Libjingle 0.6.14 with linphone mediastreamer 2.8.2 library #339

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Download and configured Libjingle 0.6.14 in Ubuntu 11.10 as defined in 
Libjingle README.txt file
2. Download and Compiled mediastreamer 2.8.2 library with all dependencies.
3. Modified libjingle.scons for support of linphone mediastreamer library as 
defined in Libjingle README.txt file
3. Execute $PATH_TO_SWTOOLKIT/hammer.sh from libjingle/talk directory

What is the expected output? What do you see instead?
Expected output should be build success with executable for call and pcp 
application.

Result:
root@Ubuntuvm:/home/gaurav/src/libjingle/talk# $PATH_TO_SWTOOLKIT/hammer.sh
scons: Reading SConscript files ...

scons: warning: No installed VCs
File 
"/home/gaurav/src/swtoolkit/site_scons/site_tools/target_platform_windows.py", 
line 283, in generate

scons: warning: No version of Visual Studio compiler found - C/C++ compilers 
most likely not set correctly
File 
"/home/gaurav/src/swtoolkit/site_scons/site_tools/target_platform_windows.py", 
line 283, in generate
Warning: Package "dbus-glib-1" not found. Feature "have_dbus_glib" will not be 
built. To build with this feature, install the package that provides the 
"dbus-glib-1.pc" file.
Warning: Package "libpulse" not found. Feature "have_libpulse" will not be 
built. To build with this feature, install the package that provides the 
"libpulse.pc" file.
Warning: Package "libpulse" not found. Feature "have_libpulse" will not be 
built. To build with this feature, install the package that provides the 
"libpulse.pc" file.

scons: warning: The build_dir keyword has been deprecated; use the variant_dir 
keyword instead.
File "/home/gaurav/src/swtoolkit/site_scons/site_init.py", line 203, in 
BuildEnvironmentSConscripts
scons: done reading SConscript files.
scons: Building targets ...
________Compiling build/dbg/obj/session/phone/mediaengine.o
In file included from session/phone/mediaengine.cc:31:0:
/home/gaurav/src/libjingle/talk/session/phone/linphonemediaengine.h:137:16: 
error: conflicting return type specified for ‘virtual void 
cricket::LinphoneVoiceChannel::SetRingbackTone(const char*, int)’
/home/gaurav/src/libjingle/talk/session/phone/mediachannel.h:379:16: error:   
overriding ‘virtual bool cricket::VoiceMediaChannel::SetRingbackTone(const 
char*, int)’
session/phone/mediaengine.cc: In static member function ‘static 
cricket::MediaEngineInterface* cricket::MediaEngineFactory::Create()’:
session/phone/mediaengine.cc:59:40: error: cannot allocate an object of 
abstract type ‘cricket::LinphoneMediaEngine’
/home/gaurav/src/libjingle/talk/session/phone/linphonemediaengine.h:51:7: note: 
  because the following virtual functions are pure within 
‘cricket::LinphoneMediaEngine’:
/home/gaurav/src/libjingle/talk/session/phone/mediaengine.h:114:16: note: 
    virtual bool 
cricket::MediaEngineInterface::SetVideoCapturer(cricket::VideoCapturer*, uint32)
/home/gaurav/src/libjingle/talk/session/phone/mediaengine.h:118:16: note: 
    virtual bool cricket::MediaEngineInterface::GetOutputVolume(int*)
/home/gaurav/src/libjingle/talk/session/phone/mediaengine.h:142:16: note: 
    virtual bool 
cricket::MediaEngineInterface::RegisterVideoProcessor(cricket::VideoProcessor*)
/home/gaurav/src/libjingle/talk/session/phone/mediaengine.h:143:16: note: 
    virtual bool 
cricket::MediaEngineInterface::UnregisterVideoProcessor(cricket::VideoProcessor*
)
/home/gaurav/src/libjingle/talk/session/phone/mediaengine.h:144:16: note: 
    virtual bool cricket::MediaEngineInterface::RegisterVoiceProcessor(uint32, 
cricket::VoiceProcessor*, cricket::MediaProcessorDirection)
/home/gaurav/src/libjingle/talk/session/phone/mediaengine.h:147:16: note: 
    virtual bool cricket::MediaEngineInterface::UnregisterVoiceProcessor(uint32, 
cricket::VoiceProcessor*, cricket::MediaProcessorDirection)
session/phone/mediaengine.cc:67:1: warning: control reaches end of non-void 
function [-Wreturn-type]
scons: *** [build/dbg/obj/session/phone/mediaengine.o] Error 1

What version of the product are you using? On what operating system?
Libjingle 0.6.14 
Media Streamer Library 2.8.2 from linphone source repositiry
OS Ubuntu 11.10

Please provide any additional information below.
Could you send the mediastreamer version number with which current libjingle 
built works fine. Might be I am using the latest mediastreamer 2 library. 
Also, If there is some patch to mediastreamer library please do provide that.

Original issue reported on code.google.com by krgaura...@gmail.com on 20 Apr 2012 at 10:36

GoogleCodeExporter commented 9 years ago
Hi, 
I have the same problem. Any help is much appreciated.

Original comment by alek.i.m...@gmail.com on 23 Apr 2012 at 11:44

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I have been through these problems and got those fixed by using patches 
provided in the existing issues.

Please paste your exact error in google and you will see past issues containing 
4-5 patches with in this list.

Original comment by fayya...@gmail.com on 24 Apr 2012 at 8:13

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Hi, 
Already try that but it's not working. Can you provide links to these patches?
Thanks.

Original comment by alek.i.m...@gmail.com on 24 Apr 2012 at 1:43

GoogleCodeExporter commented 9 years ago
Hi,

I have probably missed this one.

I will have to dig in my fedora installation for code changes and patch links, 
but i probably can do that in a day or two in case you still need that.

Please let me know. Keep in mind that i was only able to build pcp successfully 
and upon running was able to authenticate with google servers but failed to 
transfer actual file

Thanks,
Fayyaz

Original comment by fayya...@gmail.com on 26 Jun 2012 at 11:48

GoogleCodeExporter commented 9 years ago
Hey Fayyaz,

Would you mind compiling a list of changes needed to eliminate the errors? I 
have been through the entire issues list and was unable to find the patches 
that you were talking about. The only issue with 4-5 patches I found (issue 
#16) had patches that did not seem to relate to these 
mediaengine/linphonemediaengine problems.

Thanks,
Kyle

Original comment by Cummings.Kyle.M on 19 Jul 2012 at 9:24

GoogleCodeExporter commented 9 years ago
Okay, so I managed to get past these errors. For those that are curious, delete 
the " = 0" part at the end of the line with the function producing the error. 
Then, add the following into "linphonemediaengine.cc":
bool SetVideoCapturer(cricket::VideoCapturer* vidcapturer, uint32 unsigndint) { 
return true; }
bool GetOutputVolume(int* intpointer) { return true; }
bool RegisterVideoProcessor(cricket::VideoProcessor* processor) { return true; }
bool UnregisterVideoProcessor(cricket::VideoProcessor* processor) { return 
true; }
bool RegisterVoiceProcessor(uint32 unsigndint, cricket::VoiceProcessor* 
processor, cricket::MediaProcessorDirection mediadirection) { return true; }
bool UnregisterVoiceProcessor(uint32 unsigndint, cricket::VoiceProcessor* 
processor, cricket::MediaProcessorDirection mediadirection) { return true; }

Original comment by Cummings.Kyle.M on 19 Jul 2012 at 10:23

GoogleCodeExporter commented 9 years ago
Linphone is no longer supported.

Original comment by juberti@google.com on 31 May 2013 at 8:38