[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Unable to build on HP-UX
At 02:03 PM 8/9/99 -0500, Mazzolini, Mike wrote:
> Has anyone seen the following error when running the configure
>script for HP: configure: error: OpenLDAP requires compiler to support STDC
>prototypes.
Take a look at config.log. It should show you the actual test that
failed and why.
One reason it could fail is that because your compiler
doesn't actually support STDC prototypes. If this is
the case, you'll have to install a modern C compiler.
However, more likely, variables in your environment are inducing
the odd behavior. For example, setting CFLAGS="-traditional"
(or the like) can cause such failures. Verify that CC, CFLAGS,
CPPFLAGS, LDFLAGS, PATH, etc. are either unset or set to sane
values.
BTW, setting CC=acc will likely cause you pain as well. Stick
to CC=cc or CC=gcc (or a GNU C variant).
Kurt