I tried to build kopete against ortp-0.21.1 and mediastreamer-2.9.0 which are part of linphone 3.6 beta1. Reproducible: Always Steps to Reproduce: Build linphone from sources http://download-mirror.savannah.gnu.org/releases/linphone/unstable/source/linphone-3.6-beta-1.tar.gz Actual Results: /builddir/build/BUILD/kdenetwork-4.10.2/kopete/protocols/jabber/googletalk/libjingle/talk/session/phone/linphonemediaengine.cc:146:57: error: 'AudioStream' has no member named 'session' /builddir/build/BUILD/kdenetwork-4.10.2/kopete/protocols/jabber/googletalk/libjingle/talk/session/phone/linphonemediaengine.cc:157:55: error: 'AudioStream' has no member named 'session'
There was some API changes in the mediastreamer2 library. "audio_stream_->session" needs to be replaced by " audio_stream_->ms.session". http://lists.nongnu.org/archive/html/linphone-users/2013-04/msg00052.html
I updated libjingle library in kopete svn tree. Please test if compiling from svn working or not.
Still doesn't build, but I got a different error: /tmp/kopete/protocols/jabber/googletalk/libjingle/talk/session/phone/srtpfilter.cc: In member function ‘bool cricket::SrtpSession::SetKey(int, const string&, const uint8*, int)’: /tmp/kopete/protocols/jabber/googletalk/libjingle/talk/session/phone/srtpfilter.cc:527:10: error: ‘srtp_policy_t’ has no member named ‘window_size’ policy.window_size = 1024; ^ /tmp/kopete/protocols/jabber/googletalk/libjingle/talk/session/phone/srtpfilter.cc:528:10: error: ‘srtp_policy_t’ has no member named ‘allow_repeat_tx’ policy.allow_repeat_tx = 1; ^ make[2]: *** [protocols/jabber/googletalk/libjingle/CMakeFiles/call.dir/talk/session/phone/srtpfilter.o] Error 1 make[1]: *** [protocols/jabber/googletalk/libjingle/CMakeFiles/call.dir/all] Error 2
Ok, do you know last version of ortp which working? At least I can update cmake file to not use too new version.
Created attachment 80534 [details] Fix build with mediastreamer 2.9.x This fixed build with mediastreamer 2.9.0 (and then ortp 0.22.0) in master.
To summarize: * Building master with ortp 0.20 you get the error in comment#3 * Building master with mediastreamer 2.9 (and then ortp 0.22) you get another error fixed by the patch in comment#5 * Building KDE/4.10 with ortp 0.20.x or mediastreamer 2.8.x you get the error in comment#1
For kopete-4.10.90 enough patch from comment 5 for compilation with mediastreamer 2.9 and ortp 0.22.0.
The build error listed in comment#3 has no relationship with ortp, because srtp_policy_t is defined in libsrtp. You should update your libsrtp to latest git master to compile gtalk-call.
In which KDE SC version is this issue fixed?
Johannes, this bug is still open.
I'm working on fix for this bug, just wait.
Git commit 3443ed1e60e465a8955cf48652a8e4ded2364359 by Pali Rohár. Committed on 01/11/2013 at 20:54. Pushed by pali into branch 'master'. Fix libjingle compilation with mediastreamer >= 2.9.x Library mediastreamer in 2.9.x changed API, see: http://lists.nongnu.org/archive/html/linphone-users/2013-04/msg00052.html With this patch there is support for both old (< 2.9) and new (>= 2.9) mediastreamer versions. FIXED-IN: 4.12 M +7 -2 cmake/modules/FindMediastreamer.cmake M +4 -0 protocols/jabber/googletalk/libjingle/CMakeLists.txt A +28 -0 protocols/jabber/googletalk/libjingle/patches/04_mediastreamer_29.patch M +8 -0 protocols/jabber/googletalk/libjingle/talk/session/phone/linphonemediaengine.cc http://commits.kde.org/kopete/3443ed1e60e465a8955cf48652a8e4ded2364359