[MPlayer-dev-eng] Build errors in ffmpeg/libavcodec, expecting HAVE_AVX to be defined

Rowan James rowanj at phere.net
Wed Apr 27 08:05:13 CEST 2011


As a heads-up, it looks like current ffmpeg git, as 'included' requires the test for HAVE_AVX (Intel Sandy Bridge vector extension) to be implemented in 'configure', as for HAVE_SSE, etc.

Quick workaround:
$ echo '#define HAVE_AVX 0' >> config.h

Building from svn rev.33334
ffmpeg#191e08d113

--
make -C ffmpeg/libavcodec
CC	x86/fft.o
x86/fft.c: In function 'ff_fft_init_mmx':
x86/fft.c:28: error: 'HAVE_AVX' undeclared (first use in this function)
x86/fft.c:28: error: (Each undeclared identifier is reported only once
x86/fft.c:28: error: for each function it appears in.)
make[1]: *** [x86/fft.o] Error 1
make: *** [ffmpeg/libavcodec/libavcodec.a] Error 2


More information about the MPlayer-dev-eng mailing list