Closed Bug 829653 Opened 11 years ago Closed 11 years ago

The gstreamer back-end is not correctly hooked to configure

Categories

(Firefox Build System :: General, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: ehsan.akhgari, Unassigned)

References

Details

Attachments

(1 file)

I'm getting build errors here: <http://mxr.mozilla.org/mozilla-central/source/content/media/gstreamer/GStreamerReader.h#8> because of the missing include file.  I have gst.h in the following locations:

$ find /usr/include | grep gst.h
/usr/include/gst.h
/usr/include/gstreamer-0.10/gst/gstchildproxy.h
/usr/include/gstreamer-0.10/gst/gstghostpad.h
/usr/include/gstreamer-0.10/gst/gst.h
/usr/include/gstreamer-0.10/gst/check/gstcheck.h

Seems like --enable-gstreamer should put the correct include path in CFLAGS using pkg-config or something...
Attached file fix
This fixes the build. Note that I had to use OS_CXXFLAGS in content/media/Makefile.in since CXXFLAGS didn't seem to work, no idea why.
Attachment #721610 - Flags: review?
Attachment #721610 - Flags: review? → review?(chris.double)
(In reply to Alessandro Decina from comment #1)
> Created attachment 721610 [details]
> fix
> 
> This fixes the build. Note that I had to use OS_CXXFLAGS in
> content/media/Makefile.in since CXXFLAGS didn't seem to work, no idea why.

Sorry for leaving such a mess with bug 834172. I can't really test with gstreamer, so thank you for taking care of the problem.
Blocks: 834172
Tested, and it works ok with this fix
(In reply to Alessandro Decina from comment #1)
> Created attachment 721610 [details]
> fix
> 
> This fixes the build. Note that I had to use OS_CXXFLAGS in
> content/media/Makefile.in since CXXFLAGS didn't seem to work, no idea why.

when you move ifdef MOZ_GSTREAMER below "include $(topsrcdir)/config/rules.mk" it works with CXXFLAGS
Comment on attachment 721610 [details]
fix

I assume this isn't needed anymore since the DecoderTraits patch seems to already be in the tree and the CXXFLAGS bit after the rules.mk include is there too.
Attachment #721610 - Flags: review?(chris.double)
Works for me on m-c changeset 124324 (current tip).
Confirmed, I think the bug can be closed now
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: