Build ONIE SDK

Linux ubuntu 4.15.0-29-generic #31~16.04.1-Ubuntu SMP Wed Jul 18 08:54:04 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

sudo apt-get install xorriso

[ error ]

configure: error: Required tool not found: GNU awk
make/crosstool-ng.make:84: recipe for target '/home/zhangpeng/work/mtk-switch/onie/build/crosstool-ng/stamp/crosstool-ng-configure' failed
make: *** [/home/zhangpeng/work/mtk-switch/onie/build/crosstool-ng/stamp/crosstool-ng-configure] Error 1

[ solution ]

sudo apt-get install gawk

=====================================================================================

[ error ]

configure: error: missing required tool: help2man
make/crosstool-ng.make:84: recipe for target '/home/zhangpeng/onie/build/crosstool-ng/stamp/crosstool-ng-configure' failed
make: *** [/home/zhangpeng/onie/build/crosstool-ng/stamp/crosstool-ng-configure] Error 1

[ solution ]

sudo apt-get install texinfo

=====================================================================================

[ error ]

configure: error: missing required tool: makeinfo
make/crosstool-ng.make:84: recipe for target '/home/zhangpeng/onie/build/crosstool-ng/stamp/crosstool-ng-configure' failed
make: *** [/home/zhangpeng/onie/build/crosstool-ng/stamp/crosstool-ng-configure] Error 1

[ solution ]

 sudo apt-get install texinfo

=====================================================================================

[ error ]

==== Configuring crosstool-NG ====
Running autoconf...
./bootstrap: 5: ./bootstrap: autoconf: not found
make/crosstool-ng.make:84: recipe for target '/home/zhangpeng/onie/build/crosstool-ng/stamp/crosstool-ng-configure' failed
make: *** [/home/zhangpeng/onie/build/crosstool-ng/stamp/crosstool-ng-configure] Error 127

[ solution ]

sudo apt-get install autoconf automake libtool

=====================================================================================

[ error ]

checking for gperf... no
configure: error: missing required tool: gperf
make/crosstool-ng.make:84: recipe for target '/home/zhangpeng/onie/build/crosstool-ng/stamp/crosstool-ng-configure' failed
make: *** [/home/zhangpeng/onie/build/crosstool-ng/stamp/crosstool-ng-configure] Error 1

[ solution ]

sudo apt-get install gperf

=====================================================================================

[ error ]

/home/zhangpeng/work/mtk-switch/onie/build-config/scripts/apply-patch-series: line 23: stg: command not found
make: *** [/home/zhangpeng/work/mtk-switch/onie/build/kvm_x86_64-r0/stamp/kernel-patch] Error 127

[ solution ]

sudo apt-get install stgit

=====================================================================================

[ error ]

cp-machine-patches: line 35: realpath: command not found

[ solution ]

sudo apt-get install realpath

=====================================================================================

[ error ]

configure: error: missing required tool: gperf
make: *** [/home/zhangpeng/work/mtk-switch/onie/build/crosstool-ng/stamp/crosstool-ng-configure] Error 1

[ solution ]

sudo apt-get install gperf

=====================================================================================

[ error ]

configure: error: missing required tool: help2man

make: *** [/home/zhangpeng/work/mtk-switch/onie/build/crosstool-ng/stamp/crosstool-ng-configure] Error 1

[ solution ]

sudo apt-get install help2man

=====================================================================================

[ error ]

scripts/sign-file.c:25:30: fatal error: openssl/opensslv.h: No such file or directory
 #include <openssl/opensslv.h>

[ solution ]

sudo apt-get install libssl-dev

=====================================================================================

[ error ]

bash: sbsign: command not found
make: *** [/home/zhangpeng/work/mtk-switch/onie/build/kvm_x86_64-r0/stamp/kernel-vmlinuz-install] Error 127

[ solution ]

sudo apt-get install sbsigntool

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值