On 2010-03-26 10:38, Andreas Schulze wrote:
> Hello Edwin,
> 
> I put all information you asked for at 
> http://postmaster.datev.de/clamav-0.96rc2/
> hope that helps ...


I think this is the problem:
+ export 'CFLAGS=-O2 -g -m32 -march=i586 -mtune=i686 -fmessage-length=0
-D_FORTIFY_SOURCE=2 -fno-strict-aliasing -fstack-protector'
+ CFLAGS='-O2 -g -m32 -march=i586 -mtune=i686 -fmessage-length=0
-D_FORTIFY_SOURCE=2 -fno-strict-aliasing -fstack-protector'

You set CFLAGS, but not CXXFLAGS.

The configure check uses the C compiler to test for sync_fetch*, (thats
a bug it should use the C++) and succeeds.
During the actual build the C++ compilers fails (because it doesn't have
the same flags)

So try doing this before invoking configure in your build script: export
CXXFLAGS="$CFLAGS".

Best regards,
--Edwin
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to