[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: zmailer-2.99.50s11-cvs990308 does not compile



> Patched zmailer-2.99.50s11 sources with cvs990308 patch available from 
> ftp://ftp.funet.fi/pub/unix/mail/zmailer/src/zmailer-2.99.50s11-to-cvs990308.diff.gz

	Oops..   That  'listmalloc.c' is something which reference leaked
	out before its time.  I committed my current version of it to
	the cvs, but it alone does nothing..

	Just comment it away from   libsh/Makefile{.in,}

	I did edit the diff file a bit, and essentially did that.

		/Matti Aarnio <mea@nic.funet.fi>

	( ftp://mea.tmt.tele.fi/zmailer/ has my current diff, but THAT ONE
	  does not work :-(  )

> It didn't compile on a RedHat Linux 5.1 box anymore:
> 
> gcc -O2  -DMAILER -DHAVE_CONFIG_H  -I./../include -I../include -I.. -I. -c
> listmalloc.c
> listmalloc.c: In function `cons_DSW':
> listmalloc.c:307: `DEBUG' undeclared (first use this function)
> listmalloc.c:307: (Each undeclared identifier is reported only once
> listmalloc.c:307: for each function it appears in.)
> listmalloc.c: In function `cons_garbage_collect':
> listmalloc.c:414: dereferencing pointer to incomplete type
> listmalloc.c:415: dereferencing pointer to incomplete type
> listmalloc.c:416: dereferencing pointer to incomplete type
> make[3]: *** [listmalloc.o] Error 1
> make[3]: Leaving directory `/usr/src/zmailer-2.99.50s11-cvs990308/libsh'
> make[2]: *** [libsh.a] Error 2
> make[2]: Leaving directory `/usr/src/zmailer-2.99.50s11-cvs990308/libs'
> make[1]: *** [../libs/libtag] Error 2
> make[1]: Leaving directory
> `/usr/src/zmailer-2.99.50s11-cvs990308/smtpserver'
> make: *** [all] Error 1
> 
> On the same host zmailer-2.99.50s11 sources do compile without problems.
> 
> Jussi
> 
> -- 
> 
> -------------------------------------------------------------------
> Jussi Torhonen   # E-mail:              jussi.torhonen@tietosavo.fi
> Tietosavo Oyj    # Corporate website:       http://www.tietosavo.fi
> P.O.Box 1582     # Personal homepage:          http://www.iki.fi/jt
> FIN-70461 KUOPIO # Tel: +358-17-193231          GSM +358-50-5946209
> FINLAND          # Fax: +358-17-193355                73's de OH7DC
>