Hi,
I had tried to compile FFmpeg last version from source on TX1 R23.2 but failed, as it shows:
CC libavfilter/vf_convolution.o
CC libavfilter/vf_copy.o
CC libavfilter/vf_cover_rect.o
CC libavfilter/vf_crop.o
CC libavfilter/vf_cropdetect.o
CC libavfilter/vf_curves.o
In file included from ./libavutil/bswap.h:38:0,
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: *** [libavfilter/vf_curves.o] Error 1
I had searched in the forum and another thread had the same symptom when building libav, and the poster thought it was caused by the aarch64 with 32bit user space.
So how should I configure it and compile?
Many thanks.
Also, it was saying the 64bit kernel for TX1 is releasing in June but not yet shown. Looking for it.