|
【技术讨论】
rk3308cc 按文档步骤kernel编译错误,不能通过,求助。
发表于 2018-12-21 15:55:31
浏览:8816
|
回复:2
打印
只看该作者
[复制链接]
楼主
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
|
|