Quantcast
Viewing all articles
Browse latest Browse all 11462

SEPL on Linux 3.16 Kernel - Compile Failure

Oui, j'ai besoin d'une solution

Currently evaluating SEPL but showstopper in that cannot install on Ubunut 14.04 running a 3.16 kernel.

Previous 3.13 kernel versions work fine.

Yes, I know, people will point out what versions are supported etc or building yourself. So, I've tried that.

Standard install.sh -i throws the following:

...
Pre-compiled Auto-Protect kernel modules are not loaded yet, need compile them from source code
Build Auto-Protect kernel modules from source code failed with error: 1
...

# /opt/Symantec/symantec_antivirus/sav info -a
Malfunctioning

So off I go to build manually, which throws the following error:

# ./build.sh --kernel-dir /usr/src/linux-headers-$(uname -r)
Mon Aug 10 15:35:16 BST 2015: starting to build kernel modules of SEP for Linux
Kernel release not specified. Build kernel modules for current kernel version 3.16.0-45-generic
~/sepfiles/src/ap-kernelmodule-12.1.6168-6000/symev ~/sepfiles/src/ap-kernelmodule-12.1.6168-6000
rm -f *.o *.ko *.mod.c .*.cmd modules.order Module.symvers* Module.markers Modules.symvers *.ko.unsigned Makefile.xen
rm -rf .tmp_versions* .build-*
~/sepfiles/src/ap-kernelmodule-12.1.6168-6000
~/sepfiles/src/ap-kernelmodule-12.1.6168-6000/symap ~/sepfiles/src/ap-kernelmodule-12.1.6168-6000
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-*
~/sepfiles/src/ap-kernelmodule-12.1.6168-6000
~/sepfiles/src/ap-kernelmodule-12.1.6168-6000/symev ~/sepfiles/src/ap-kernelmodule-12.1.6168-6000
make -C /usr/src/linux-headers-3.16.0-45-generic M=/home/rgrey/sepfiles/src/ap-kernelmodule-12.1.6168-6000/symev MODVERDIR=/home/rgrey/sepfiles/src/ap-kernelmodule-12.1.6168-6000/symev/.tmp_versions-custom-3.16.0-45-generic-x86_64 modules
make[1]: Entering directory `/usr/src/linux-headers-3.16.0-45-generic'
  CC [M]  /home/rgrey/sepfiles/src/ap-kernelmodule-12.1.6168-6000/symev/symev.o
/home/rgrey/sepfiles/src/ap-kernelmodule-12.1.6168-6000/symev/symev.c: In function ‘sym_filename_str’:
/home/rgrey/sepfiles/src/ap-kernelmodule-12.1.6168-6000/symev/symev.c:173:53: warning: return discards ‘const’ qualifier from pointer target type [enabled by default]
 static char* sym_filename_str(sym_filename_t* fn) { return fn==NULL? NULL: fn->name; }
                                                     ^
/home/rgrey/sepfiles/src/ap-kernelmodule-12.1.6168-6000/symev/symev.c: In function ‘symev_read_proc_symev’:
/home/rgrey/sepfiles/src/ap-kernelmodule-12.1.6168-6000/symev/symev.c:609:9: warning: format ‘%d’ expects argument of type ‘int’, but argument 9 has type ‘long unsigned int’ [-Wformat=]
         ctrsnap.namerr, ctrsnap.nomem, ctrsnap.r_denied);
         ^
/home/rgrey/sepfiles/src/ap-kernelmodule-12.1.6168-6000/symev/symev.c: In function ‘symev_fs_event’:
/home/rgrey/sepfiles/src/ap-kernelmodule-12.1.6168-6000/symev/symev.c:941:14: error: incompatible types when assigning to type ‘sym_uid_t’ from type ‘kuid_t’
     evp->uid = SYM_GET_ID(current->real_cred->uid);
              ^
/home/rgrey/sepfiles/src/ap-kernelmodule-12.1.6168-6000/symev/symev.c:942:14: error: incompatible types when assigning to type ‘sym_gid_t’ from type ‘kgid_t’
     evp->gid = SYM_GET_ID(current->real_cred->gid);
              ^
make[2]: *** [/home/rgrey/sepfiles/src/ap-kernelmodule-12.1.6168-6000/symev/symev.o] Error 1
make[1]: *** [_module_/home/rgrey/sepfiles/src/ap-kernelmodule-12.1.6168-6000/symev] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.16.0-45-generic'
make: *** [custom] Error 2
~/sepfiles/src/ap-kernelmodule-12.1.6168-6000

Mon Aug 10 15:35:53 BST 2015: Build failed

Has anybody got any (re)solution before I trot off to support to be told, unsupported kernel version, in which case, Symantec miss out on a sale ?

Thanks


Viewing all articles
Browse latest Browse all 11462

Trending Articles