Sophos Anti-Virus for Linux: unable to compile kernel modules on RedHat Enterprise AS 2.1
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
If you need more information or guidance, then please contact technical support.
- Article ID: 14348
- Created: 19 Jan 2006
- Last updated: 6 Mar 2008
