[clamav-users] Version 0.98.3 fails on Solaris
Martin Preen
preen at informatik.uni-freiburg.de
Fri May 9 14:26:33 UTC 2014
Lars Hecking wrote:
>
>> I've been building with static openssl for a while as well, and am still
>> using gcc 3.4.6 as I couldn't get newer versions to compile - although
>> it seems possible, and I'll try again; maybe using gcc 4.7 or 4.6.
>
> Well, 4.7.3 doesn't build for me. Trying 4.6.4 now. Using 3.4.6 and latest
> binutils.
>
> gcc -c -g -DIN_GCC -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild -I../../gcc -I../../gcc/build -I../../gcc/../include -I./../intl -I../../gcc/../libcpp/include -I../../gcc/../libdecnumber -I../../gcc/../libdecnumber/dpd -I../libdecnumber -I/opt/local/include \
> -o build/gencondmd.o build/gencondmd.c
> In file included from build/gencondmd.c:40:
> ../../gcc/config/sparc/constraints.md: In function `satisfies_constraint_T':
> ../../gcc/config/sparc/constraints.md:137: error: `TARGET_64BIT' undeclared (first use in this function)
> ../../gcc/config/sparc/constraints.md:137: error: (Each undeclared identifier is reported only once
> ../../gcc/config/sparc/constraints.md:137: error: for each function it appears in.)
I've done some additional tests today. With Sun-CC the binaries
won't work, even without optimization.
But I managed to compile it with gcc 4.8.2 and that works
(-O4 -mcpu=ultrasparc3 -I/opt/openssl/include -D__EXTENSIONS__).
Thats good, but I don't know if I should worry about some compiler specific
code in ClamAV (since 0.98) causing this bug. Maybe there is some other
"bigger" problem.
Regards,
Martin
----------------------------------------------------------------------
Martin Preen, Universität Freiburg, Institut für Informatik
Georges-Koehler-Allee 52, Raum EG-006, 79110 Freiburg, Germany
phone: ++49 761 203-8250 preen at informatik.uni-freiburg.de
fax: ++49 761 203-8242 swt.informatik.uni-freiburg.de/staff/preen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4879 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://lists.clamav.net/pipermail/clamav-users/attachments/20140509/e526ce0c/attachment.bin>
More information about the clamav-users
mailing list