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

[DeleGate-En] Re: problem comiling HPUX 11.23
23 Dec 2008 18:42:45 GMT "Bambic, David (Penske)" <pweiabdyi-bfkmicgiir3r.ml@ml.delegate.org>


Ok now I am getting a different error:

        gcc -O2 -x c++ -DQS -I../gen -I../include -O -c file.c -o file.o
file.c: In function 'FILE* fopenShared(const char*, const char*)':
file.c:442: error: 'seteuid' was not declared in this scope
file.c: In function 'FILE* fopentmpfileShared(const char*, int)':
file.c:460: error: 'seteuid' was not declared in this scope
file.c: In function 'int mkdirShared(const char*, int)':
file.c:480: error: 'seteuid' was not declared in this scope
*** Error exit code 1

Stop.
*** Error exit code 1

 
Thanks


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

In message
<_A4279@delegate-en.ML_> on
12/24/08(02:23:31) you "Bambic, David (Penske)"
<pweiabdyi-bfkmicgiir3r.ml@ml.delegate.org> wrote:
 |I am trying the workaround :
 |
 |Not sure where
 |#define gethostbyname2(host,family)  gethostbyname((host))  |  |I
should put the statement at in the resolvy/reshost.c file?  
 |
 |I still get :
 |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*'
 |
 |Where should I put the statement ? I am not strong in C  |  |#define
gethostbyname2(host,family)  gethostbyname((host))

Anywhere before it is referred.
Before the definition of gethostbynameaddr_sys() for example.

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

On 12/24/08(01:17) you "Bambic, David (Penske)" wrote in
<_A4277@delegate-en.ML_>
 |reshost.c: In function 'int gethostbynameaddr_sys(const char*, int,
int, ...
 |reshost.c:100: error: 'gethostbyname2' was not declared in this scope

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