Bug 222078 - build failure when compiling kdenetwork
Summary: build failure when compiling kdenetwork
Status: RESOLVED FIXED
Alias: None
Product: kopete
Classification: Unmaintained
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-10 17:34 UTC by Matt
Modified: 2010-01-12 01:39 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.