Hello, We're getting compilation errors trying to compile the latest version on an older FreeBSD box. 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" > /usr/include/netinet/in.h:287: error: syntax error before "u_char" > /usr/include/netinet/in.h:289: error: syntax error before "sin_port" > /usr/include/netinet/in.h:292: error: syntax error before '}' token > /usr/include/netinet/in.h:347: error: field `imr_multiaddr' has > incomplete type > /usr/include/netinet/in.h:348: error: field `imr_interface' has > incomplete type > In file included from /usr/include/netinet/in.h:469, > from ../shared/misc.h:24, > from ../shared/optparser.c:41: > /usr/include/netinet6/in6.h:122: error: syntax error before "u_int8_t" > /usr/include/netinet6/in6.h:124: error: syntax error before "__u6_addr32" > /usr/include/netinet6/in6.h:125: error: syntax error before '}' token > /usr/include/netinet6/in6.h:126: error: syntax error before '}' token > /usr/include/netinet6/in6.h:144: error: syntax error before "u_int8_t" > /usr/include/netinet6/in6.h:146: error: syntax error before "sin6_port" > /usr/include/netinet6/in6.h:147: error: syntax error before > "sin6_flowinfo" > /usr/include/netinet6/in6.h:149: error: syntax error before > "sin6_scope_id" > /usr/include/netinet6/in6.h:382: error: field `ro_dst' has incomplete type > /usr/include/netinet6/in6.h:451: error: field `ipv6mr_multiaddr' has > incomplete type > /usr/include/netinet6/in6.h:459: error: field `ipi6_addr' has > incomplete type > /usr/include/netinet6/in6.h:612: error: syntax error before '*' token > /usr/include/netinet6/in6.h:614: error: syntax error before '*' token > /usr/include/netinet6/in6.h:615: error: syntax error before "u_int8_t" > /usr/include/netinet6/in6.h:616: error: syntax error before "u_int8_t" > /usr/include/netinet6/in6.h:631: error: syntax error before "u_int8_t" > /usr/include/netinet6/in6.h:636: error: syntax error before "u_int8_t" > /usr/include/netinet6/in6.h:638: error: syntax error before "u_int8_t" > In file included from ../shared/optparser.c:41: > ../shared/misc.h:53: error: syntax error before "in_addr_t" > /usr/include/netinet/in.h:290: error: storage size of `sin_addr' isn't > known > /usr/include/netinet6/in6.h:148: error: storage size of `sin6_addr' > isn't known > *** Error code 1 > > Stop in /usr/local/src/clamav-0.95/clamscan. > *** Error code 1 > > Stop in /usr/local/src/clamav-0.95. > *** Error code 1 _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml