技术专栏
编译android kernel时,关闭error, forbidden warning
编译android kernel时,遇到error, forbidden warning
sound/soc/codecs/es8323.c:1249:12: warning: 'entry_read' defined but not used [- Wunused-function]
error, forbidden warning: es8323.c:1249
scripts/Makefile.build:308: recipe for target 'sound/soc/codecs/es8323.o' failed
make[3]: *** [sound/soc/codecs/es8323.o] Error 1
scripts/Makefile.build:455: recipe for target 'sound/soc/codecs' failed
make[2]: *** [sound/soc/codecs] Error 2
scripts/Makefile.build:455: recipe for target 'sound/soc' failed
make[1]: *** [sound/soc] Error 2
Makefile:827: recipe for target 'sound' failed
make: *** [sound] Error 2
关闭方法如下:在kernel/scripts/gcc-wrapper.py中注释掉interpret_warning(line)即可。
--- a/scripts/gcc-wrapper.py
+++ b/scripts/gcc-wrapper.py
@@ -78,7 +78,7 @@ def run_gcc():
proc = subprocess.Popen(args, stderr=subprocess.PIPE)
for line in proc.stderr:
print line,
- interpret_warning(line)
+ #interpret_warning(line)
result = proc.wait()
except OSError as e:
声明:本文内容由易百纳平台入驻作者撰写,文章观点仅代表作者本人,不代表易百纳立场。如有内容侵权或者其他问题,请联系本站进行删除。
红包
点赞
收藏
评论
打赏
- 分享
- 举报
评论
0个
手气红包

相关专栏
-
浏览量:751次2019-12-28 10:19:54
-
浏览量:950次2022-03-08 11:11:43
-
2020-08-06 15:17:16
-
浏览量:442次2020-07-27 08:34:48
-
浏览量:405次2017-11-24 14:49:02
-
浏览量:524次2020-04-23 19:40:24
-
浏览量:636次2018-04-12 11:32:51
-
浏览量:572次2019-12-05 18:03:06
-
2020-07-21 19:31:06
-
浏览量:520次2019-12-28 10:23:43
-
浏览量:881次2017-11-16 11:30:55
-
浏览量:484次2020-07-13 17:40:25
-
浏览量:2720次2018-08-28 16:40:09
-
浏览量:426次2020-06-29 10:47:11
-
浏览量:363次2021-12-20 10:51:43
-
浏览量:522次2020-07-10 16:39:36
-
浏览量:370次2019-12-28 10:40:42
-
浏览量:407次2020-04-16 13:20:10
-
浏览量:490次2020-02-07 17:49:37
置顶时间设置
结束时间
删除原因
-
广告/SPAM
-
恶意灌水
-
违规内容
-
文不对题
-
重复发帖
打赏作者
途行者阿杜
您的支持将鼓励我继续创作!
打赏金额:
¥1

¥5

¥10

¥50

¥100

¥0.1

支付方式:

举报反馈
举报类型
- 内容涉黄/赌/毒
- 内容侵权/抄袭
- 政治相关
- 涉嫌广告
- 侮辱谩骂
- 其他
详细说明
审核成功
发布时间设置
发布时间:
请选择发布时间设置
是否关联周任务-专栏模块
审核失败
失败原因
请选择失败原因
备注
请输入备注