Tru64 and 2.2 problems
Rob Siemborski
rjs3 at andrew.cmu.edu
Tue Jul 22 23:33:41 EDT 2003
On Wed, 23 Jul 2003, Robert Urban wrote:
> Tru64 does indeed have a getaddrinfo, it even has two. You must
>
> #include <netdb.h>
>
> in order to pull in the appropriate definition. The designers
> of Tru64 bent over backwards trying to be as standards-compatible as
> humanly possible. Because the standards (4.4/4.3 BSD) define
> contradictory behaviour for getaddrinfo, you must say what you want. By
> default you get 4.3BSD behaviour. If you want 4.4BSD, you must
> define
>
> _XOPEN_SOURCE_EXTENDED
>
> before you #include <netdb.h>. See standards(5) for more information
> on these things...
If you can suggest changes to Cyrus such that configure does the right
thing, I'd appreciate it.
-Rob
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456
Research Systems Programmer * /usr/contributed Gatekeeper
More information about the Info-cyrus
mailing list