当前位置: 移动技术网 > 科技>操作系统>Linux > Error:Makefile:452: target 'config' given more than once in the same rul

Error:Makefile:452: target 'config' given more than once in the same rul

2018年04月29日  | 移动技术网科技  | 我要评论

绘画人体姿态写真2000例,都市恋情周星驰,螳臂挡车近义词

 

在解压的 linux2.6.15 文件夹下 make menuconfig 的时候出现下面的错误:

Makefile:452: target 'config' given more than once in the same rule
Makefile:452: *** mixed implicit and normal rules: deprecated syntax

 

 

这是因为我的系统的 make 工具版本较新,make 的旧版规则已经无法兼容新版。按照以下方式,问题得到解决,用 vi 打开 Makefile 文件,修改第 452 行: 
修改前:

config %config: scripts_basic outputmakefile FORCE

修改后

%config: scripts_basic outputmakefile FORCE

 

如对本文有疑问,请在下面进行留言讨论,广大热心网友会与你互动!! 点击进行留言回复

相关文章:

验证码:
移动技术网