社区
Linux/Unix社区
帖子详情
请教:makefile里面使用ifeq条件表达式,提示错误:"Makefile", line 1: make: Dependency line needs colon or double colon operator.
ccwing
2004-06-18 06:39:05
好好的一个makefile里面任何一个地方加入:
ifeq ($(CC),gcc)
@echo gcc
else
@echo other
endif
都会提示出错,什么原因?是make的版本问题还是语法错误?用的系统是AIX
...全文
937
7
打赏
收藏
请教:makefile里面使用ifeq条件表达式,提示错误:"Makefile", line 1: make: Dependency line needs colon or double colon operator.
好好的一个makefile里面任何一个地方加入: ifeq ($(CC),gcc) @echo gcc else @echo other endif 都会提示出错,什么原因?是make的版本问题还是语法错误?用的系统是AIX
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
7 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
ccwing
2004-09-27
打赏
举报
回复
那到底都依赖了些什么呢
JedyWoody
2004-09-23
打赏
举报
回复
是错了, 这样写让 make 认为应该有依赖体, 有一段时间没在 linux 下写东西了, 规则记不太清了
ccwing
2004-09-22
打赏
举报
回复
提示错误:"Makefile", line 1: make: Dependency line needs colon or double colon operator.
CsdnRob
2004-07-01
打赏
举报
回复
sharkhuang
2004-06-20
打赏
举报
回复
这句话本生没有错啊
ccwing
2004-06-20
打赏
举报
回复
提示错误:"Makefile", line 1: make: Dependency line needs colon or double colon operator.
ccwing
2004-06-18
打赏
举报
回复
ifeq 不是依赖规则啊,为何提示要加入冒号的
错误
make
file
,
line
30
make
Dependency
line
needs
colon
or
double
colon
operator
的解决方法
错误
make
file
,
line
30
make
Dependency
line
needs
colon
or
double
colon
operator
的解决方法
使用
make
file
编译文件时,执行
make
命令报如下
错误
。 "
make
file
",
line
30:
make
:
Dependency
line
needs
colon
or...
make
编译报错 "
Make
file
",
line
10:
make
:
Dependency
line
needs
colon
or
double
colon
operator
.
我是新手:由于对大项目的学习需求,将原本的
make
file
文件直接用复制粘贴的方法复制到了新的..."
Make
file
",
line
10:
make
:
Dependency
line
needs
colon
or
double
colon
operator
. "
Make
file
",
line
14:
make
: Depend
make
: 1254-055
Dependency
line
needs
colon
or
double
colon
operator
.
make
: 1254-055
Dependency
line
needs
colon
or
double
colon
operator
. 后来查了很久,发现自己普通用户,而用which
make
时,发现是: /usr/bin下。 是aix自带的
make
。然后更改/usr/local/bin的权限。 就...
AIX
make
概述
Dependency
line
needs
colon
or
double
colon
operator
在AIX Version 5.3上下了个Redis,
make
的时候出错: [java] view ...$
make
... cd src &&
make
all ..."
Make
file
",
line
30:
make
: 1254-055
Dependency
line
needs
colon
or
double
col
make
file
--编码修改-空格出现
错误
"
make
file
",
line
40:
make
: 1254-055
Dependency
line
needs
colon
or
double
colon
operator
. "
make
file
",
line
44:
make
: 1254-055
Dependency
line
needs
colon
or
double
colon
operator
. 修改了编码方式 转载...
Linux/Unix社区
23,121
社区成员
74,508
社区内容
发帖
与我相关
我的任务
Linux/Unix社区
Linux/Unix社区 应用程序开发区
复制链接
扫一扫
分享
社区描述
Linux/Unix社区 应用程序开发区
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章