[gstreamer-bugs] [Bug 518635] New: NAS plugin doesn't build due to audio/audio.h namespace conflict
GStreamer (bugzilla.gnome.org)
bugzilla-daemon at bugzilla.gnome.org
Mon Feb 25 07:27:16 PST 2008
If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
http://bugzilla.gnome.org/show_bug.cgi?id=518635
GStreamer | gst-plugins-bad | Ver: 0.10.6
Summary: NAS plugin doesn't build due to audio/audio.h namespace
conflict
Product: GStreamer
Version: 0.10.6
Platform: Other
OS/Version: All
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gst-plugins-bad
AssignedTo: gstreamer-bugs at lists.sourceforge.net
ReportedBy: j.w.r.degoede at hhs.nl
QAContact: gstreamer-bugs at lists.sourceforge.net
GNOME version: 2.21/2.22
GNOME milestone: Unspecified
Please describe the problem:
The nassink plugin includes <audio/audiolib.h>, which in my case is:
/usr/include/audio/audiolib.h
<audio/audiolib.h> in turn includes <audio/audio.h>, but since the gstreamer
include dir is in the includes-path of the compiler, and gstreamer has an
<audio/audio.h> too, the gstreamer header gets included instead of:
/usr/include/audio/audio.h
This causes compilation to fail as /usr/include/audio/audio.h defines lots of
datatypes needed by /usr/include/audio/audiolib.h
I've worked around this by adding these lines above "#include
<audio/audiolib.h>
/* HACK HACK HACK, gst has an audio/audio.h, and so has nas and nas needs its
own not the gstreamer one, so we forcably include the nas one using an
absolute path, which is a BIG BIG HACK HACK HACK HACK HACK! */
#include </usr/include/audio/audio.h>
I must say I don't know a proper way to fix this easily.
Steps to reproduce:
Actual results:
Expected results:
Does this happen every time?
Other information:
--
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.
You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=518635.
More information about the Gstreamer-bugs
mailing list