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

[DeleGate-En] Re: FTP Delegate
17 Nov 2009 15:44:39 GMT frederic montiton <pbijabdyi-uwzfqiuebzxr.ml@ml.delegate.org>



Unfortunatly I use a Sparc processor, "SunOS 5.10 Generic_127127-11 sun4u sparc SUNW,Sun-Fire-V245", so I can't try your binary.

I've found in fpoll.h



#if defined(sun) && defined(__x86_64__)

#define READYCC(fp)     ((int*)fp)[6]



May be I can try without "&&defined(__x86_64__)" part ? 


-DNONC99 flag was not from my compilation configuration, it had been added by mkmake.c if I'm not wrong.


> To: feedback@delegate.org
> CC: pbijabdyi-uwzfqiuebzxr.ml@ml.delegate.org
> Subject: Re: [DeleGate-En] FTP Delegate
> From: feedback@delegate.org
> Date: Tue, 17 Nov 2009 21:12:51 +0900
> 
> Hi,
> 
> In message <_A4647@delegate-en.ML_> on 11/17/09(20:19:05)
> you frederic montiton <pbijabdyi-uwzfqiuebzxr.ml@ml.delegate.org> wrote:
>  |My newer issue is with 64bits compilation to enable >2GB file download, on solaris 10.
>  |I've read precedent posts about that but mine failed on this error message :
>  |
>  |-- mkcpp set time: 1258455029 -> 1250403944 readycc.cc
>  |gcc -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../include -O2 -m64 -c readycc.cc
> 
> What is this -DNONC99 for?
> 
>  |readycc.cc: In function `int ready_cc(FILE*)':
>  |readycc.cc:8: error: 'struct __FILE' has no member named '_cnt'
>  |readycc.cc: In function `int ready_CC(FILE*)':
>  |readycc.cc:13: error: 'struct __FILE' has no member named '_cnt'
>  |
>  |I've tryed different CFLAGS option, but all failed on this point.
> 
> I tested it on my Solaris10 (on VMware) as follows:
> 
>   % uname -a
>   SunOS sol10 5.10 Generic_118855-33 i86pc i386 i86pc
> 
>   % cc -v
>   Reading specs from /usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/specs
>   Configured with: /builds/sfw10-gate/usr/src/cmd/gcc/gcc-3.4.3/configure --prefix=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as --with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++ --enable-shared
>   Thread model: posix
>   gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath)
> 
>   [the content of src/DELEGATE_CONF]
>   ADMIN=foo@bar
>   CFLAGS=-m64
>   LDOPTS=-m64
> 
>   % setenv LD_LIBRARY_PATH /usr/sfw/lib/64
> 
>   % make
>   ...
>   cc -m64 -x c++ -DQS -Dm64 -I../gen -I../include -c sched.c -o sched.o
>   cc -m64 -x c++ -DQS -Dm64 -I../gen -I../include -c readycc.c -o readycc..o
>   cc -m64 -x c++ -DQS -Dm64 -I../gen -I../include -c fpoll.c -o fpoll.o
>   ...
>   --
>   DeleGate/9.9.6-pre3 (November 17, 2009)
>   ...
>   Config: SunOS/5.10; FileSize-Bits=64/64,64/32,64,32; socket=40000/00000=XB sockpair=5120/16384,0++U; char=signed; thread=PThread/pthread,48/128; stty=tcsetattr; addr=A/4F6AEA/FFFFFD7FFFDDF618; fmem=58/0/255M
> 
>   % file src/delegated
>   src/delegated:  ELF 64-bit LSB executable AMD64 Version 1, dynamically linked, not stripped
> 
>   % file 996p3-32/src/delegated
>   996p3-32/src/delegated:    ELF 32-bit LSB executable 80386 Version 1, dynamically linked, not stripped
> 
>   % 996p3-32/src/delegated -Fver
>   ...
>   Config: SunOS/5.10; FileSize-Bits=32/64,32/32,32,32; socket=40000/00000=XB sockpair=5120/16384,0++U; char=signed; thread=PThread/pthread,44/64; stty=tcsetattr; addr=A/80C54F4/80264B0; fmem=55/0/255M
> 
> 
> I uploaded the 64bits version to ftp://ftp.delegate.org/pub/DeleGate/tmp/
> for your test.
> -rw-rw-r--    1 y.sato   y.sato    2006781 Nov 17 21:08 sol10i_64-dg.gz
> 
> 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
 		 	   		  
_________________________________________________________________
Windows 7: It works the way you want. Learn more.
http://www.microsoft.com/Windows/windows-7/default.aspx?ocid=PID24727::T:WLMTAGL:ON:WL:en-US:WWL_WIN_evergreen:112009v2

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