Makefile:1: *** commands commence before first target. Stop.

yanzhi17xue 2013-06-07 11:16:05
make[1]: Entering directory `/home/yanzhixue/桌面/BSR_full/BSR/grouping/source/gpb_src/src'
rm -f
rm -f
make[2]: Entering directory `/home/yanzhixue/桌面/BSR_full/BSR/grouping/source/gpb_src/src/concurrent'
Makefile:1: *** missing separator. Stop.
make[2]: Leaving directory `/home/yanzhixue/桌面/BSR_full/BSR/grouping/source/gpb_src/src/concurrent'
make[2]: Entering directory `/home/yanzhixue/桌面/BSR_full/BSR/grouping/source/gpb_src/src/io'
但是makefile 和Rules.make都只有一行

../makefile

../Rules.make

每一个行加了tab后出现错误:

make[2]: Entering directory `/home/yanzhixue/桌面/BSR_full/BSR/grouping/source/gpb_src/src/concurrent'
Makefile:1: *** commands commence before first target. Stop.
make[2]: Leaving directory `/home/yanzhixue/桌面/BSR_full/BSR/grouping/source/gpb_src/src/concurrent'



不知道怎么改
...全文
974 7 打赏 收藏 转发到动态 举报
写回复
用AI写文章
7 条回复
切换为时间正序
请发表友善的回复…
发表回复
Binzo 2014-04-30
  • 打赏
  • 举报
回复
命令如gcc,rm前要缩进,输<tab > 。
zhangshan415 2014-04-29
  • 打赏
  • 举报
回复
引用 3 楼 yanzhi17xue 的回复:
用空格 出现错误:Makefile:1: *** missing separator. Stop.
wo ye yu dao tong yang de wen ti qing wen zen me jie jue .
zhxianbin 2013-06-08
  • 打赏
  • 举报
回复
按照 目标、依赖、规则的语法去写
yanzhi17xue 2013-06-08
  • 打赏
  • 举报
回复
是两个文件件,都只有一行
yanzhi17xue 2013-06-08
  • 打赏
  • 举报
回复
用空格 出现错误:Makefile:1: *** missing separator. Stop.
zhxianbin 2013-06-08
  • 打赏
  • 举报
回复
不能每一行加 tab
wrhzy 2013-06-07
  • 打赏
  • 举报
回复
删掉tab,用空格。

21,597

社区成员

发帖
与我相关
我的任务
社区描述
硬件/嵌入开发 驱动开发/核心开发
社区管理员
  • 驱动开发/核心开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧