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

[DeleGate-En] Re: problem comiling HPUX 11.23
23 Dec 2008 21:55:53 GMT "Bambic, David (Penske)" <pweiabdyi-bfkmicdyir3r.ml@ml.delegate.org>


I have to go I will pick this up after the first of the year. 

This the error messages I get now:

        /usr/bin/ranlib ../lib/libdelegate.a
-n
        gcc -O2 -x c++ -DQS -I../gen -I../include -O -c embed.c
-DADMINPASS=\"\"
 -DADMIN=\"pweiabdyi-bfkmicdyir3r.ml@ml.delegate.org\" \
                        -DIMPSIZE=10000
        gcc  -L../lib -o ./embed embed.o version.o ../srcsign.o \
                        ../lib/library.a ../lib/libmimekit.a
../lib/libmd5.a \
                        -lnsl -lpthread -lpam -lstdc++ -lc
../lib/libsubst.a
/usr/ccs/bin/ld: Unsatisfied symbols:
   Xgetpeername(int, sockaddr*, int*)(first referenced in
../lib/library.a(nbio.
o)) (code)
   Xgetsockname(int, sockaddr*, int*)(first referenced in
../lib/library.a(vsadd
r.o)) (code)
   bcmp(void const*, void const*, unsigned long)(first referenced in
../lib/libr
ary.a(String.o)) (code)
   setgid(int)(first referenced in ../lib/libsubst.a(setresuid.o))
(code)
   Xaccept(int, sockaddr*, int*)(first referenced in
../lib/library.a(unix.o)) (
code)
   bcopy(void const*, void*, unsigned long)(first referenced in
../lib/library.a
(ystring.o)) (code)
   Xgetsockopt(int, int, int, void*, int*)(first referenced in
../lib/library.a(
nbio.o)) (code)
   setuid(int)(first referenced in ../lib/libsubst.a(setresuid.o))
(code)
collect2: ld returned 1 exit status
*** Error exit code 1

Stop.
*** Error exit code 1

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

Stop.
pltc502: 

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

In message
<_A4290@delegate-en.ML_> on
12/24/08(06:08:33) you "Bambic, David (Penske)"
<pweiabdyi-bfkmicdyir3r.ml@ml.delegate.org> wrote:
 |I added to src/http.c and got the following:
 |
 |/usr/include/alloca.h: In function 'void service_http2(Connection05*,
 |FILE**)':
 |/usr/include/alloca.h:29: error: too many arguments to function 'void*
|__builtin  |_alloca()'
 |http.c:11645: error: at this point in file
 |/usr/include/alloca.h: In function 'void
service_httpX(Connection05*)':
 |/usr/include/alloca.h:29: error: too many arguments to function 'void*
|__builtin _alloca()'

Hmm...

 |Adding the following line at the top of src/http.c will solve it:
 |
 |#include <alloca.h>

This line might have to be added somewhere after... after the line
'#include "delegate.h"' or so.

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