[FFmpeg-user] FFmpeg compile error

Carl Zwanzig cpz at tuunq.com
Sat Dec 5 18:58:48 EET 2020


On 12/5/2020 4:52 AM, Ram Shaffir wrote:
> I told that it is a mistake to use sudo when configure and make, 

Certainly is (why did you use it in the first place?). I think you need to 
educate yourself on what sudo does and when to use it. It's almost never 
needed with compiling.


> 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));

Search for "error: invalid 'asm': invalid operand for code 'w'", that will 
say a lot about why this might be a problem, including at 
https://forum.mythtv.org/viewtopic.php?t=3606.

Please do a little research before just asking "what's wrong?".

Later,

z!


More information about the ffmpeg-user mailing list