[gstreamer-bugs] [Bug 559467] New: gst-ffmpeg fails to build on macos intel
GStreamer (bugzilla.gnome.org)
bugzilla-daemon at bugzilla.gnome.org
Wed Nov 5 08:59:04 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=559467
GStreamer | gst-ffmpeg | Ver: HEAD CVS
Summary: gst-ffmpeg fails to build on macos intel
Product: GStreamer
Version: HEAD CVS
Platform: Other
OS/Version: Linux
Status: NEW
Severity: normal
Priority: Normal
Component: gst-ffmpeg
AssignedTo: gstreamer-bugs at lists.sourceforge.net
ReportedBy: wingo at pobox.com
QAContact: gstreamer-bugs at lists.sourceforge.net
GNOME version: Unspecified
GNOME milestone: Unspecified
ld: absolute addressing (perhaps -mdynamic-no-pic) used in _rgb24tobgr24_MMX
from libswscale/rgb2rgb.o not allowed in slidable image
collect2: ld returned 1 exit status
make[5]: *** [libswscale/libswscale.0.dylib] Error 1
This is because libswscale (nominally a separate project) does not respect the
ENABLE_MMX defines, although it does have them available. I don't know what the
right solution is, but this works:
wingo at wingomac:~/src/yobuild/gst-ffmpeg/gst-libs/ext/ffmpeg/libswscale$ svn
diff
Index: rgb2rgb.c
===================================================================
--- rgb2rgb.c (revision 27852)
+++ rgb2rgb.c (working copy)
@@ -161,7 +161,7 @@
#define RENAME(a) a ## _C
#include "rgb2rgb_template.c"
-#if defined(ARCH_X86) && defined(CONFIG_GPL)
+#if defined(ARCH_X86) && defined(CONFIG_GPL) && (ENABLE_MMX || ENABLE_MMX2)
//MMX versions
#undef RENAME
@@ -200,7 +200,7 @@
*/
void sws_rgb2rgb_init(int flags){
-#if (defined(HAVE_MMX2) || defined(HAVE_3DNOW) || defined(HAVE_MMX)) &&
defined(CONFIG_GPL)
+#if (defined(HAVE_MMX2) || defined(HAVE_3DNOW) || defined(HAVE_MMX)) &&
defined(CONFIG_GPL) && (ENABLE_MMX || ENABLE_MMX2)
if (flags & SWS_CPU_CAPS_MMX2)
rgb2rgb_init_MMX2();
else if (flags & SWS_CPU_CAPS_3DNOW)
--
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=559467.
More information about the Gstreamer-bugs
mailing list