Date: Tue, 20 Sep 2005 21:10:01 +0200 From: "Simon L. Nielsen" <simon@FreeBSD.org> To: Jonas Hjelm <jonas@hjelms.se>, Jan Baggen <jbaggen@ip2.nl> Cc: ports@FreeBSD.org, rob@debank.tv Subject: Re: FreeBSD Port: clamav-0.87 Message-ID: <20050920191001.GB856@zaphod.nitro.dk> In-Reply-To: <20050920184647.GA856@zaphod.nitro.dk> References: <200509201841.j8KIfawB078095@msg01.ip2.net> <AEBAF738-4D18-4D94-AAD4-F540B354DD8D@hjelms.se> <20050920184647.GA856@zaphod.nitro.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
--zx4FCpZtqtKETZ7O Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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, > >=20 > > There is a make and portupgrade problem for clamav for FreeBSD 4.10-=20 > > RELEASE-p5 > >=20 > > 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 >=20 > On 2005.09.20 20:42:56 +0200, Jan Baggen wrote: > >=20 > > 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=3Dpentiumpro -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 >=20 > 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. --=20 Simon L. Nielsen --zx4FCpZtqtKETZ7O Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDMF6Jh9pcDSc1mlERAvpTAKCw2JH7sCZPBabfbSeyG24lsNcrvwCgybyK kYkLsnbsAGR3Riq2HXjGLD4= =kvzD -----END PGP SIGNATURE----- --zx4FCpZtqtKETZ7O--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050920191001.GB856>