嵌入式学习小组
直播中

黄敏

7年用户 173经验值
私信 关注

orange pi kernel编译出错该怎么办?

root@michael-LENOVO:/home/michael/lichee# ./build.sh config

Welcome to mkscript setup progress
All available chips:
    0. sun6i
    1. sun8iw6p1
    2. sun8iw7p1
    3. sun9iw1p1
Choice: 2
All available platforms:
    0. android
    1. dragonboard
    2. linux
Choice: 2
not set business, to use default!
LICHEE_BUSINESS=
using kernel 'linux-3.4':
All available boards:
    0. dolphin-cmcc-wasu-p1
    1. dolphin-p1
    2. dolphin-perf
    3. FPGA
Choice: 2
==================================
INFO: ----------------------------------------
INFO: build lichee ...
INFO: chip: sun8iw7p1
INFO: platform: linux
INFO: business:
INFO: kernel: linux-3.4
INFO: board: dolphin-perf
INFO: output: out/sun8iw7p1/linux/dolphin-perf
INFO: ----------------------------------------
INFO: build buildroot ...
make:进入目录'/home/michael/lichee/buildroot'
/bin/bash: 行 2: /home/michael/lichee/out/sun8iw7p1/linux/common/buildroot/external-toolchain/bin/ARM-linux-gnueabi-gcc: 没有那个文件或目录
readlink: 缺少操作数
Try 'readlink --help' for more information.
/bin/bash: 行 5: [@echo:10012]: 未找到命令
make: *** [/home/michael/lichee/out/sun8iw7p1/linux/common/buildroot/stamps/ext-toolchain-installed] 错误 1
make:离开目录“/home/michael/lichee/buildroot”
ERROR: build buildroot Failed

回帖(2)

韩冬

2019-10-23 10:34:01
也许你解压的方式不对,你尝试 chmod 777 之类的命令,让 /home/michael/lichee/out/sun8iw7p1/linux/common/buildroot/external-toolchain/bin/arm-linux-gnueabi-gcc
  变成可执行程序看看!!
举报

潘煜晨

2019-10-23 10:44:13
请问楼主怎么解决的,能否提供一下解决方法。
举报

更多回帖

发帖
×
20
完善资料,
赚取积分