Khang-NT / ffmpeg-binary-android

FFmpeg Prebuilt Android
192 stars 72 forks source link

I have an error #25

Open bs111 opened 4 years ago

bs111 commented 4 years ago

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 commented 4 years ago

捕获

bs111 commented 4 years ago

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

AdamMattas commented 2 years ago

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)