Sophos Anti-Virus for Linux: unable to compile kernel modules on RedHat Enterprise AS 2.1

  • ID dell'articolo: 14348
  • Aggiornato: 19 feb 2010

Issue
With Sophos Anti-Virus for Linux, when using RedHat Enterprise AS 2.1, you cannot compile the Talpa/on-access scanner kernel modules.

This is because there is an invalid kernel header located in kernel.h.

Sophos product and version
Sophos Anti-Virus for Linux

Operating System
Red Hat Enterprise AS 2.1

What to do

Open the kernel.h file (automatically created at bootup) and add a "0" to the 12th string, as shown in bold below:

#ifndef __BOOT_KERNEL_H_
#define __BOOT_KERNEL_H_

/* Kernel type i686-smp */

#ifndef __MODULE_KERNEL_i686
#define __MODULE_KERNEL_i686 1
#endif

#ifndef __BOOT_KERNEL_SUMMIT
#define __BOOT_KERNEL_SUMMIT
#endif

#ifndef __BOOT_KERNEL_ENTERPRISE
#define __BOOT_KERNEL_ENTERPRISE 0
#endif

#ifndef __BOOT_KERNEL_SMP
#define __BOOT_KERNEL_SMP 1
#endif

#ifndef __BOOT_KERNEL_UP
#define __BOOT_KERNEL_UP 0
#endif

#endif

 
Per maggiori informazioni o per assistenza, vi preghiamo di contattare il supporto tecnico.

Valutate l'articolo

Molto scadente Eccellente

Commenti