From: D. Stussy on
Re: APPENDDEF(`confENVDEF', `-UNEEDSGETIPNODE')

The strange thing is that there was no conflict detected or missing error
for "getipnodebyname()" to alert me there was a problem that would lead me
to that symbol.

The only documentation on this define is in "sendmail/README", which is not
the main readme file. It says:

"NEEDSGETIPNODE Set this if your system supports IPv6 but doesn't
include
the getipnodeby{name,addr}() functions. Set automatically
for Linux's glibc."

Excuse me, but I run Linux (2.6.34), and this says nothing about REMOVING
the symbol when libbind is present. I do have a system that does include
the function getipnodebyname(). The value appears to be set incorrectly
for my system. I have glibc version 2.3.5 installed (10 Sep 2005).
(Attempts to upgrade glibc to version 2.11.1 from source have not
successfully compiled.) If this were an issue for the milter interface
ONLY (which is what happened to me), I would expect to see something in
"libmilter/README". I note that the function does NOT appear in glibc but
in libbind only.

I have tested the UNDEFINE you suggested and that works (in lieu of my
solution). However, the documentation regarding the issue is clearly wrong
and needs to be revised.


Even if found, the assumption about "freehostent()" is going to be wrong
for glibc - from changelog:

2000-10-26 Ulrich Drepper <drepper(a)redhat.com>
....
* inet/freehostent.c: Removed.

2000-08-01 Andreas Jaeger <aj(a)suse.de>
....
* conform/data/netdb.h-data: Remove getipnodebyaddr and friends.
....
* inet/Makefile (routines): Don't build getipnodebyaddr and
friends.

2000-07-31 Andreas Jaeger <aj(a)suse.de>
* inet/Versions: Remove getipnodebyaddr and friends from GLIBC_2.2.
* resolv/netdb.h: Remove getipnodebyaddr and friends.

Therefore, even if getipnodebyname() wasn't a "friend function" that was
removed, freehostent() certainly was removed from glibc (starting with
version 2.1.96) a decade ago.