ffmpeg-binary-android icon indicating copy to clipboard operation
ffmpeg-binary-android copied to clipboard

I have an error

Open bs111 opened this issue 5 years ago • 3 comments

gcc -c -g -O3 -fwrapv -U__STRICT_ANSI__ -fno-common -Werror=attributes -W -Wall -pedantic -Wc90-c99-compat -Wno-long-long -Werror=implicit -Werror=missing-braces -Werror=return-type -Werror=trigraphs -Werror=pointer-arith -Werror=missing-prototypes -Werror=missing-declarations -Werror=comment -Werror=vla -DHAVE_CONFIG_H -I. -I. -I./include -I./include -I./x86 -I./x86 -I./asm -I./asm -I./disasm -I./disasm -I./output -I./output -o asm/nasm.o asm/nasm.c In file included from ./include/nasm.h:46, from asm/nasm.c:47: ./include/nasmlib.h:194:1: error: ‘pure’ attribute on function returning ‘void’ [-Werror=attributes] 194 | void pure_func seg_init(void);

on kali linux.

bs111 avatar Oct 12 '19 10:10 bs111

捕获

bs111 avatar Oct 12 '19 10:10 bs111

kalibs@MateBook:/mnt/g/MyPython/Studty/65多媒体_ffmpeg/ffmpeg-binary-android-master/build_scripts$ ./build_ffmpeg.sh $TARGET $FLAVOR $BUILD_DIR $FINAL_DIR

bs111 avatar Oct 12 '19 10:10 bs111

Using a NASM version >= 2.14-1 should fix this. I ended up using the latest version at the time (https://www.nasm.us/pub/nasm/releasebuilds/2.15.05/nasm-2.15.05.tar.xz)

AdamMattas avatar Apr 04 '22 23:04 AdamMattas