找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 1632|回复: 4

新人求助,用Ubuntu编译Openwrt出错,make: *** [world] 错误 2

[复制链接]
SHELL= /home/drx/openwrt_CC_mt76xx_zhuotk_source/staging_dir/host/bin/flock /home/drx/openwrt_CC_mt76xx_zhuotk_source/tmp/.root-copy.flock -c 'cp -fpR /home/drx/openwrt_CC_mt76xx_zhuotk_source/staging_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/root-ramips/tmp-busybox/. /home/drx/openwrt_CC_mt76xx_zhuotk_source/staging_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/root-ramips/'
rm -rf /home/drx/openwrt_CC_mt76xx_zhuotk_source/staging_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/root-ramips/tmp-busybox
touch /home/drx/openwrt_CC_mt76xx_zhuotk_source/staging_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/root-ramips/stamp/.busybox_installed
if [ -f /home/drx/openwrt_CC_mt76xx_zhuotk_source/staging_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/pkginfo/busybox.default.install.clean ]; then rm -f /home/drx/openwrt_CC_mt76xx_zhuotk_source/staging_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/pkginfo/busybox.default.install /home/drx/openwrt_CC_mt76xx_zhuotk_source/staging_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/pkginfo/busybox.default.install.clean; fi; echo "busybox" >> /home/drx/openwrt_CC_mt76xx_zhuotk_source/staging_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/pkginfo/busybox.default.install
make[3]: Leaving directory `/home/drx/openwrt_CC_mt76xx_zhuotk_source/package/utils/busybox'
make[3]: Entering directory `/home/drx/openwrt_CC_mt76xx_zhuotk_source/package/utils/hello_world'
Makefile:30: *** missing separator (did you mean TAB instead of 8 spaces?).  Stop.
make[3]: Leaving directory `/home/drx/openwrt_CC_mt76xx_zhuotk_source/package/utils/hello_world'
make[2]: *** [package/utils/hello_world/compile] Error 2
make[2]: Leaving directory `/home/drx/openwrt_CC_mt76xx_zhuotk_source'
make[1]: *** [/home/drx/openwrt_CC_mt76xx_zhuotk_source/staging_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/stamp/.package_compile] Error 2
make[1]: Leaving directory `/home/drx/openwrt_CC_mt76xx_zhuotk_source'
make: *** [world] 错误 2


我的恩山、我的无线 The best wifi forum is right here.
来自手机 | 显示全部楼层
`/home/drx/openwrt_CC_mt76xx_zhuotk_source/package/utils/hello_world' Makefile:30: *** missing separator (did you mean TAB instead of 8 spaces?).  Stop
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

你自己写的 hello_world ?

Makefile 文件中,换行要用 TAB 键,而不是 Enter 键,你明白了么?

点评

是 Makefile 要用 Tab 缩进,而他用了空格。  详情 回复 发表于 2018-1-17 18:50
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

hello_limin 发表于 2018-1-17 17:42
你自己写的 hello_world ?

Makefile 文件中,换行要用 TAB 键,而不是 Enter 键,你明白了么?

是 Makefile 要用 Tab 缩进,而他用了空格。

点评

正解  详情 回复 发表于 2018-1-17 19:13
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

ysc3839 发表于 2018-1-17 18:50
是 Makefile 要用 Tab 缩进,而他用了空格。

正解
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-4-27 19:28

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表