Article delegate-en/2352 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:<_A2350@delegate-en.ML_>]
Newsgroups: mail-lists.delegate-en

[DeleGate-En] Re: Delegate 8.5.5 compilation problem under HP-UX11
23 Jul 2003 20:37:18 GMT feedback@delegate.org (Yutaka Sato)


In message <_A2350@delegate-en.ML_>
on 07/23/03(23:55:37) you pfyeqbdyi-fjxi26ffzhtr.ml@ml.delegate.org wrote:
 |I'm trying to compile Delegate8.5.5 under HPUX 11, with gcc 2.95.3
 |when it comes to compile rary/String.c all I get is the following error:
 |
 |String.c: In function `strncpy':
 |String.c:926: argument `s2' doesn't match prototype
 |/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.3/include/string.h:56:
 |prototype declaration
 |String.c:926: argument `n' doesn't match prototype
 |/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.3/include/string.h:56:
 |prototype declaration
 |
 |Can you help me in any of the following questions I have ?
 |
 |1. Which version of gcc do I need (compatibility issues) ?
 |2. Is there another thing I'm missing ?

Nowadays, HPUX is the main source of problems in portability of DeleGate ;-)
Just removing the definition of strncpy() in rary/String.c,
"#ifdef hpux" through "#endif" in String.c, might solve the problem.
Otherwise, try the latest snapshot of DeleGate at
 <URL:ftp://ftp.delegate.org/pub/DeleGate/delegate8.6.0-snap03072405.tar.gz>

Cheers,
Yutaka
--
  @ @ Yutaka Sato <y.sato@delegate.org> http://www.delegate.org/y.sato/
 ( - ) National Institute of Advanced Industrial Science and Technology (AIST)
_<   >_ 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