On 2009-03-31 23:50, Steffan Vigano wrote: > Hello, > > We're getting compilation errors trying to compile the latest version on > an older FreeBSD box.
FreeBSD 4.x is EOL http://www.freebsd.org/portmgr/policies_releng_4.html See here for the list of current releases: http://www.freebsd.org/security/#sup Is there a reason why you can't upgrade to a supported FreeBSD release? Running an EOLed product is not wise, as there may be known security issues without a fix available. > Prior to 0.95 all versions compiled up fine and > we are not seeing the same thing on some of our newer fBSD machines. > No special switches during configure, we just use the vanilla: > ./configure, make, make install. I've trolled the mailing list, > Google, etc and can't find anything that stands out. Can anyone shed > some light? > > Thanks > -S > > As of 0.95 I'm now seeing the following during our make: > > >> ---- SNIP ----- >> libtool: link: ( cd ".libs" && rm -f >> "libclamav_internal_utils_nothreads.la" && ln -s >> "../libclamav_internal_utils_nothreads.la" >> "libclamav_internal_utils_nothreads.la" ) >> Making all in clamscan >> gcc -DHAVE_CONFIG_H -DCL_NOTHREADS -I. -I.. -I.. -I../shared >> -I../libclamav -I/usr/local/include -O2 -I/usr/local/include -MT >> output.o -MD -MP -MF .deps/output.Tpo -c -o output.o `test -f >> '../shared/output.c' || echo './'`../shared/output.c >> mv -f .deps/output.Tpo .deps/output.Po >> gcc -DHAVE_CONFIG_H -DCL_NOTHREADS -I. -I.. -I.. -I../shared >> -I../libclamav -I/usr/local/include -O2 -I/usr/local/include -MT >> getopt.o -MD -MP -MF .deps/getopt.Tpo -c -o getopt.o `test -f >> '../shared/getopt.c' || echo './'`../shared/getopt.c >> mv -f .deps/getopt.Tpo .deps/getopt.Po >> gcc -DHAVE_CONFIG_H -DCL_NOTHREADS -I. -I.. -I.. -I../shared >> -I../libclamav -I/usr/local/include -O2 -I/usr/local/include -MT >> optparser.o -MD -MP -MF .deps/optparser.Tpo -c -o optparser.o `test -f >> '../shared/optparser.c' || echo './'`../shared/optparser.c >> In file included from ../shared/misc.h:24, >> from ../shared/optparser.c:41: >> /usr/include/netinet/in.h:235: error: syntax error before "in_addr_t" >> Looks like in_addr_t is not declared in netinet/in.h as it should be. Best regards, --Edwin _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml