[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
RE: Compile error on SCO Port (ITS#2373)
The h_errno variable is a required definition in the /usr/include/netdb.h
header file. If it's not present there on SCO, please tell us what header
file actually does declare it. Adding a bald h_errno definition to our own
files will break portability with 99% of other platforms.
-- Howard Chu
Chief Architect, Symas Corp. Director, Highland Sun
http://www.symas.com http://highlandsun.com/hyc
Symas: Premier OpenSource Development and Support
> -----Original Message-----
> From: owner-openldap-bugs@OpenLDAP.org
> [mailto:owner-openldap-bugs@OpenLDAP.org]On Behalf Of
> Clyde.McPherson@getronicsgov.com
> Sent: Thursday, March 13, 2003 6:30 AM
> To: openldap-its@OpenLDAP.org
> Subject: Compile error on SCO Port (ITS#2373)
>
>
> Full_Name:
> Version: 2.1.12
> OS: SCO 3.2 OSR 5.0.4
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (67.105.229.98)
>
>
> Ran configure with:
>
> ./configure --enable-shared --disable-slapd --disable-ldbm
> --disable-debug
> --without-threads
>
> Received compile error in libraries/libldap util-int.c:
>
> util-int.c:177: `h_errno' undeclared (first use in this function)
> util-int.c:177: (Each undeclared identifier is reported only once
> util-int.c:177: for each function it appears in.)
>
> To continue to build without errors I added
> "extern int h_errno;" after the ldap-int.h include reference.
>
>
>