[gst-devel] Small build patch
Richard Boulton
richard at tartarus.org
Mon Jan 12 07:06:02 CET 2004
Hi list.
Been a while since I've checked out Gstreamer - I'm still to busy with
work to be much use, sadly.
I just tried a test build (from current CVS HEAD) though, and found a
couple of problems - I have a patch for one of them. :\
Firstly, in the gstreamer module, gst/parse/Makefile.am defines a rule:
lex._gst_parse_yy.c: parse.l
$(FLEX_PATH) -P_gst_parse_yy $^
This causes a VPATH build to fail with "can't find parse.l".
The fix is to copy a trick from the internals of automake - the fix is
(I also converted $^ to $< - $^ is GNU make specific, or at least
non-POSIX make, whereas $< isn't):
lex._gst_parse_yy.c: parse.l
- $(FLEX_PATH) -P_gst_parse_yy $^
+ $(FLEX_PATH) -P_gst_parse_yy `test -f '$<' || echo '$(srcdir)/'`$<
Also, when building gst-plugins/gst-libs/ext/ffmpeg/ffmpeg/libavcodec, I
get the following error. My system is Debian unstable, running on an
AMD Athlon 1200 MHz processor. I have no experience of this stuff, so I
just disabled ffmpeg for now. Hope this helps.
gcc -DHAVE_CONFIG_H -I. -I../../../../../gst-plugins/gst-libs/ext/ffmpeg
-I../../.. -DARCH_X86=1 -DHAVE_MMX=1 -DTUNECPU=generic -DHAVE_STRPTIME=1
-DHAVE_LRINTF=1 -DCONFIG_ENCODERS=1 -DCONFIG_DECODERS=1 -DCONFIG_PP=1
-DCONFIG_MPEGAUDIO_HP=1 -DCONFIG_HAVE_DLOPEN=1 -DCONFIG_HAVE_DLFCN=1
-DHAVE_MALLOC_H=1 -DHAVE_MEMALIGN=1 -DSIMPLE_IDCT=1 -DCONFIG_RISKY=1
-Wall -I../../../../../gst-plugins/gst-libs/ext/ffmpeg/ffmpeg
-I../../../../../gst-plugins/gst-libs/ext/ffmpeg/ffmpeg/libavformat
-I../../../../../gst-plugins/gst-libs/ext/ffmpeg/ffmpeg/libavcodec
-DHAVE_AV_CONFIG_H
-I../../../../../gst-plugins/gst-libs/ext/ffmpeg/ffmpeg/libavcodec/liba52
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -g -O2 -MT
libavcodec_la-mpegvideo_mmx.lo -MD -MP -MF
.deps/libavcodec_la-mpegvideo_mmx.Tpo -c
../../../../../gst-plugins/gst-libs/ext/ffmpeg/ffmpeg/libavcodec/i386/mpegvideo_mmx.c
-fPIC -DPIC -o .libs/libavcodec_la-mpegvideo_mmx.o
../../../../../gst-plugins/gst-libs/ext/ffmpeg/ffmpeg/libavcodec/i386/mpegvideo_mmx.c:499:1:
warning: "RENAMEl" redefined
../../../../../gst-plugins/gst-libs/ext/ffmpeg/ffmpeg/libavcodec/i386/mpegvideo_mmx.c:493:1:
warning: this is the location of the previous definition
In file included from
../../../../../gst-plugins/gst-libs/ext/ffmpeg/ffmpeg/libavcodec/i386/mpegvideo_mmx.c:494:
../../../../../gst-plugins/gst-libs/ext/ffmpeg/ffmpeg/libavcodec/i386/mpegvideo_mmx_template.c:
In function `dct_quantize_MMX':
../../../../../gst-plugins/gst-libs/ext/ffmpeg/ffmpeg/libavcodec/i386/mpegvideo_mmx_template.c:89:
can't find a register in class `GENERAL_REGS' while reloading `asm'
../../../../../gst-plugins/gst-libs/ext/ffmpeg/ffmpeg/libavcodec/i386/mpegvideo_mmx_template.c:141:
can't find a register in class `GENERAL_REGS' while reloading `asm'
--
Richard
More information about the gstreamer-devel
mailing list