In message <_A4277@delegate-en.ML_> on 12/24/08(01:14:55)
you "Bambic, David (Penske)" <email@example.com> wrote:
|I now tried with gcc with : make CC=gcc
|reshost.c:100: error: 'gethostbyname2' was not declared in this scope
Upgrading your HP-UX to support IPv6 is recommended.
Or the fllowing is a workaround to escape the problem.
On 04/28/06(04:21) you "Schuck, Bruce P - San Mateo, CA" wrote
|Delegate 9.1.1 has issues being compiled on Solaris 8 (SPARC). The
|resolvy/reshost.c program calls gethostbyname2. This function does not
|exist on Solaris 8 (I believe the same is true for Solaris 9 and 10).
|I hacked the source by adding
|#define gethostbyname2(host,family) gethostbyname((host))
|somewhere near the top of reshost.c.
9 9 Yutaka Sato <firstname.lastname@example.org> http://delegate.org/y.sato/
( ~ ) National Institute of Advanced Industrial Science and Technology
_< >_ 1-1-4 Umezono, Tsukuba, Ibaraki, 305-8568 Japan
Do the more with the less -- B. Fuller