HI

You need to find a later version of GCC for your servers.

I had a similar problem with some legacy Ubuntu machines. Fortunately an upgrade to GCC 7.5 was available in the Ubuntu release archive.

The C++ code in libunrar has been uplifted as well as a very nasty bug being fixed.

Paul

On 13/10/2023 08:42, Nikos Gatsis via clamav-users wrote:
Hello,

On Centos 7 server:
Name        : gcc
Arch        : x86_64
Version     : 4.8.5
Release     : 44.el7

On Centos 6 server:

Name        : gcc
Arch        : x86_64
Version     : 4.4.7
Release     : 23.el6

Regards

Hi

What version of GCC is installed on the server you are seeing this
problem ?

Regards Paul

On 12/10/2023 13:40, Nikos Gatsis via clamav-users wrote:
NG> Hello list.

NG>  I am try to install from source 0.103.10 on some mailservers,
most of them have
NG>  Centos 7 last version and one with Centos 6. When I run make
(after ./configure
NG>  --sysconfdir=/etc --enable-milter) and I get many errors like:

NG>  cc1plus: warning: unrecognized command line option
"-Wno-dangling-else" [enabled
NG>  by default]
NG>  cc1plus: warning: unrecognized command line option
"-Wno-logical-op-parentheses"
NG>  [enabled by default]
NG>  make[4]: *** [../libclamunrar/libclamunrar_la-archive.lo] Error 1
NG>  make[4]: Leaving directory `/home/qbit/clamav-0.103.10/libclamav'
NG>  make[3]: *** [all-recursive] Error 1
NG>  make[3]: Leaving directory `/home/qbit/clamav-0.103.10/libclamav'
NG>  make[2]: *** [all] Error 2
NG>  make[2]: Leaving directory `/home/qbit/clamav-0.103.10/libclamav'
NG>  make[1]: *** [all-recursive] Error 1
NG>  make[1]: Leaving directory `/home/qbit/clamav-0.103.10'
NG>  make: *** [all] Error 2

NG>  All servers have already 0.103.8 and I had never problem
installing before.

Build with -DENABLR_UNRAR=OFF option.

Regards.

I run:

./configure --sysconfdir=/etc --enable-milter --disable-unrar

and my problem solved.

Thank you for your help.

Nikos
_______________________________________________

Manage your clamav-users mailing list subscription / unsubscribe:
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/Cisco-Talos/clamav-documentation

https://docs.clamav.net/#mailing-lists-and-chat

_______________________________________________

Manage your clamav-users mailing list subscription / unsubscribe:
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/Cisco-Talos/clamav-documentation

https://docs.clamav.net/#mailing-lists-and-chat

Reply via email to