Article delegate-en/4278 of [1-5169] on the server localhost:119
  upper oldest olders older1 this newer1 newers latest
search
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
[Reference:<_A4277@delegate-en.ML_>]
Newsgroups: mail-lists.delegate-en

[DeleGate-En] Re: problem comiling HPUX 11.23
23 Dec 2008 17:00:53 GMT feedback@delegate.org (Yutaka Sato)
The DeleGate Project


In message <_A4277@delegate-en.ML_> on 12/24/08(01:14:55)
you "Bambic, David (Penske)" <pweiabdyi-h5qfbm4orw3r.ml@ml.delegate.org> 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.

<URL:http://www.delegate.org/mail-lists/delegate-en/3204>
On 04/28/06(04:21) you "Schuck, Bruce P - San Mateo, CA" wrote
in <_A3204@delegate-en.ML_>
 |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.

Cheers,
Yutaka
--
  9 9   Yutaka Sato <y.sato@delegate.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

  admin search upper oldest olders older1 this newer1 newers latest
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
@_@V