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

make -j8编译失败在aarch64平台 #28

Open
Tom-python0121 opened this issue May 15, 2021 · 0 comments
Open

make -j8编译失败在aarch64平台 #28

Tom-python0121 opened this issue May 15, 2021 · 0 comments

Comments

@Tom-python0121
Copy link

我遇到一个问题,关于在centos8 aarch64平台移植xavs2出现的问题,如下所示:

[root@centos8 linux]# ./configure --prefix=$build_dir/avs2_lib --enable-pic --enable-shared
platform:      AARCH64
byte order:    little-endian
system:        LINUX
cli:           yes
libxavs2:      internal
shared:        yes
static:        yes
asm:           yes
interlaced:    yes
avs:           no
lavf:          no
ffms:          no
mp4:           no
gpl:           yes
thread:        posix
opencl:        no
filters:       crop select_every
lto:           no
debug:         no
gprof:         no
strip:         no
PIC:           yes
bit depth:     8
chroma format: all

You can run 'make' or 'make fprofiled' now.
[root@centos8 linux]# make -j8
\033[33m dependency file generation... \033[0m
gcc: error: /root/AVS2/buildFFmpegAVS2/davs2/source/common/aarch64/asm-offsets.c: No such file or directory
gcc: fatal error: no input files
compilation terminated.
gcc: error: /root/AVS2/buildFFmpegAVS2/davs2/source/common/aarch64/mc-c.c: No such file or directory
gcc: fatal error: no input files
compilation terminated.
gcc: error: /root/AVS2/buildFFmpegAVS2/davs2/source/common/aarch64/predict-c.c: No such file or directory
gcc: fatal error: no input files
compilation terminated.
……
rch64/pixel-a.o common/aarch64/predict-a.o common/aarch64/quant-a.o
gcc: error: common/aarch64/asm-offsets.o: No such file or directory
gcc: error: common/aarch64/mc-c.o: No such file or directory
gcc: error: common/aarch64/predict-c.o: No such file or directory
gcc: error: common/aarch64/bitstream-a.o: No such file or directory
gcc: error: common/aarch64/cabac-a.o: No such file or directory
gcc: error: common/aarch64/dct-a.o: No such file or directory
gcc: error: common/aarch64/deblock-a.o: No such file or directory
gcc: error: common/aarch64/mc-a.o: No such file or directory
gcc: error: common/aarch64/pixel-a.o: No such file or directory
gcc: error: common/aarch64/predict-a.o: No such file or directory
gcc: error: common/aarch64/quant-a.o: No such file or directory
make: *** [Makefile:224: libdavs2.so.13] Error 1
make: *** Waiting for unfinished jobs....
/usr/bin/ar: common/aarch64/asm-offsets.o: No such file or directory
make: *** [Makefile:219: libdavs2.a] Error 1

现在我看到configure以及Makefile里头关于这方面的描述:
vim configure:
image
这里中间缺少了拉取common/aarch64的步骤。
vim Makefile:
image
由于common/aarch64里头没有这些文件,导致编译失败。

你能够告诉我如何才能够下载到上面那些文件么?(包括xavs2也报这样的错误)

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

1 participant