今天在按照韦东山大哥的教程流程编译内核的时候出现了这个问题
    linux-2.6.22.6/Makefile:416: *** mixed implicit and normal rules: deprecated syntax
linux-2.6.22.6/Makefile:416: *** mixed implicit and normal rules: deprecated syntax
linux-2.6.22.6/Makefile:1449: *** mixed implicit and normal rules: deprecated syntax
 用vi打开Makefile,迅速定位到416和1449行。
今天在编译uImage的时候,执行make命令,报错,错误信息:416 “mixed implicit and normal rules”,翻译为中文:混合的和隐含普通规则。起初以为是内核包的问题,从官网上下载了低版本,报同样的错误,google后发 现,是由于我的系统的make工具太新,make的旧版规则已经无法兼容新版。按照以下方式,问题得到解决:

1在makefile中将416行代码
  1. config %config: scripts_basic outputmakefile FORCE
改为
  1. %config: scripts_basic outputmakefile FORCE
2在makefile中将1449行代码
  1. / %/: prepare scripts FORCE
改为
  1. %/: prepare scripts FORCE


之后再次 make uImage,编译通过
 linux-2.6.22.6/Makefile:416: *** mixed implicit and normal rules: deprecated syntax
 
结束!







相关文章:

  • 2022-02-04
  • 2022-12-23
  • 2021-10-20
  • 2021-08-31
  • 2021-09-16
  • 2021-11-03
  • 2022-01-30
  • 2022-01-12
猜你喜欢
  • 2022-12-23
  • 2021-07-04
  • 2022-12-23
  • 2021-07-15
  • 2021-08-01
  • 2021-11-05
  • 2022-02-23
相关资源
相似解决方案