Ubuntu 8.10 编译 busybox1.2.0 出错
Ubuntu 8.10下 编译 busybox1.2.0 出现错误。
make menuconfig配置完后,make出现如下错误:
GEN include/bbconfigopts.h
GEN .depend
/media/Files/temp/linuette/busybox-1.2.0/include/bbconfigopts.h:13 hmm, unterminated
make[1]: *** [.depend] Error 1
make: *** [_all] Error 2
这是由于Ubuntu的awk/sed版本问题,做如下修改:
修改busybox-1.2.0/scripts/config/mkconfigs这个文件
将
echo "`sed 's/\"/\\\\\"/g' $config | grep "^#\? \?CONFIG_" | awk '{print "\\"" $0 "\\\\n\\"";}'`"
改成
#echo "`sed 's/\"/\\\\\"/g' $config | grep "^#\? \?CONFIG_" | awk '{print "\\"" $0 "\\"";}'`"
就ok了
相关推荐
逍遥友 2020-11-20
hellowordmonkey 2020-11-02
gloria0 2020-10-26
zyshappy 2020-08-16
pythonwangjunji 2020-08-16
Equation 2020-08-09
iamjiyu 2020-07-21
winxcoder 2020-07-18
lepton 2020-07-04
zzdadexiaoha 2020-06-28
ajuan 2020-06-25
tosim 2020-06-24
wghou 2020-06-21
yudiewenyuan 2020-06-21
JessePinkmen 2020-06-14
heimu 2020-06-12
limx 2020-06-11
zghover 2020-06-11