Hello,
I've noticed that when attempting to compile ClamAV 0.96.3 with the
"--with-zlib=" option passed to configure (to point to a non-standard
zlib path), I am getting the following error:
CC libclamav_la-bytecode_api_decl.lo
In file included from bytecode.h:27,
from bytecode_priv.h:27,
from bytecode_api_decl.c:33:
fmap.h:50: parse error before "off_t"
fmap.h:51: parse error before "off_t"
make[4]: *** [libclamav_la-bytecode_api_decl.lo] Error 1
It seems by passing the "--with-zlib=" option, the HAVE_UNISTD_H
constant isn't being defined (in order to include unistd.h).. Has anyone
else seen this or have any ideas on a workaround?
Joe
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml