开发者

Compiling NCURSES src on HPUX

开发者 https://www.devze.com 2023-01-16 16:10 出处:网络
I am trying to compile ncurses-5.7 from source and after running ./configure I ge开发者_开发技巧t the following error:

I am trying to compile ncurses-5.7 from source and after running ./configure I ge开发者_开发技巧t 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?


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.

export CC="cc"

Got the answer from Here.

0

精彩评论

暂无评论...
验证码 换一张
取 消