On Tue, 4 Nov 2003, Tomasz Kojm wrote:

> Could you please report that errors with your compiler ?

First problem trying to compile the snapshot with Sun's Forte compiler
(cc) on Solaris 9 is that the following files have ^M (carriage returns)
in them and cc's preprocessor doesn't like them:

./libclamav/zziplib/zzip-conf.h
./libclamav/zziplib/zzip-err.c
./libclamav/zziplib/zzip-file.h
./libclamav/zziplib/zzip-stdint.h

I reported this in Dec 2002... guess you never got around to stripping
them.

Then the compile went on to get a fatal error and the compile failed.  So
for now I'm try to use gcc...

When I use gcc 3.3.2, I get further but end up with the following error:

gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"clamav\"
-DVERSION=\"devel-20031104\" -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
-DBUFFSIZE=131072 -DFBUFFSIZE=16384 -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 -DCLAMD_USE_SYSLOG=1
-DCLAMAVUSER=\"clamav\" -DCLAMAVGROUP=\"clamav\" -DDB1NAME=\"main.cvd\"
-DDB2NAME=\"daily.cvd\" -DDATADIR=\"/opt/clamav-20031104/share/clamav\"
-DCONFDIR=\"/opt/clamav-20031104/etc\" -DC_URANDOM=1 -DCL_THREAD_SAFE=1
-DC_SOLARIS=1 -DBUILD_CLAMD=1 -DWORDS_BIGENDIAN=1 -DWORDS_BIGENDIAN=1 -I.
-I. -I../clamscan -I../libclamav     -g -O2 -c `test -f 'server.c' || echo
'./'`server.c
server.c: In function `threadwatcher':
server.c:325: error: `virnum' undeclared (first use in this function)
server.c:325: error: (Each undeclared identifier is reported only once
server.c:325: error: for each function it appears in.)
*** Error code 1
make: Fatal error: Command failed for target `server.o'
Current working directory
/home/polycut.nss/usra/ed/clam/clamav-devel-20031104/clamd
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'

Is there going to be a new snapshot version that will compile on Solaris
with gcc?

Cheers,

        Ed

Ed Phillips <[EMAIL PROTECTED]> University of Delaware (302) 831-6082
Systems Programmer III, Network and Systems Services


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to