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

[DeleGate-En] Re: DeleGate - cannot compile on fedora core 5
11 Jun 2006 23:13:34 GMT feedback@delegate.org (Yutaka Sato)
The DeleGate Project


Hi,

In message <_A3300@delegate-en.ML_> on 06/12/06(03:21:45)
you Martin Papadopoulos <payeabdyi-ecr676v4so5r.ml@ml.delegate.org> wrote:
 |i cannot compile any of the recent versions of delegate > 9.2.1

Is there any version except 9.2.2 with that problem?

 |i get errors all the way complaining about type casting e.g. in ddi.c

Are there other files with the casting problem?

 |9.2.1 works fine .

I added a modification in 9.2.2, not in 9.2.2-preXX, to "ddi.c" which
causes the problem when compiled with "-m64" option.
It'll fixed as the enclosed patch.

Anyway, I'll add the machine with -m64 capability (MacOSX/PPC) to the
set of my hosts (some of them are on VirtualPC) for the testing of
compilation and execution of DeleGate.

Cheers,
Yutaka
--
  D G   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

*** ../delegate9.2.2/src/ddi.c	Sat Jun 10 19:23:44 2006
--- src/ddi.c	Mon Jun 12 07:56:06 2006
***************
*** 234,240 ****
--- 234,243 ----
  void ConnInit(Connection *Conn)
  {
  	int magic;
+ 	/*
  	magic = ((int)&Conn) ^ ((int)&ConnInit);
+ 	*/
+ 	magic = 0x12345678 ^ sizeof(Connection);
  	if( Conn->cx_magic == magic ){
  	if( Conn->xf_mounted )
  		reset_filters();

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