RK3399linux交叉编辑器下载,rk3399pro 编译 出错

【开发者测试/功能测试/代码检视】

iSula版本信息及项目分支

操作系统版本及编译器版本

开发板:rk3399pro

系统:debian9

编译器:aarch64-linux-gnu-

问题描述及重现步骤

在rk3399pro上编译"lxc", autogen.sh configure后输出如下

----------------------------

Binaries

- Command Line Tools:

- lxc-attach: yes

- lxc-autostart: yes

- lxc-cgroup: yes

- lxc-checkpoint: yes

- lxc-config: yes

- lxc-console: yes

- lxc-copy: yes

- lxc-create: yes

- lxc-destroy: yes

- lxc-device: yes

- lxc-execute: yes

- lxc-freeze: yes

- lxc-info: yes

- lxc-ls: yes

- lxc-monitor: yes

- lxc-snapshot: yes

- lxc-start: yes

- lxc-stop: yes

- lxc-top: yes

- lxc-unfreeze: yes

- lxc-unshare: yes

- lxc-wait: yes

- liblxc Commands:

- lxc-checkconfig: yes

- lxc-update-config: yes

- lxc-init: yes

- lxc-monitord: yes

- lxc-user-nic: yes

- lxc-usernsexec: yes

Environment:

- compiler: gcc

- distribution: debian

- init script type(s): upstart,systemd

- rpath: no

- OpenSSL: yes

- Bash integration: yes

Security features:

- Apparmor: no

- Linux capabilities: no

- seccomp: no

- SELinux: no

- memfd rexec: yes

PAM:

- PAM module: no

- cgroup PAM module:

Documentation:

- examples: yes

- API documentation: no

- user documentation: no

Debugging:

- tests: no

- ASAN: no

- mutex debugging: no

Paths:

- Logs in configpath: no

Thread-safety:

- enforce: yes

Dlog:

- enable: no

然后在make时,报了如下错误:

conf.c: In function ‘lxc_drop_caps’:

conf.c:5307:7: error: ‘caplist’ undeclared (first use in this function)

free(caplist);

^~~~~~~

conf.c:5307:7: note: each undeclared identifier is reported only once for each function it appears in

conf.c:5308:9: error: ‘ret’ undeclared (first use in this function)

return ret;

^~~

conf.c:5306:1: error: label ‘out’ defined but not used [-Werror=unused-label]

out:

^~~

conf.c:5309:1: error: control reaches end of non-void function [-Werror=return-type]

}

^

cc1: all warnings being treated as errors

Makefile:2001: recipe for target 'liblxc_la-conf.lo' failed

make[3]: *** [liblxc_la-conf.lo] Error 1

make[3]: Leaving directory '/home/linaro/lxc/lxc-4.0.3/src/lxc'

Makefile:434: recipe for target 'all-recursive' failed

make[2]: *** [all-recursive] Error 1

make[2]: Leaving directory '/home/linaro/lxc/lxc-4.0.3/src'

Makefile:373: recipe for target 'all' failed

make[1]: *** [all] Error 2

make[1]: Leaving directory '/home/linaro/lxc/lxc-4.0.3/src'

Makefile:531: recipe for target 'all-recursive' failed

make: *** [all-recursive] Error 1

不知道是不是我这边缺少什么东西吗

预期结果

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值