在 Linux 上构建 Nginx 时如何抑制已知警告?
我是一名 Linux 爱好者,第一次尝试在 Debian (Lenny) 上构建 nginx。
尝试构建 nginx 失败,我收到有关 sys_errorlist 和 sys_nerr 的已知警告,如下所述: http://nginx.org/en/docs/sys_errlist.html
文档建议这是一个我可以忽略的警告。我的问题是我需要在 make 中包含什么标志来告诉它忽略这些警告?
我一直在翻阅标志选项,但没有真正的线索,搜索最多只是告诉我我可以忽略这些警告。这可能是一个显而易见的答案,也许为什么我找不到任何发布的内容,所以我问那些比我聪明的人。谢谢......
I am a linux amateur and am trying to build nginx on Debian (Lenny) for the first time.
Attemps to build nginx are failing and I receive the known warnings on sys_errorlist and sys_nerr as documented here:
http://nginx.org/en/docs/sys_errlist.html
The documentation suggests this is a warning that I can ignore. My question is what flag(s) do I need to include with make to tell it to ignore those warnings?
I have been pouring through the flag options with no real leads and searches only go as far as telling me that I can ignore the warnings. It may be an obvious answer, perhaps why I can't find anything posted, so I'm asking those who are smarter than I. Thanks...
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
它们的意思是忽略,就像人类忽略它们一样,而不是告诉编译器忽略它们。除非您指定
-Werror
,否则它不应导致编译失败。They mean ignore as in you the human ignoring them, not as in telling the compiler to ignore them. It shouldn't cause the compilation to fail unless you specify
-Werror
.