[clamav-users] Clamav 0.101.1 dosn't compile on solaris anymore.
Gary R. Schmidt
grschmidt at acm.org
Wed Feb 20 11:59:54 UTC 2019
On 20/02/2019 17:13, Pierluigi Frullani wrote:
> Hi all,
> I was upgrading my clamav installation on solaris 10 but it doesn't
> compile anymore:
[SNIP]
> cc1plus: error: unrecognized command line option
> "-Wno-logical-op-parentheses"
> cc1plus: error: unrecognized command line option "-Wno-dangling-else"
> *** Error code 1
> The following command caused the error:
> echo " CXX " libclamunrar_la-archive.lo;/bin/bash ../libtool
> --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I..
> -I../libclammspack -I.. -I./nsis -I../libltdl -DWARN_DLOPEN_FAIL -I..
> -I./nsis -I../libltdl -DWARN_DLOPEN_FAIL -DRARDLL
> -Wno-logical-op-parentheses -Wno-switch -Wno-dangling-else -g -O2 -MT
> libclamunrar_la-archive.lo -MD -MP -MF .deps/libclamunrar_la-archive.Tpo
> -c -o libclamunrar_la-archive.lo `test -f '../libclamunrar/archive.cpp'
> || echo './'`../libclamunrar/archive.cpp
> make: Fatal error: Command failed for target `libclamunrar_la-archive.lo'
> Current working directory /root/develop/clamav-0.101.1/libclamav
> *** Error code 1
>
> Any idea on what I can check ?
>
> Here some specs for the environment:
> Solaris 10 u11 ( 1/13 ) latest patches.
> gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath)
>
That is a severely ancient GCC/G++ installation (2004!!), OpenCSW is up
to 4.9.2/5.5.0 for S10, and I recently built 7.3.0 from source on
Solaris 10 and 11 for $ORK.
Update your GCC/G++ to something recent, and try again. FWIW, I've
built clamav 0.101.1 on S11.3 using my build of GCC 7.3.0.
Cheers,
Gary B-)
More information about the clamav-users
mailing list