Jump to content

'compiler differs from the one used to build the kernel'


eab

Recommended Posts

EEA was installed via Protect Cloud.

image.png.c9baf6a4bc8bfa26a4b5b7b7aabf648e.png

However it fails to start:

admin@pco048:~$ sudo service eea status
× eea.service - ESET Endpoint Antivirus
     Loaded: loaded (/lib/systemd/system/eea.service; enabled; vendor preset: enabled)
     Active: failed (Result: exit-code) since Fri 2023-11-24 11:41:40 CET; 11min ago
    Process: 2800 ExecStartPre=/opt/eset/eea/lib/install_scripts/check_start.sh (code=exited, status=2)
    Process: 3070 ExecStopPost=/usr/bin/killall /opt/eset/eea/lib/egui --quiet (code=exited, status=1/FAILURE)
        CPU: 121ms

Nov 24 11:41:40 pco048 systemd[1]: eea.service: Scheduled restart job, restart counter is at 5.
Nov 24 11:41:40 pco048 systemd[1]: Stopped ESET Endpoint Antivirus.
Nov 24 11:41:40 pco048 systemd[1]: eea.service: Start request repeated too quickly.
Nov 24 11:41:40 pco048 systemd[1]: eea.service: Failed with result 'exit-code'.
Nov 24 11:41:40 pco048 systemd[1]: Failed to start ESET Endpoint Antivirus.

Does this help?

admin@pco048:~$ sudo /opt/eset/eea/lib/install_scripts/check_start.sh
warning: the compiler differs from the one used to build the kernel
  The kernel was built by: x86_64-linux-gnu-gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0
  You are using:           
/bin/sh: 1: gcc-12: not found
make[3]: *** [scripts/Makefile.build:258: /var/opt/eset/eea/eventd/eset_rtp/ertp_dev.o] Error 127
make[2]: *** [scripts/Makefile.build:508: /var/opt/eset/eea/eventd/eset_rtp] Error 2
make[1]: *** [Makefile:2018: /var/opt/eset/eea/eventd] Error 2
make: *** [Makefile:35: modules] Error 2


PC kernel:

Linux pco048 6.1.0-1026-oem #26-Ubuntu SMP PREEMPT_DYNAMIC Wed Nov  1 14:06:23 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

This is the default Ubuntu 22.04 kernel installed on this Thinkpad T14s Gen 4 .

Link to comment
Share on other sites

  • ESET Staff

Hi eab,

Endpoint service fails to start, because of error in module compilation. This is caused by missing 'gcc-12', installation of this package should resolve this issue. Please try to install gcc-12 and start eea service again. 

"Compilers differs warning" tries to tell you, that there are differences in version of compiler used to build kernel and currently found compiler. There should be no impact on Endpoint functionalities if module compilation is successful. 

Regards,

Kurco

Link to comment
Share on other sites

On 11/24/2023 at 6:21 PM, kurco said:

Hi eab,

Endpoint service fails to start, because of error in module compilation. This is caused by missing 'gcc-12', installation of this package should resolve this issue. Please try to install gcc-12 and start eea service again. 

"Compilers differs warning" tries to tell you, that there are differences in version of compiler used to build kernel and currently found compiler. There should be no impact on Endpoint functionalities if module compilation is successful. 

Regards,

Kurco

image.thumb.png.d34299e55a09a3e305f9c43cf547edff.pngHi,

In my client , it was displayed

warning: the compiler differs from the one used to build the kernel
dev-12 check_start.sh[3449431]:   The kernel was built by: x86_64-linux-gnu-gcc-11 (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
dev-12 check_start.sh[3449431]:   You are using:           gcc-11 (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0

dev-12 systemd[1]: eea.service: start-pre operation timed out. Terminating.

dev-12 systemd[1]: eea.service: Control process exited, code=killed, status=15/TERM

image.png.2e32e1760ff745f413c64c37eee1dc3f.png

 

 

Link to comment
Share on other sites

  • 1 month later...
On 11/24/2023 at 1:21 PM, kurco said:

Please try to install gcc-12 and start eea service again. 

Just emphasizing the point that matters for this solution 
usually sudo apt install -y gcc-12 should resolve it - possible to do so as a task from the EP console. 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...