Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I have an error #25

Open
bs111 opened this issue Oct 12, 2019 · 3 comments
Open

I have an error #25

bs111 opened this issue Oct 12, 2019 · 3 comments

Comments

@bs111
Copy link

bs111 commented Oct 12, 2019

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
Copy link
Author

bs111 commented Oct 12, 2019

捕获

@bs111
Copy link
Author

bs111 commented Oct 12, 2019

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

@AdamMattas
Copy link

AdamMattas commented Apr 4, 2022

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants