Custom AutoProtect kernel modules for Symantec AntiVirus for Linux 1.0 MR14 fail to compile on Red Hat Enterprise Linux 6.5 when running Linux kernel 2.6.32-431.3.1.el6

book

Article ID: 158908

calendar_today

Updated On:

Products

Endpoint Protection

Issue/Introduction

Custom AutoProtect kernel modules fail to compile on Red Hat Enterprise Linux 6.5 when running Linux kernel 2.6.32-431.3.1.el6.

Note: This also affects Community ENTerprise Linux (CentOS) 6.5 and Scientific Linux 6.5, as well as any other version of Linux based on Red Hat Enterprise Linux sources.

Kernel release is not set, build the kernel modules for the current kernel release(2.6.32-431.3.1.el6.x86_64)
Kernel headers/makefiles directory is not set, use the default /usr/src/kernels/2.6.32-431.3.1.el6.x86_64
~/ap-kernelmodule-1.0.14-13/symev ~/ap-kernelmodule-1.0.14-13
rm -f *.o *.ko *.mod.c .*.cmd modules.order Module.symvers* Module.markers Modules.symvers *.ko.unsigned Makefile.xen
rm -rf .tmp_versions* .build-*
~/ap-kernelmodule-1.0.14-13
~/ap-kernelmodule-1.0.14-13/symap ~/ap-kernelmodule-1.0.14-13
rm -f *.o *.ko *.mod.c .*.cmd modules.order Module.symvers* Module.markers Modules.symvers *.ko.unsigned Makefile.xen symap_test
rm -rf ../symev/.tmp_versions* .build-*
~/ap-kernelmodule-1.0.14-13
~/ap-kernelmodule-1.0.14-13/symev ~/ap-kernelmodule-1.0.14-13
make -C /usr/src/kernels/2.6.32-431.3.1.el6.x86_64 M=/buildarea/ap-kernelmodule-1.0.14-13/symev MODVERDIR=/buildarea/ap-kernelmodule-1.0.14-13/symev/../symev/.tmp_versions-custom-2.6.32-431.3.1.el6-x86_64 modules
make[1]: Entering directory `/usr/src/kernels/2.6.32-431.3.1.el6.x86_64'
  CC [M]  /buildarea/ap-kernelmodule-1.0.14-13/symev/symev.o
  CC [M]  /buildarea/ap-kernelmodule-1.0.14-13/symev/syscalls.o
  CC [M]  /buildarea/ap-kernelmodule-1.0.14-13/symev/fileops.o
  CC [M]  /buildarea/ap-kernelmodule-1.0.14-13/symev/hnfs.o
make[1]: Leaving directory `/usr/src/kernels/2.6.32-431.3.1.el6.x86_64'
~/ap-kernelmodule-1.0.14-13

Build was stopped due to error.

Cause

Symantec Antivirus for Linux 1.0 MR14 was released on 05 September 2012, prior to Red Hat Enterprise Linux 6.5, which was released on 21 November 2013. As such, unforeseen changes to the Linux kernel that ships with Red Hat Enterprise Linux 6.5 caused incompatibilities with code provided for compiling custom AutoProtect kernel modules.

Resolution

Symantec is aware of this issue and will update this document when a solution becomes available.


Applies To

Linux Kernel 2.6.32-431.3.1.el6.