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

运行到内核编译,报错 #18

Open
dbhrscom opened this issue Aug 20, 2023 · 0 comments
Open

运行到内核编译,报错 #18

dbhrscom opened this issue Aug 20, 2023 · 0 comments

Comments

@dbhrscom
Copy link

基于yocto master 构建 core-image-minimal,应用了binutils,openssl 和 linux 的 meta文件,报如下错误

`linux-yocto_6.4.9+gitAUTOINC+88ed9ec490_72bad8cd75-r0 do_compile

DEBUG: Executing shell function do_compile
NOTE: KBUILD_BUILD_TIMESTAMP: Wed Aug 9 03:27:19 UTC 2023
NOTE: make -j 4 CC=loongarch64-poky-linux-gcc -fuse-ld=bfd -fcanon-prefix-map -fmacro-prefix-map=/home/dbhrscom/mysdk/yocto/poky/build/tmp/work-shared/qemuloongarch64/kernel-source=/usr/src/debug/linux-yocto/6.4.9+gitAUTOINC+88ed9ec490_72bad8cd75-r0 -fdebug-prefix-map=/home/dbhrscom/mysdk/yocto/poky/build/tmp/work-shared/qemuloongarch64/kernel-source=/usr/src/debug/linux-yocto/6.4.9+gitAUTOINC+88ed9ec490_72bad8cd75-r0 -fmacro-prefix-map=/home/dbhrscom/mysdk/yocto/poky/build/tmp/work/qemuloongarch64-poky-linux/linux-yocto/6.4.9+gitAUTOINC+88ed9ec490_72bad8cd75/linux-qemuloongarch64-standard-build=/usr/src/debug/linux-yocto/6.4.9+gitAUTOINC+88ed9ec490_72bad8cd75-r0 -fdebug-prefix-map=/home/dbhrscom/mysdk/yocto/poky/build/tmp/work/qemuloongarch64-poky-linux/linux-yocto/6.4.9+gitAUTOINC+88ed9ec490_72bad8cd75/linux-qemuloongarch64-standard-build=/usr/src/debug/linux-yocto/6.4.9+gitAUTOINC+88ed9ec490_72bad8cd75-r0 -fdebug-prefix-map=/home/dbhrscom/mysdk/yocto/poky/build/tmp/work/qemuloongarch64-poky-linux/linux-yocto/6.4.9+gitAUTOINC+88ed9ec490_72bad8cd75/recipe-sysroot= -fmacro-prefix-map=/home/dbhrscom/mysdk/yocto/poky/build/tmp/work/qemuloongarch64-poky-linux/linux-yocto/6.4.9+gitAUTOINC+88ed9ec490_72bad8cd75/recipe-sysroot= -fdebug-prefix-map=/home/dbhrscom/mysdk/yocto/poky/build/tmp/work/qemuloongarch64-poky-linux/linux-yocto/6.4.9+gitAUTOINC+88ed9ec490_72bad8cd75/recipe-sysroot-native= -fdebug-prefix-map=/home/dbhrscom/mysdk/yocto/poky/build/tmp/work-shared/qemuloongarch64/kernel-source=/usr/src/kernel -fdebug-prefix-map=/home/dbhrscom/mysdk/yocto/poky/build/tmp/work-shared/qemuloongarch64/kernel-build-artifacts=/usr/src/kernel LD=loongarch64-poky-linux-ld.bfd OBJCOPY=loongarch64-poky-linux-objcopy STRIP=loongarch64-poky-linux-strip HOSTCC=gcc HOSTCFLAGS=-isystem/home/dbhrscom/mysdk/yocto/poky/build/tmp/work/qemuloongarch64-poky-linux/linux-yocto/6.4.9+gitAUTOINC+88ed9ec490_72bad8cd75/recipe-sysroot-native/usr/include -O2 -pipe HOSTLDFLAGS=-L/home/dbhrscom/mysdk/yocto/poky/build/tmp/work/qemuloongarch64-poky-linux/linux-yocto/6.4.9+gitAUTOINC+88ed9ec490_72bad8cd75/recipe-sysroot-native/usr/lib -L/home/dbhrscom/mysdk/yocto/poky/build/tmp/work/qemuloongarch64-poky-linux/linux-yocto/6.4.9+gitAUTOINC+88ed9ec490_72bad8cd75/recipe-sysroot-native/lib -Wl,—enable-new-dtags -Wl,-rpath-link,/home/dbhrscom/mysdk/yocto/poky/build/tmp/work/qemuloongarch64-poky-linux/linux-yocto/6.4.9+gitAUTOINC+88ed9ec490_72bad8cd75/recipe-sysroot-native/usr/lib -Wl,-rpath-link,/home/dbhrscom/mysdk/yocto/poky/build/tmp/work/qemuloongarch64-poky-linux/linux-yocto/6.4.9+gitAUTOINC+88ed9ec490_72bad8cd75/recipe-sysroot-native/lib -Wl,-rpath,/home/dbhrscom/mysdk/yocto/poky/build/tmp/work/qemuloongarch64-poky-linux/linux-yocto/6.4.9+gitAUTOINC+88ed9ec490_72bad8cd75/recipe-sysroot-native/usr/lib -Wl,-rpath,/home/dbhrscom/mysdk/yocto/poky/build/tmp/work/qemuloongarch64-poky-linux/linux-yocto/6.4.9+gitAUTOINC+88ed9ec490_72bad8cd75/recipe-sysroot-native/lib -Wl,-O1 -Wl,—allow-shlib-undefined -Wl,—dynamic-linker=/home/dbhrscom/mysdk/yocto/poky/build/tmp/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 HOSTCPP=gcc -E HOSTCXX=g++ HOSTCXXFLAGS=-isystem/home/dbhrscom/mysdk/yocto/poky/build/tmp/work/qemuloongarch64-poky-linux/linux-yocto/6.4.9+gitAUTOINC+88ed9ec490_72bad8cd75/recipe-sysroot-native/usr/include -O2 -pipe PAHOLE=false -j 4 vmlinuz
make: * No rule to make target ‘vmlinuz’. Stop.
ERROR: oe_runmake failed
WARNING: exit code 1 from a shell command.`

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