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

[DeleGate-En] Re: problem comiling HPUX 11.23
23 Dec 2008 16:17:04 GMT "Bambic, David (Penske)" <pweiabdyi-y44okleqfdjr.ml@ml.delegate.org>


I now tried with gcc with : make CC=gcc 


        gcc -O2 -x c++ -DQS -I../gen -I../include -O -c reshost.c -o
reshost.o
reshost.c: In function 'int gethostbynameaddr_sys(const char*, int, int,
char**,
 const char*, int, const char*, int, const char*, const char*, int,
const char*,
 int, const char*)':
reshost.c:100: error: 'gethostbyname2' was not declared in this scope
reshost.c: At global scope:
reshost.c:587: warning: deprecated conversion from string constant to
'char*'
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
mkmake: ERROR LOG is left at
/home/o0042/delegate/experiement/delegate9.9.0/reso
lvy/mkmake.err
mkmake: ERROR LOG is left at
/home/o0042/delegate/experiement/delegate9.9.0/
resolvy/mkmake.err
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
mkmake: ERROR LOG is left at
/home/o0042/delegate/experiement/delegate9.9.0/src/
mkmake.err
mkmake: ERROR LOG is left at
/home/o0042/delegate/experiement/delegate9.9.0/src/
mkmake.err
*** Error exit code 1

Stop.
pltc502: 

-----Original Message-----
From: Yutaka Sato [mailto:feedback@delegate.org] 
Sent: Tuesday, December 23, 2008 10:37 AM
To: feedback@delegate.org
Cc: Bambic, David (Penske)
Subject: Re: [DeleGate-En] problem comiling HPUX 11.23

In message
<_A4273@delegate-en.ML_> on
12/24/08(00:03:41) you "Bambic, David (Penske)"
<pweiabdyi-y44okleqfdjr.ml@ml.delegate.org> wrote:
 |I am trying to compile on HPUX 11.23 and I get the filling errors.
 |delegate9.9.0. Itried prevous release and get the same error. 
...
 |# make
...
 |-- mkcpp set time: 1230044216 -> 1224300395 teleportd.cc
 |        cc -O2 -x c++ -DQS -DNONC99 -I../gen -I../gen -I../include -O
-c
 |teleportd.cc
 |cc: warning 422: Unknown option "x" ignored.
 |        ../mkcpp vehicle.c vehicle.cc

"-x" is a option supported in gcc (and maybe in other C compilers) to
specify the source language of the compiler.  Thus "-x c++" specifies
compiling DeleGate as a program of C++.  If you have gcc installed on
your HP-UX, you are recommended to use it as follows:

  make CC=gcc .... or
  make CC=g++

otherwise it might be able to be compiled as this:

  make CFLAGSPLUS=

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