On Fri, 9 Mar 2007, Rob Mangiafico wrote: > On Fri, 9 Mar 2007, Nigel Horne wrote: > > >>> When compiling the latest clamav 0.90.1 on an older RH server (gcc > > >>> version > > >>> 2.91.66), I received the following error: > > >>> --- > > >>> ./configure --sysconfdir=/etc --disable-zlib-vcheck > > >>> make > > >>> .... > > >>> mbox.c: In function `getURL': > > >>> mbox.c:4379: `in_port_t' undeclared (first use in this function) > > >> Try compiling with experimental. > > > > > > Yes, with --enable-experimental it compiles cleanly. Thanks. > > > > > > So I guess we have to run it with experimental code compiled. If we turn > > > off the experimental functions in the .conf file, I assume things will > > > still be quite stable? > > > > The version in SVN should compile OK with and without experimental on > > your platform. It builds OK on my RedHat 5.2 (gcc 2.7.2.3) both with and > > without experimental as a result of some fixes since 0.90.1 was released.
0.90.2 still does not compile without experimental code: --- mbox.c: In function `getURL': mbox.c:4379: `in_port_t' undeclared (first use in this function) mbox.c:4379: (Each undeclared identifier is reported only once mbox.c:4379: for each function it appears in.) mbox.c:4379: parse error before `port' mbox.c:4380: syntax error before `default_port' mbox.c:4418: `default_port' undeclared (first use in this function) mbox.c:4429: `port' undeclared (first use in this function) mbox.c:4621: warning: passing arg 1 of `free' discards `const' from pointer target type make[2]: *** [mbox.lo] Error 1 make[2]: Leaving directory `/home/rlm/clamav-0.90.2/libclamav' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/rlm/clamav-0.90.2' make: *** [all] Error 2 --- Any workarounds besides enabling experimental features? Thanks. Rob _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://lurker.clamav.net/list/clamav-users.html