Title: compile errors


 Hello,

 Excellent project as the world truly needs a good opensource anti virus mail gateway program. I'm having a bit of trouble compiling using

gcc egcs-2.91.66 on Linux. Everything compiled fine except when I use the --enable-milter option in which clamav-milter.c fails to compile.

Any help would be much appreciated.


Below are the errors received when running make ......


./configure --prefix=/usr/local --sysconfdir=/usr/local/etc --disable-klamuko --enable-milter

make


gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"clamav\" -DVERSION=\"0.60\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DBUFFSIZE=131072 -DFBUFFSIZE=16384 -DSTDC_HEADERS=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRINGS_H=1 -DHAVE_STRING_H=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_MALLOC_H=1 -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=4 -DHAVE_ZLIB_H=1 -DHAVE_BZLIB_H=1 -DNOBZ2PREFIX=1 -DCLAMD_USE_SYSLOG=1 -DCLAMAVUSER=\"clamav\" -DCLAMAVGROUP=\"clamav\" -DDB1NAME=\"viruses.db\" -DDB2NAME=\"viruses.db2\" -DDATADIR=\"/usr/local/share/clamav\" -DCONFDIR=\"/usr/local/etc\" -DC_URANDOM=1 -DC_LINUX=1 -DCL_THREAD_SAFE=1 -DCLAMUKO=1 -DWORDS_LITTLEENDIAN=1  -I. -I. -I../clamd -I../libclamav    -g -O2 -c `test -f 'clamav-milter.c' || echo './'`clamav-milter.c

clamav-milter.c:208: parse error before `tcpSocket'
clamav-milter.c:208: warning: data definition has no type or storage class
clamav-milter.c: In function `main':
clamav-milter.c:383: `in_port_t' undeclared (first use in this function)
clamav-milter.c:383: (Each undeclared identifier is reported only once
clamav-milter.c:383: for each function it appears in.)
clamav-milter.c:383: parse error before `cpt'
make[1]: *** [clamav-milter.o] Error 1
make[1]: Leaving directory `/usr/local/clamav-0.60/clamav-milter'
make: *** [all-recursive] Error 1




Many Thanks


David Walgamotte

Reply via email to