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

我该如何解决这个错误?

4

2 回答 2

0

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

于 2010-09-16T15:21:21.060 回答
0

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

出口抄送=“抄送”

从这里得到了答案。

于 2010-09-16T15:51:43.223 回答