>From the recent CVS source, I am getting the following compile error.  Did I
miss something?  I saw the notes on the new code for checking OLE2 objects (or
some such).

Configure looks like this:
./configure --prefix=/opt/csw --sysconfdir=/opt/csw/etc --disable-clamav
--enable-milter --with-dbdir=/opt/csw/share/clamav

The relevant compiler output is this using Sun's compiler:
>>
cc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"clamav\"
-DVERSION=\"devel-20040129\" -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_UNISTD_H=1 -DHAVE_DLFCN_H=1
-DSCANBUFF=131072 -DFILEBUFF=8192 -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1
-DHAVE_SYS_INT_TYPES_H=1 -DHAVE_DLFCN_H=1 -DHAVE_INTTYPES_H=1
-DHAVE_SYS_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
-DHAVE_SETSID=1 -DHAVE_MEMCPY=1 -DSETPGRP_VOID=1 -DHAVE_GMP=1
-DCLAMD_USE_SYSLOG=1 -DCLAMAVUSER=\"clamav\" -DCLAMAVGROUP=\"clamav\"
-DDB1NAME=\"main.cvd\" -DDB2NAME=\"daily.cvd\"
-DDATADIR=\"/opt/csw/share/clamav\" -DCONFDIR=\"/opt/csw/etc\" -DC_URANDOM=1
-DCL_THREAD_SAFE=1 -D_REENTRANT=1 -DC_SOLARIS=1 -DBUILD_CLAMD=1
-DWORDS_BIGENDIAN=1 -DWORDS_BIGENDIAN=1 -I. -I. -I.. -I./zziplib
-I/opt/csw/include -I../clamscan -fast -xarch=v8 -c ole2_extract.c  -KPIC
-DPIC -o .libs/ole2_extract.lo
"ole2_extract.c", line 48: #warning: Big Endian
"ole2_extract.c", line 89: syntax error before or at: __attribute__
"ole2_extract.c", line 89: warning: old-style declaration or incorrect type
for: __attribute__
"ole2_extract.c", line 89: warning: syntax error:  empty declaration
"ole2_extract.c", line 111: syntax error before or at: __attribute__
"ole2_extract.c", line 111: warning: old-style declaration or incorrect type
for: __attribute__
"ole2_extract.c", line 111: identifier redefined: __attribute__
        current : function() returning int
        previous: function() returning int : "ole2_extract.c", line 89
"ole2_extract.c", line 111: warning: syntax error:  empty declaration
"ole2_extract.c", line 113: warning: initializer does not fit or is out of
range: 208
"ole2_extract.c", line 113: warning: initializer does not fit or is out of
range: 207
"ole2_extract.c", line 113: warning: initializer does not fit or is out of
range: 224
"ole2_extract.c", line 113: warning: initializer does not fit or is out of
range: 161
"ole2_extract.c", line 113: warning: initializer does not fit or is out of
range: 177
"ole2_extract.c", line 113: warning: initializer does not fit or is out of
range: 225
"ole2_extract.c", line 137: warning: pointer to void or function used in
arithmetic
"ole2_extract.c", line 141: cannot recover from previous errors
cc: acomp failed for ole2_extract.c
*** Error code 1
make: Fatal error: Command failed for target `ole2_extract.lo'
Current working directory
/export/home/csw/build/clamav-devel-2004-01-29/libclamav
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
[EMAIL PROTECTED] clamav-devel-2004-01-29]# 
<<

Thanks, Alex


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to