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

[DeleGate-En] Re: FTP Delegate
24 Nov 2009 17:37:02 GMT frederic montiton <pbijabdyi-p5lznxo4mzxr.ml@ml.delegate.org>



Hi,

Thanks for your 2 versions during weekend,

I've try to use DELEGATE_CONF to compile as you suggested (expect for the DGROOT parameter)
#################
ADMIN=foo@bar
CFLAGS=-m64 -O2 -DQSC
LDOPTS=-m64
CFLAGSPLUS=
#################

works until end of the compilation :

gcc -m64 -L../lib -o dg.exe builtin.o delegated.o commands.o croncom.o remote.o ../lib/libdelegate.a ../lib/libresolvy.a  ../lib/libteleport.a ../lib/libmd5.a ../lib/libcfi.a ../lib/library.a ../lib/libmimekit.a ../lib/libfsx..a -lnsl -lsocket -ldl -lpthread -lpam -lc ../lib/libsubst.a
################
./dg.exe -Fver
-- {{ ---- initABORT() GOT SIG10 ----
ppid=25686
16:15.373 [25709] delegated.c:6027 --- DO_STARTUP
16:15.375 [25709] delegated.c:6059 --- DO_INITIALIZE
16:15.375 [25709] delegated.c:6381 --- _main START
16:15.375 [25709] filter.c:461 --- [-1] command PATH: /var/delegate9.9.6-pre6/delegate9.9.6-pre6/src/./dg.exe -> /var/delegate9.9.6-pre6/delegate9.9.6-pre6/src/./dg.exe
16:15.377 [25709] delegated.c:6471 --- _main ConnInit() DONE
16:15.377 [25709] delegated.c:6478 --- _main fromInetd()=0
16:15.377 [25709] delegated.c:3436 --- _main scan_HOSTS0() DONE
16:15.377 [25709] delegated.c:3441 --- _main scan_HOSTSLISTS() DONE
16:15.377 [25709] inets.c:4815 --- testing resolver[SYS] with 'WWW.DeleGate..ORG'
-- }} ---- initABORT() GOT SIG10 ----
[25710] ## 0.002 X target
[25710] ## 0.004 Y target, nready=1 errno=0
[25709] ## 0.004 A caller, poll [target=25710 DBX=25711]
[25709] ## 0.006 B caller, nready=1 errno=0
[25709] ## 0.006 C caller, xpid=25710 [25710 25711]
[25709] ## 3.008 #### Terminate Debugger: kill(25711)=0 xpid=25711

make[2]: *** [dg.exe] Bus Error (core dumped)
################

It still gave a delegated binary file unstable, it started with RESOLV="" option set, but stop on a "broken pipe" without.

May be you  can you look at that "initABORT() GOT SIG10" message during compilation ..

Cheers,

> To: feedback@delegate.org
> CC: pbijabdyi-p5lznxo4mzxr.ml@ml.delegate.org
> Subject: Re: [DeleGate-En] FTP Delegate
> From: feedback@delegate.org
> Date: Mon, 23 Nov 2009 16:06:29 +0900
> 
> Hi,
> 
> In message <_A4668@delegate-en.ML_> on 11/22/09(23:40:26) I wrote:
>  |many strange problems in compilation and linking for C++ on HP-UX,
>  |AIX and Solaris/SPARC_64 :)
>  |Your RESOLV="" problem can be also due to linking problem to the
>  |stab of gethostbyname2() on Solaris.
>  |You can compile 9.9.6-pre5 without C++ as follows:
>  |
>  |  % make -f Makefile.QSC
>  |
>  |See and edit Makefile.QSC to add CFLAGS and LDOPTS for your use.
> 
> Sorry, I found another linkage problem for "strcasestr()" on Solaris
> with -DQSC in 9.9.6-pre5.  I uploaded 9.9.6-pre6 including the fix
> for it.  Also I found that the "make" on Solaris does not see CFLAGS=....
> on the command line option, so I put those options in DELEGATE_CONF
> as follows:
> 
> [the content of src/DELEGATE_CONF]
> ADMIN=foo@bar
> CFLAGS=-m64 -O2 -DQSC
> LDOPTS=-m64
> CFLAGSPLUS=
> 
> % make
> 
> 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
 		 	   		  
_________________________________________________________________
Hotmail: Trusted email with Microsoft's powerful SPAM protection.
http://clk.atdmt.com/GBL/go/00000000X/direct/01/
http://clk.atdmt.com/GBL/go/00000000X/direct/01/


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