Question

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?

Was it helpful?

Solution 2

Commenting the following line in configure file worked.

export CC="cc"

Got the answer from Here.

OTHER TIPS

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top