On Mon, Dec 21, 2009 at 10:21 AM, Renato Botelho <rbga...@gmail.com> wrote: > I'm still having problems building clamav recent snapshots on > FreeBSD hosts, this time on FreeBSD 6.4 and 7.2 (x86 and > x86_64) > > Here is the log: > > /bin/sh ../libtool --silent --tag=CC --mode=compile cc > -DHAVE_CONFIG_H -I. -I.. -I.. -I./nsis -I../libltdl > -DWARN_DLOPEN_FAIL -I/usr/local/include -O2 -fno-strict-aliasing > -pipe -c -o bytecode_nojit.lo bytecode_nojit.c > In file included from bytecode.h:27, > from bytecode_nojit.c:26: > fmap.h:45: error: syntax error before "off_t" > gmake[4]: *** [bytecode_nojit.lo] Error 1 > gmake[4]: *** Waiting for unfinished jobs.... > gmake[4]: Leaving directory > `/work/a/ports/security/clamav-devel/work/clamav-devel-20091221/libclamav' > gmake[3]: *** [all-recursive] Error 1 > gmake[3]: Leaving directory > `/work/a/ports/security/clamav-devel/work/clamav-devel-20091221/libclamav' > gmake[2]: *** [all] Error 2 > gmake[2]: Leaving directory > `/work/a/ports/security/clamav-devel/work/clamav-devel-20091221/libclamav' > gmake[1]: *** [all-recursive] Error 1 > gmake[1]: Leaving directory > `/work/a/ports/security/clamav-devel/work/clamav-devel-20091221' > gmake: *** [all] Error 2 > *** Error code 1
Attached patch fixed the problem -- Renato Botelho
clamav-devel.diff
Description: Binary data
_______________________________________________ http://lurker.clamav.net/list/clamav-devel.html Please submit your patches to our Bugzilla: http://bugs.clamav.net