On Sun, Jan 18, 2004 at 04:10:51PM +0400, asad javid wrote:
> i get error messages while compiling with the following options in Make file
> 
> -DDATA_COMPRESS -DQMQP_COMPRESS
> 
> Error messages
> *******************************************************************
> qmail-remote.o(.text+0x425): In function `compression_init':
> : undefined reference to `deflateInit_'
> qmail-remote.o(.text+0x47f): In function `compression_done':
> : undefined reference to `deflate'
> qmail-remote.o(.text+0x512): In function `compression_done':
> : undefined reference to `deflateEnd'
> qmail-remote.o(.text+0x66b): In function `safewrite':
> : undefined reference to `deflate'
> collect2: ld returned 1 exit status
> make: *** [qmail-remote] Error 1
> *******************************************************************
> 
> is this a bug or something im missing out.

Do you have this part in your Makefile:
  # ZLIB needed for -DDATA_COMPRESS and -DQMQP_COMPRESS
  ZLIB=-lz
You have to un-rem the ZLIB=-lz line.

Chris

Reply via email to