[Date Prev][Date Next] [Chronological] [Thread] [Top]

Openldap 2.07 & HP-UX 10.20: Build error



I want to (quick) install Openldap 2.07 on a J2240 with HP-UX 10.20
and Hp's Ansi-C compiler (B.10.20.04)

./configure --prefix=/opt/ldap2  [--without-threads]   runs OK
make depend        runs OK with warnings
make               stops with an error in util-int.c : h_errno 
undefined
-----------------------------------------------------------------------
  Entering subdirectory libldap
        /bin/sh /opt/ldap2/src/openldap-2.0.7/libtool   --mode=compile
cc
-Ae -g -I../../include        -I../../include      -c util-int.c
rm -f .libs/util-int.lo
cc -Ae -g -I../../include -I../../include -c util-int.c  +Z -DPIC -o
.libs/util-int.lo
cc: "../../include/ldap.h", line 548: warning 617: Redeclaration of tag
"timeval" ignored.
cc: "../../include/ldap_pvt.h", line 41: warning 617: Redeclaration of
tag
"hostent" ignored.
cc: "util-int.c", line 177: error 1588: "h_errno" undefined.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
------------------------------------------------------------------------

Any suggestions to solve this problem are welcome.

Tanx
Mark De Moor
-- 
____________________________________________________________________
            ___      Mark De Moor          Email:madmo@ruca.ua.ac.be
|\  /|  /\  |  \| /  UA-Ruca ICT
| \/ | /__\ |__/|<   Groenenborgerlaan,171 Tel: ++ 32 3 2180320
|    |/    \| \ | \  B 2020 Antwerpen      Fax: ++ 32 3 2180204
====================================================================