I've just "upgraded" to Mac OS X Server, which according to all the
literature includes clamav... version 0.81! Upon downloading clamav-0.84,
I discovered that I cannot build it successfully.

During ./configure, I get the following warning:
configure: WARNING: resolv.h: present but cannot be compiled
configure: WARNING: resolv.h:     check for missing prerequisite headers?
configure: WARNING: resolv.h: see the Autoconf documentation
configure: WARNING: resolv.h:     section "Present But Cannot Be Compiled"
configure: WARNING: resolv.h: proceeding with the preprocessor's result
configure: WARNING: resolv.h: in the future, the compiler will take
precedence
configure: WARNING:     ## ------------------------------------------ ##
configure: WARNING:     ## Report this to the AC_PACKAGE_NAME lists.  ##
configure: WARNING:     ## ------------------------------------------ ##

During the build, I get lots of warnings similar to these:
matcher.c: In function 'cli_checkfp':
matcher.c:180: warning: pointer targets in assignment differ in signedness
matcher.c:185: warning: pointer targets in passing argument 1 of
'cli_vermd5' differ in signedness

In the end, make fails with:
In file included from ./zziplib/zzip.h:21,
                 from zziplib/zzip-dir.c:18:
./zziplib/zziplib.h:91: error: parse error before "zzip_ssize_t"
./zziplib/zziplib.h:91: warning: data definition has no type or storage class
./zziplib/zziplib.h:194: error: parse error before "zzip_file_read"
./zziplib/zziplib.h:194: warning: data definition has no type or storage
class
./zziplib/zziplib.h:201: error: parse error before "zzip_read"
./zziplib/zziplib.h:201: warning: data definition has no type or storage
class
make[2]: *** [zzip-dir.lo] Error 1

Mac OS X 10.4 introduces gcc-4.0, which I initially suspected as the
culprit. However, even after switching to gcc-3.3 (and validating with
gcc-v), I still get the same errors.

Anybody else have the same issues?

_______________________________________________
http://lurker.clamav.net/list/clamav-users.html

Reply via email to