FreeBSD Port: clamav-0.87
Simon L. Nielsen
simon at FreeBSD.org
Tue Sep 20 12:10:03 PDT 2005
On 2005.09.20 20:46:47 +0200, Simon L. Nielsen wrote:
> On 2005.09.20 12:15:26 +0200, Jonas Hjelm wrote:
> > Dear Rob,
> >
> > There is a make and portupgrade problem for clamav for FreeBSD 4.10-
> > RELEASE-p5
> >
> > clamav-milter.c: In function `clamd_recv':
> > clamav-milter.c:3444: syntax 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.)
> > *** Error code 1
>
> On 2005.09.20 20:42:56 +0200, Jan Baggen wrote:
> >
> > cc -DHAVE_CONFIG_H -I. -I. -I.. -I../clamd -I../libclamav -I../shared
> > -I/usr/local/include -D_THREAD_SAFE -O2 -pipe -funroll-loops
> > -march=pentiumpro -c clamav-milter.c
> > clamav-milter.c: In function `clamd_recv':
> > clamav-milter.c:3444: syntax 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.)
> > *** Error code 1
>
> It seems like they (clamav authors) added some invalid C code that gcc
> 3.x is OK with, but not gcc 2.95. I'm working on a fix now.
Just FYI, the fix has now been committed. And as Pav pointed out, it
is valid C code (I think), just C99 which gcc 2.95 does not like.
--
Simon L. Nielsen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20050920/a7537e63/attachment.bin
More information about the freebsd-ports
mailing list