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

Build on HP/UX



When I try to build on HP/UX version 10.20, I get an error in util-int.c.
It seems to depend on the existence of h_errno, which on HP, you have to
define _X_OPEN_SOURCE_EXTENDED to get it defined.  Is anyone else successfully
building on HP with the current dev sources?

gcc -g -I../../include -I../../include -I/u/sasgwi/include -c  -fPIC -DPIC util-int.c -o .libs/util-int.lo
util-int.c: In function `ldap_pvt_gethostbyname_a':
util-int.c:174: `h_errno' undeclared (first use this function)
util-int.c:174: (Each undeclared identifier is reported only once
util-int.c:174: for each function it appears in.)
make[2]: *** [util-int.lo] Error 1
make[2]: Leaving directory `/remote/krups/vol/vol3/u/sasgwi/gnu/ldap-dev/ldap/libraries/libldap'

Gary D. Williams        SAS Institute Inc
Gary.Williams@sas.com   SAS Campus Dr.
(919)677-8000 x4059     Cary, NC 27513