After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 532810 - can't build the new gst-ffmpeg under solaris
can't build the new gst-ffmpeg under solaris
Status: RESOLVED NOTGNOME
Product: GStreamer
Classification: Platform
Component: gst-libav
git master
Other opensolaris
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-05-12 16:48 UTC by Jan Schmidt
Modified: 2008-05-29 11:44 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
fix FFmpeg build on solaris (1.10 KB, patch)
2008-05-12 16:51 UTC, Jan Schmidt
rejected Details | Review

Description Jan Schmidt 2008-05-12 16:48:43 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.
Comment 1 Jan Schmidt 2008-05-12 16:51:05 UTC
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.
Comment 2 Sebastian Dröge (slomo) 2008-05-29 11:37:51 UTC
We're not patching our ffmpeg snapshots anymore, this should be filed in the ffmpeg bugtracker (will do so in a few minutes).
Comment 3 Sebastian Dröge (slomo) 2008-05-29 11:44:20 UTC
See https://roundup.mplayerhq.hu/roundup/ffmpeg/issue470 for the ffmpeg bug