首页 > 其他 > 详细

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

时间:2018-04-29 14:08:48      阅读:313      评论:0      收藏:0      [点我收藏+]

 

在解压的 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

 

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

原文:https://www.cnblogs.com/Amedeo/p/8970622.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!