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

  • ID de l'article 14348
  • Mis à jour : 19 févr. 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

 
Si vous avez besoin de plus d'informations ou d'instructions, veuillez contacter le support technique.

Évaluez cet article

Très mauvais Excellent

Commentaires