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

5plus 编译失败 #35

Open
3wlh opened this issue Apr 27, 2024 · 1 comment
Open

5plus 编译失败 #35

3wlh opened this issue Apr 27, 2024 · 1 comment

Comments

@3wlh
Copy link

3wlh commented Apr 27, 2024

make[2]: Leaving directory '/Compile'

  • mkdir -p /Compile/staging_dir/target-aarch64_generic_musl
  • cd /Compile/staging_dir/target-aarch64_generic_musl
  • mkdir -p bin lib stamp usr/include usr/lib
    mkdir -p /Compile/build_dir/target-aarch64_generic_musl/stamp
    touch /Compile/staging_dir/target-aarch64_generic_musl/.prepared
    make[3]: Entering directory '/Compile/toolchain/gdb'
    make[3]: Entering directory '/Compile/toolchain/fortify-headers'
    make[3]: Entering directory '/Compile/toolchain/binutils'
    make[3]: Nothing to be done for 'compile'.
    make[3]: Leaving directory '/Compile/toolchain/gdb'
    time: toolchain/gdb/compile#0.00#0.00#0.01
    make[3]: Nothing to be done for 'compile'.
    make[3]: Leaving directory '/Compile/toolchain/binutils'
    time: toolchain/binutils/compile#0.00#0.00#0.01
    make[3]: Nothing to be done for 'compile'.
    make[3]: Leaving directory '/Compile/toolchain/fortify-headers'
    time: toolchain/fortify-headers/compile#0.01#0.00#0.02
    make[3]: Entering directory '/Compile/toolchain/gcc/initial'
    make[3]: Nothing to be done for 'compile'.
    make[3]: Leaving directory '/Compile/toolchain/gcc/initial'
    time: toolchain/gcc/initial/compile#0.00#0.00#0.01
    make[3]: Entering directory '/Compile/toolchain/kernel-headers'
    make[3]: Entering directory '/Compile/toolchain/musl'
    rm -rf /Compile/build_dir/toolchain-aarch64_generic_gcc-11.2.0_musl/linux-*
    xzcat /Compile/dl/linux-5.10.110.tar.xz | tar -C /Compile/build_dir/toolchain-aarch64_generic_gcc-11.2.0_musl -xf -
    xzcat: /Compile/dl/linux-5.10.110.tar.xz: No such file or directory
    tar: This does not look like a tar archive
    tar: Exiting with failure status due to previous errors
    make[3]: *** [Makefile:116: /Compile/build_dir/toolchain-aarch64_generic_gcc-11.2.0_musl/linux-5.10.110/.prepared] Error 2
    make[3]: Leaving directory '/Compile/toolchain/kernel-headers'
    time: toolchain/kernel-headers/compile#0.00#0.02#0.04
    ERROR: toolchain/kernel-headers failed to build.
    make[2]: *** [toolchain/Makefile:97: toolchain/kernel-headers/compile] Error 1
    make[2]: *** Waiting for unfinished jobs....
    make[3]: Leaving directory '/Compile/toolchain/musl'
    time: toolchain/musl/compile#0.08#0.10#0.14
    make[2]: Leaving directory '/Compile'
    make[1]: *** [toolchain/Makefile:93: /Compile/staging_dir/toolchain-aarch64_generic_gcc-11.2.0_musl/stamp/.toolchain_compile] Error 2
    make[1]: Leaving directory '/Compile'
    make: *** [/Compile/include/toplevel.mk:230: world] Error 2

老是报错在这里
是哪里的问题
有什么解决办法吗

@lislee2001
Copy link

手动下载linux-5.10.110.tar.xz,放到dl目录中

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