--- clamav-milter.c.old 2005-09-16 23:44:39.000000000 +0200 +++ clamav-milter.c 2005-09-16 23:56:50.000000000 +0200 @@ -3439,9 +3439,9 @@ { fd_set rfds; struct timeval tv; + int ret;
assert(sock >= 0); - int ret; if(readTimeout == 0) { do Apply this patch. Quoting Landriscina Fabio <[EMAIL PROTECTED]>: > > HI All, > > We trying to compile a clamav-0.87, the make stop with the follow error: > > clamav-milter.c: In function `clamd_recv': > clamav-milter.c:3444: parse error before `int' > clamav-milter.c:3448: `ret' undeclared (first use in this function) > clamav-milter.c:3448: (Each undeclared identifier is reported only once > clamav-milter.c:3448: for each function it appears in.) > make[2]: *** [clamav-milter.o] Error 1 > make[2]: Leaving directory `/usr/src/clamav-0.87/clamav-milter' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/usr/src/clamav-0.87' > make: *** [all] Error 2 > > We've use the follow configuration options: > > ./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info > --with-dbdir=/var/lib/clamav --sysconfdir=/etc/clamav --bindir=/usr/bin > --sbindir=/usr/sbin --localstatedir=/var/run --libexec=/usr/lib/clamav > --datadir=/usr/share/clamav --enable-milter --disable-clamav > > How can solve? > In our systems are running with clamav-0.86.2 > > Fabio Landriscina > Arthis SpA > Strada 4 Palazzo Q > 20089 Rozzano (MI) > 02 5758 2899 > [EMAIL PROTECTED] > > _______________________________________________ > http://lurker.clamav.net/list/clamav-users.html > > Dan Sjolseth (scribbly handwriting here) 43rd Law of Computing: Anything that can go wr Segmentation Violation -- Core dumped KeyID: 0x94363EC6 FingerPrint: ED73 986B 0D1D AAFB FEDD 0B4B 6E68 BF31 9436 3EC6 _______________________________________________ http://lurker.clamav.net/list/clamav-users.html