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

[DeleGate-En] Re: FTP Delegate
17 Nov 2009 12:12:54 GMT feedback@delegate.org (Yutaka Sato)
The DeleGate Project


Hi,

In message <_A4647@delegate-en.ML_> on 11/17/09(20:19:05)
you frederic montiton <pbijabdyi-p5lznxmkmzxr.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=49152/49152; 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=49152/49152; 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

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