GNOME Bugzilla – Bug 532810
can't build the new gst-ffmpeg under solaris
Last modified: 2008-05-29 11:44:20 UTC
The updated snapshot of FFmpeg plays merry hell for me on Solaris. I need to apply the attached patch to gst-libs/ext/ffmpeg/configure, and then build with: LD_ALTEXEC=`which gld` LD=`which gld` CC=`which gcc` ./autoregen.sh gmake -j5 LD_ALTEXEC=`which gld` LD=`which gld` In order to ensure that it uses gcc and GNU ld when building - using the normal solaris linker results in linker errors. Not using the patch for ffmpeg's configure makes compilation just fail horribly.
Created attachment 110785 [details] [review] fix FFmpeg build on solaris The DEPEND_CMD change makes it remove comment lines from the gcc output when creating dependency files. My gcc outputs a comment as the first line, but presumably noone else's does, or it wouldn't work for anyone. The 2nd sed change is required, or else none of the ENABLE_ lines get output for any encoders/decoders and compilation fails horribly.
We're not patching our ffmpeg snapshots anymore, this should be filed in the ffmpeg bugtracker (will do so in a few minutes).
See https://roundup.mplayerhq.hu/roundup/ffmpeg/issue470 for the ffmpeg bug