在 HPUX 上编译 NCURSES src
我正在尝试从源代码编译 ncurses-5.7,运行 ./configure 后出现以下错误:
configure: error: Your compiler does not appear to recognize prototypes.
You have the following choices:
a. adjust your compiler options
b. get an up-to-date compiler
c. use a wrapper such as unproto
如何修复此错误?
I am trying to compile ncurses-5.7 from source and after running ./configure I get the following error:
configure: error: Your compiler does not appear to recognize prototypes.
You have the following choices:
a. adjust your compiler options
b. get an up-to-date compiler
c. use a wrapper such as unproto
how can I fix this error?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
正如配置输出所示,您应该安装 HPUX 版本的 gcc 或使用 unproto 作为包装器
As configure output suggests, you should either install an HPUX version of gcc or use unproto as a wrapper
在配置文件中注释以下行有效。
从此处得到答案。
Commenting the following line in configure file worked.
Got the answer from Here.