我正在尝试从源和运行./configure来编译Ncurses-5.7,我会收到以下错误:

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

如何解决此错误?

有帮助吗?

解决方案 2

在配置文件中评论以下行。

export CC="cc"

从中得到答案 这里.

其他提示

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

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top