rk3308cc 按文档步骤kernel编译错误,不能通过,求助。
oot@kdaudio-optiplex-7050:/home/liuhuan/rk3308cc/rk3308-linux-firefly/kernel# lsandroid certs drivers ipc logo.bmp net security
arch COPYING firmwareKbuild logo_kernel.bmpREADME sound
backported-features CREDITS fs KconfigMAINTAINERS REPORTING-BUGStools
block crypto include kernel Makefile samples usr
build.config.cuttlefish.x86_64Documentationinit lib mm scripts virt
root@kdaudio-optiplex-7050:/home/liuhuan/rk3308cc/rk3308-linux-firefly/kernel# make arch=arm64 firefly-rk3308_linux_defconfig
#
# configuration written to .config
#
root@kdaudio-optiplex-7050:/home/liuhuan/rk3308cc/rk3308-linux-firefly/kernel# make arch=arm64 rk3308-roc-cc-dmic-pdm_emmc.img
scripts/kconfig/conf--silentoldconfig Kconfig
CHK scripts/mod/devicetable-offsets.h
CHK include/config/kernel.release
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
CHK include/generated/bounds.h
CHK include/generated/timeconst.h
CHK include/generated/asm-offsets.h
CALL scripts/checksyscalls.sh
VDSOL arch/arm64/kernel/vdso/vdso.so.dbg
/home/liuhuan/rk3308cc/rk3308-linux-firefly/prebuilts/gcc/linux-x86/aarch64/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/6.3.1/../../../../aarch64-linux-gnu/bin/ld: /home/liuhuan/rk3308cc/rk3308-linux-firefly/prebuilts/gcc/linux-x86/aarch64/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/bin/../libexec/gcc/aarch64-linux-gnu/6.3.1/liblto_plugin.so: error loading plugin: /home/liuhuan/rk3308cc/rk3308-linux-firefly/prebuilts/gcc/linux-x86/aarch64/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/bin/../libexec/gcc/aarch64-linux-gnu/6.3.1/liblto_plugin.so: file too short
collect2: error: ld returned 1 exit status
arch/arm64/kernel/vdso/Makefile:34: recipe for target 'arch/arm64/kernel/vdso/vdso.so.dbg' failed
make: *** Error 1
arch/arm64/Makefile:152: recipe for target 'vdso_prepare' failed
make: *** Error 2
请问这个错误是怎么解决的? /home/liuhuan/rk3308cc/rk3308-linux-firefly/prebuilts/gcc/linux-x86/aarch64/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/bin/../libexec/gcc/aarch64-linux-gnu/6.3.1/liblto_plugin.so: file too short
看你的报错,应该是软链接设置有问题,试试删掉相关软链接再重新做软链接试试。
页:
[1]