在 HPUX 上编译 NCURSES src

发布于 2024-09-19 22:27:17 字数 321 浏览 4 评论 0原文

我正在尝试从源代码编译 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

榆西 2024-09-26 22:27:17

正如配置输出所示,您应该安装 HPUX 版本的 gcc 或使用 unproto 作为包装器

As configure output suggests, you should either install an HPUX version of gcc or use unproto as a wrapper

等数载,海棠开 2024-09-26 22:27:17

在配置文件中注释以下行有效。

export CC="cc"

此处得到答案。

Commenting the following line in configure file worked.

export CC="cc"

Got the answer from Here.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文