[clamav-users] Clamav 0.101.1 dosn't compile on solaris anymore.
SCOTT PACKARD
Scott.Packard at raytheon.com
Wed Feb 20 14:37:11 UTC 2019
unixpackages.com uses gcc-3.4.6 and has clamav built, along with 20 dependency packages.
Pointing it out because 'severely ancient' compilers aren't necessarily the issue here.
Regards, Scott
> -----Original Message-----
> From: clamav-users <clamav-users-bounces at lists.clamav.net> On Behalf Of Gary R. Schmidt
> Sent: Wednesday, February 20, 2019 4:00 AM
> To: clamav-users at lists.clamav.net
> Subject: [External] Re: [clamav-users] Clamav 0.101.1 dosn't compile on solaris anymore.
>
> 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-)
> _______________________________________________
> clamav-users mailing list
> clamav-users at lists.clamav.net
> http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
>
>
> Help us build a comprehensive ClamAV guide:
> https://github.com/vrtadmin/clamav-faq
>
> http://www.clamav.net/contact.html#ml
More information about the clamav-users
mailing list