资料地址:http://licheezero.readthedocs.io/zh/latest/系统开发/bsp_build.html#
v3s_lichee.zip:https://pan.baidu.com/s/1eRJrViy
编译日志:
yilianyun1@ubuntu:/lichee$ ./build.sh
INFO: ----------------------------------------
INFO: build lichee ...
INFO: chip: sun8iw8p1
INFO: platform: linux
INFO: kernel: linux-3.4
INFO: board: tiger-cdr
INFO: output: out/sun8iw8p1/linux/tiger-cdr
INFO: ----------------------------------------
INFO: build buildroot ...
make:进入目录'/lichee/buildroot'
/bin/bash: 行 2: /lichee/out/sun8iw8p1/linux/common/buildroot/external-toolchain/bin/arm-linux-gnueabi-gcc: 没有那个文件或目录
readlink: 缺少操作数
Try 'readlink --help' for more information.
/bin/bash: 行 5: @echo: 未找到命令
make: *** [/lichee/out/sun8iw8p1/linux/common/buildroot/stamps/ext-toolchain-installed] 错误 1
make:离开目录“/lichee/buildroot”
ERROR: build buildroot Failed
最近编辑记录 BMN李 (2018-03-23 12:49:15)
离线
看上去好像是没有编译工具啊。你在lichee/out/sun8iw8p1/linux/common/buildroot/external-toolchain 放一个编译工具 应该是这样的吧
离线
解决方法:
1.
/bin/bash: 行 2: /lichee/out/sun8iw8p1/linux/common/buildroot/external-toolchain/bin/arm-linux-gnueabi-gcc: 没有那个文件或目录
在网上查了一下,大概说是我的系统是64位的,而这个程序是32位的,存在兼容问题,需要安装lsb-core,即命令sudo apt-get install lsb-core。
2.但是在这之后又有了新的问题:
./arm-linux-gnueabi-gcc: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
这个问题安装一下下面软件就好了。
apt-get install lib32z1 lib32ncurses5
apt-get install lib32stdc++6
离线
hostmybytes 的 vps 上编译 f1c100s的sdk也出现了一模一样的问题,
root@test1:/opt/c600# ./build.sh
INFO: ----------------------------------------
INFO: build lichee ...
INFO: chip: sunivw1p1
INFO: platform: linux
INFO: kernel: linux-3.10
INFO: board: evb
INFO: output: out/sunivw1p1/linux/evb
INFO: ----------------------------------------
INFO: build buildroot ...
make: Entering directory '/opt/c600/buildroot'
/bin/bash: line 2: /opt/c600/out/sunivw1p1/linux/common/buildroot/external-toolchain/bin/arm-none-linux-gnueabi-gcc: No such file or directory
readlink: missing operand
Try 'readlink --help' for more information.
/bin/bash: line 5: @echo: command not found
toolchain/toolchain-external/ext-tool.mk:179: recipe for target '/opt/c600/out/sunivw1p1/linux/common/buildroot/stamps/ext-toolchain-installed' failed
make: *** [/opt/c600/out/sunivw1p1/linux/common/buildroot/stamps/ext-toolchain-installed] Error 1
make: Leaving directory '/opt/c600/buildroot'
ERROR: build buildroot Failed
vps linux参数:
root@test1:/opt/c600# uname -a
Linux test1 2.6.32-042stab126.1 #1 SMP Wed Nov 15 20:14:46 MSK 2017 x86_64 x86_64 x86_64 GNU/Linux
root@test1:/opt/c600# cat /etc/issue
Ubuntu 16.04.1 LTS \n \lroot@test1:/opt/c600#
现在试一试楼主提供的方法.
离线
收藏,我也正好碰到这个坑,64bit 的Ubuntu,工具链却是 32bit 的.
离线