Firefly开源社区
标题:
rk3308cc 按文档步骤kernel编译错误,不能通过,求助。
[打印本页]
作者:
victorliu2009
时间:
2018-12-21 15:55
标题:
rk3308cc 按文档步骤kernel编译错误,不能通过,求助。
oot@kdaudio-optiplex-7050:/home/liuhuan/rk3308cc/rk3308-linux-firefly/kernel# ls
android certs drivers ipc logo.bmp net security
arch COPYING firmware Kbuild logo_kernel.bmp README sound
backported-features CREDITS fs Kconfig MAINTAINERS REPORTING-BUGS tools
block crypto include kernel Makefile samples usr
build.config.cuttlefish.x86_64 Documentation init 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[1]: *** [arch/arm64/kernel/vdso/vdso.so.dbg] Error 1
arch/arm64/Makefile:152: recipe for target 'vdso_prepare' failed
make: *** [vdso_prepare] Error 2
作者:
victorliu2009
时间:
2018-12-21 15:59
请问这个错误是怎么解决的?
作者:
Yzh
时间:
2018-12-22 15:27
/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
看你的报错,应该是软链接设置有问题,试试删掉相关软链接再重新做软链接试试。
欢迎光临 Firefly开源社区 (https://dev.t-firefly.com/)
Powered by Discuz! X3.1