On 8/19/2011 2:40 PM, Tom Goerger wrote: > I'm attempting to compile a 64 bit version of 0.97.2 on Solaris 9, and > running into some issues. Version 0.96.4 compiled fine in the same > environment that we're using now, but both this version and 0.97.1 did not > seem to compile correctly. The configure does not come out with any errors, > but upon trying to run make, standard error starts spewing a bunch of > messages like this: > > "bytecode_api.h", line 63: warning: enumerator value overflows INT_MAX > (2147483647) > CC libclamav_la-readdb.lo
Warnings are not errors ;-) > A make check results in failed clamdscan and clamd checks as well. Any idea > why this might be going on? Any information I can provide that might help? I have an unresolved bug report about 'make check' not working on Solaris 9 SPARC. With older versions it used to work the 2nd time around, but with 0.97.x it fails. The actual program used, clamd, works fine (24/7 scanning mail). The others, clamdscan and clamscan, work fine when used for testing. My build uses gcc 4.4.5, which I built just to get the 64-bit part working (no real performance improvement, SPARC processors work the same with both ABIs) and the configure command: ./configure --enable-check --sysconfdir=/etc --libdir=/usr/local/lib/sparcv9--enable-id-check --enable-bigstack --disable-clamuko --with-dbdir=/usr/local/share/clamav CC=gcc-4 CXX=g++-4 CFLAGS="-m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9 -O3 -pipe" CXXFLAGS="-m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9 -O3 -pipe" LDFLAGS="-m64 -L/usr/local/lib/sparcv9" Hope this helps. -- René Berber _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml