Bug 222078

Summary: build failure when compiling kdenetwork
Product: [Unmaintained] kopete Reporter: Matt <matt>
Component: generalAssignee: Kopete Developers <kopete-bugs-null>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Matt 2010-01-10 17:34:20 UTC
Version:            (using Devel)
Compiler:          g++ 4.3.4 g++ (Gentoo 4.3.4 p1.0, pie-10.1.5) 4.3.4
OS:                Linux
Installed from:    Compiled sources

when trying to build kdenetwork from svn using kdesvn-build I get the following error:

/opt/kde4/kdesvn/kdenetwork/kopete/protocols/jabber/googletalk/libjingle/talk/session/phone/mediaengine.h:42: warning: ‘class cricket::MediaEngine’ has virtual functions and accessible non-virtual destructor
In file included from /opt/kde4/kdesvn/kdenetwork/kopete/protocols/jabber/googletalk/libjingle/talk/session/phone/linphonemediaengine.cc:45:
/opt/kde4/kdesvn/kdenetwork/kopete/protocols/jabber/googletalk/libjingle/talk/session/phone/linphonemediaengine.h:59: error: ISO C++ forbids declaration of ‘RingStream’ with no type
/opt/kde4/kdesvn/kdenetwork/kopete/protocols/jabber/googletalk/libjingle/talk/session/phone/linphonemediaengine.h:59: error: expected ‘;’ before ‘*’ token
/opt/kde4/kdesvn/kdenetwork/kopete/protocols/jabber/googletalk/libjingle/talk/session/phone/linphonemediaengine.h:61: error: ISO C++ forbids declaration of ‘AudioStream’ with no type
/opt/kde4/kdesvn/kdenetwork/kopete/protocols/jabber/googletalk/libjingle/talk/session/phone/linphonemediaengine.h:61: error: expected ‘;’ before ‘*’ token




The compile fails.
Comment 1 Matt Rogers 2010-01-10 21:45:18 UTC
which version of mediastreamer do you have installed?
Comment 2 Matt 2010-01-11 01:28:12 UTC
mediastreamer-2.3.1
Comment 3 Matt 2010-01-12 01:39:00 UTC
Fixed I think.
It looks like it wasn't finding mediastreamer correctly.  I had PKG_CONFIG_PATH set to include the dir that held the .pc file but it wasn't finding it I guess. I set LDFLAGS and CFLAGS to point to mediastremer and it compiles now.