[clamav-users] Version 0.98.3 compile failure on Solaris
Lars Hecking
lhecking at users.sourceforge.net
Sun May 11 09:35:59 UTC 2014
> What compiler/linker are you using? Which version of Solaris and on which
> platform?
Compiler for this report was gcc 3.4.6 on 5.10 Generic_141444-09 sun4u sparc.
The compiler is using Solaris as and ld, which may be the root of this
problem. However, I believe this is a common configuration.
That was configure. None of the compilers I have actually build this version
of clamav. First, there is another problem, when openssl is installed in a
non-standard location. You need to append @SSL_CPPFLAGS@ to
libclamav/Makefile.am's libclamav_la_CFLAGS to get matcher-ac.c to compile.
I don't remember the error for the Sun compiler, but all versions of gcc
bomb out linking libclamav with some 16k lines of complaints about libcrypto.a
and libssl.a (I do not build shared openssl libs) and
ld: fatal: relocations remain against allocatable but non-writable sections
Again, this may be a problem of using Solaris ld vs. GNU/binutils; hopefully,
I can test this assumption next week.
More information about the clamav-users
mailing list