Ignore my previous comment about FREAD function, no links with my problem..
Strange behaviour .. I've try a compilation : make CFLAGS="-O2 -m64" and it avoids the DNONC99 issue.
compiles, but, I can't run it without the RESOLV="" flags.
I'll try again next monday, and give you more details.
> To: email@example.com
> CC: firstname.lastname@example.org
> Subject: Re: [DeleGate-En] FTP Delegate
> From: email@example.com
> Date: Thu, 19 Nov 2009 23:35:33 +0900
> In message <_A4662@delegate-en.ML_> on 11/19/09(19:42:44)
> you frederic montiton <firstname.lastname@example.org> wrote:
> |I've seen and correct it :)
> Can I see whether or not you got the 64bits binary for Solaris10/SPARC
> which works for data larger than 4GB ?
> Is DeleGate/9.9.6-pre4 able to be made without modification?
> |Also found why -DNONC99 flags is set :
> |ld: fatal: file /usr/local/lib/gcc/sparc-sun-solaris2.10/3.4.6/../../../libstdc++.so: wrong ELF class: ELFCLASS64
> |ld: fatal: File processing errors. No output written to a.out
> |collect2: ld returned 1 exit status
> | [gcc -c -O2 -x c++ -DQS] NONC99 = 3
> |strange because:
> |#ldd /usr/local/lib/gcc/sparc-sun-solaris2.10/3.4.6/../../../libstdc++.so
> | libm.so.2 => /lib/64/libm.so.2
> | libgcc_s.so.1 => /usr/local/lib/sparcv9/libgcc_s.so.1
> | libc.so.1 => /lib/64/libc.so.1
> | /platform/SUNW,Sun-Fire-V245/lib/sparcv9/libc_psr.so.1
> |References are only to sparcv9 libraries..
> |Any clue?
> It is strange that gcc fails in its "ld" phase even though it is
> invoked with the "-c" option (expected to be without ld phase)
> Can I see the result of "make CC=g++" ?
> 9 9 Yutaka Sato <email@example.com> 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
Hotmail: Trusted email with powerful SPAM protection.