[gstreamer-bugs] [Bug 624148] gst-ffmpeg won't compile

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Jul 12 05:35:26 PDT 2010


https://bugzilla.gnome.org/show_bug.cgi?id=624148
  GStreamer | gst-ffmpeg | git

--- Comment #6 from martin.bisson at gmail.com 2010-07-12 12:35:20 UTC ---
I compiled revision 23623 of ffmpeg directly (which is the same revision as the
one mentionned in ffmpegrev), and libavcodec/x86/dsputil_mmx.c compile
correctly.

The compilation line when the file is compiled successfully in ffmpeg is :

gcc -I. -I"/home/mabis2/temp/ffmpeg" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DHAVE_AV_CONFIG_H -std=c99
-fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch
-Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign
-Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -O3
-fno-math-errno -fno-signed-zeros -fno-tree-vectorize -Werror=implicit
-Werror=missing-prototypes          -MMD -MF libavcodec/x86/dsputil_mmx.d -MT
libavcodec/x86/dsputil_mmx.o -c -o libavcodec/x86/dsputil_mmx.o
libavcodec/x86/dsputil_mmx.c

The compilation line when the file is compiled with an error in GStreamer is :

gcc -I. -I"/home/mabis2/gstreamer/gst-ffmpeg/gst-libs/ext/ffmpeg"
-D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_FILE_OFFSET_BITS=64
-D_LARGEFILE_SOURCE -DPIC -DHAVE_AV_CONFIG_H -std=c99 -fomit-frame-pointer
-fPIC -g -Wdeclaration-after-statement -Wall -Wno-switch
-Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign
-Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -O3
-fno-math-errno -fno-signed-zeros -fno-tree-vectorize -Werror=implicit
-Werror=missing-prototypes         -MMD -MF libavcodec/x86/dsputil_mmx.d -MT
libavcodec/x86/dsputil_mmx.o -c -o libavcodec/x86/dsputil_mmx.o
libavcodec/x86/dsputil_mmx.c

The only thing present in the line causing the error is -DPIC.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.




More information about the Gstreamer-bugs mailing list