On 20/02/2007 04:53, Vinyl Bne wrote:
I tried to upgrade to ClamAV 0.90 and failed while compiling.
The same "configure" option was fine with ClamAV 0.8x.xx
Below is the snippet of compilation message/error.
The configure line is
*./configure --enable-milter --with-dbdir=/var/clamdb --with-user=defang
--with-group=defang *
* --localstatedir=/var/run --sysconfdir=/etc --with-zlib*
Appreciate for all help.
cheers,
VinylBNE
--------------------------8<------------------------------------------
.
.
.
Making all in etc
Target "all" is up to date.
Making all in clamav-milter
.
.
.
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../clamd -I../libclamav
-I../shared -I/chroot/sendmail/usr/include -I/opt/oss/include
-I/opt/oss/include -g -O2 -MT misc.o -MD -MP -MF ".deps/misc.Tpo" -c -o
misc.o `test -f '../shared/misc.c' || echo './'`../shared/misc.c; then mv
-f ".deps/misc.Tpo" ".deps/misc.Po"; else rm -f ".deps/misc.Tpo"; exit
1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../clamd -I../libclamav
-I../shared -I/chroot/sendmail/usr/include -I/opt/oss/include
-I/opt/oss/include -g -O2 -MT network.o -MD -MP -MF ".deps/network.Tpo" -c
-o network.o `test -f '../shared/network.c' || echo
'./'`../shared/network.c; then mv -f ".deps/network.Tpo"
".deps/network.Po"; else rm -f ".deps/network.Tpo"; exit 1; fi
../shared/network.c: In function `r_gethostbyname':
../shared/network.c:80: warning: passing arg 2 of `gethostbyname_r' from
incompatible pointer type
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../clamd -I../libclamav
-I../shared -I/chroot/sendmail/usr/include -I/opt/oss/include
-I/opt/oss/include -g -O2 -MT clamav-milter.o -MD -MP -MF ".deps/clamav-
milter.Tpo" -c -o clamav-milter.o clamav-milter.c; then mv -f
".deps/clamav-milter.Tpo" ".deps/clamav-milter.Po"; else rm -f
".deps/clamav-milter.Tpo"; exit 1; fi
clamav-milter.c: In function `main':
clamav-milter.c:1120: warning: passing arg 2 of `setgroups' discards
qualifiers from pointer target type
clamav-milter.c:1263: error: `logg_syslog' undeclared (first use in this
function)
clamav-milter.c:1263: error: (Each undeclared identifier is reported only
once
clamav-milter.c:1263: error: for each function it appears in.)
clamav-milter.c: In function `clamfi_eom':
clamav-milter.c:3547: warning: passing arg 2 of `smfi_addrcpt' discards
qualifiers from pointer target type
clamav-milter.c:3588: warning: passing arg 2 of `smfi_addrcpt' discards
qualifiers from pointer target type
I'm not sure about the warnings, but the error on line 1263 needs
fixing. It hasn't been fixed in the latest clamav-devel, so you should
file a bug report on the ClamAV bugtracker.
--
-=( Ian Abbott @ MEV Ltd. E-mail: <[EMAIL PROTECTED]> )=-
-=( Tel: +44 (0)161 477 1898 FAX: +44 (0)161 718 3587 )=-
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html