Since a few months, I get this error (on branch 30/fixes, 31/fixes and master):
Code: Select all
In file included from ./libavutil/bswap.h:38,
from ./libavutil/intreadwrite.h:25,
from libavfilter/vf_curves.c:25:
libavfilter/vf_curves.c: In function ‘parse_psfile’:
./libavutil/aarch64/bswap.h:31:5: error: invalid 'asm': invalid operand for code 'w'
__asm__("rev16 %w0, %w0" : "+r"(x));
^~~~~~~
./libavutil/aarch64/bswap.h:31:5: error: invalid 'asm': invalid operand for code 'w'
./libavutil/aarch64/bswap.h:31:5: error: invalid 'asm': invalid operand for code 'w'
__asm__("rev16 %w0, %w0" : "+r"(x));
^~~~~~~
./libavutil/aarch64/bswap.h:31:5: error: invalid 'asm': invalid operand for code 'w'
./libavutil/aarch64/bswap.h:31:5: error: invalid 'asm': invalid operand for code 'w'
__asm__("rev16 %w0, %w0" : "+r"(x));
^~~~~~~
./libavutil/aarch64/bswap.h:31:5: error: invalid 'asm': invalid operand for code 'w'
./libavutil/aarch64/bswap.h:31:5: error: invalid 'asm': invalid operand for code 'w'
__asm__("rev16 %w0, %w0" : "+r"(x));
^~~~~~~
./libavutil/aarch64/bswap.h:31:5: error: invalid 'asm': invalid operand for code 'w'
make[2]: *** [ffbuild/common.mak:60: libavfilter/vf_curves.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/home/hans/mythtv/build2/mythtv/mythtv/external/FFmpeg'
make[1]: *** [Makefile:28: FFmpeg-all] Error 2
make[1]: Leaving directory '/home/hans/mythtv/build2/mythtv/mythtv/external'
make: *** [Makefile:68: external] Error 2
If you are trying to compile fixes/31 or master, you will find that a couple of command-line switches of configure are no longer valid. This is due to an upgrade from FFmpeg which is used in the Mythtv source code.
So the configure options for compiling fixes/30 are:
Code: Select all
./configure --arch=armhf --enable-openmax --disable-vdpau --disable-opengl-video --enable-opengl --disable-opengl-themepainter --disable-vaapi
Code: Select all
./configure --arch=armhf --disable-vdpau --enable-opengl --disable-vaapi