search cancel

Endpoint Protection kernel module auto-compile fails on Red Hat Enterprise Linux 8.0

book

Article ID: 175076

calendar_today

Updated On:

Products

Endpoint Protection

Issue/Introduction

You install Symantec Endpoint Protection (SEP) for Linux 14.2 RU1 (MP1) on a Red Hat Enterprise Linux (RHEL) 8.0 system with kernel 4.18.x. In spite of having installed the necessary prerequisites, you find that SEP for Linux auto-compile fails and its kernel modules are not loaded. An attempt to manually compile its kernel modules similarly fails.

~/sepfl-kbuild.log showing auto-compile failure in combination with 14.2 RU1 MP1 (which has elfutils-libelf-devel as a new dependency):


Wed Jun  5 09:09:21 CEST 2019: starting to build kernel modules of SEP for Linux
Kernel release not specified. Build kernel modules for current kernel version 4.18.0-80.1.2.el8_0.x86_64
Kernel source directory not specified. Use default /lib/modules/4.18.0-80.1.2.el8_0.x86_64/build
make -C /lib/modules/4.18.0-80.1.2.el8_0.x86_64/build M=/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev MODVERDIR=/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/.tmp_versions-custom-4.18.0-80.1.2.el8_0-x86_64 modules
make[1]: Entering directory '/usr/src/kernels/4.18.0-80.1.2.el8_0.x86_64'
Makefile:958: *** "Cannot generate ORC metadata for CONFIG_UNWINDER_ORC=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel".  Stop.
make[1]: Leaving directory '/usr/src/kernels/4.18.0-80.1.2.el8_0.x86_64'
make: *** [Makefile:312: custom] Error 2
Wed Jun  5 09:09:22 CEST 2019: Build failed
Wed Jun  5 12:36:23 CEST 2019: starting to build kernel modules of SEP for Linux
Kernel release not specified. Build kernel modules for current kernel version 4.18.0-80.1.2.el8_0.x86_64
Kernel source directory not specified. Use default /lib/modules/4.18.0-80.1.2.el8_0.x86_64/build
make -C /lib/modules/4.18.0-80.1.2.el8_0.x86_64/build M=/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev MODVERDIR=/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/.tmp_versions-custom-4.18.0-80.1.2.el8_0-x86_64 modules
make[1]: Entering directory '/usr/src/kernels/4.18.0-80.1.2.el8_0.x86_64'
  CC [M]  /root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/symev.o
/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/symev.c: In function ‘set_addr_rw’:
/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/symev.c:182:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
   pte_t *pte = lookup_address(_addr, &level);
   ^~~~~
/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/symev.c: In function ‘set_addr_ro’:
/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/symev.c:216:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
   pte_t *pte = lookup_address(_addr, &level);
   ^~~~~
/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/symev.c: At top level:
/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/symev.c:572:16: error: ‘sys_open’ undeclared here (not in a function); did you mean ‘ksys_open’?
     SC_DECLARE(sys_open);
                ^~~~~~~~
/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/symev.c:551:36: note: in definition of macro ‘SC_DECLARE’
   #define SC_DECLARE(SC)    typeof(SC) *SC
                                    ^~
/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/symev.c:573:16: error: ‘sys_creat’ undeclared here (not in a function); did you mean ‘ksys_read’?
     SC_DECLARE(sys_creat);
                ^~~~~~~~~
/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/symev.c:551:36: note: in definition of macro ‘SC_DECLARE’
   #define SC_DECLARE(SC)    typeof(SC) *SC
                                    ^~
/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/symev.c:575:16: error: ‘sys_openat’ undeclared here (not in a function); did you mean ‘ksys_open’?
     SC_DECLARE(sys_openat);
                ^~~~~~~~~~
/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/symev.c:551:36: note: in definition of macro ‘SC_DECLARE’
   #define SC_DECLARE(SC)    typeof(SC) *SC
                                    ^~
/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/symev.c:585:16: error: ‘sys_truncate’ undeclared here (not in a function); did you mean ‘ksys_truncate’?
     SC_DECLARE(sys_truncate);
                ^~~~~~~~~~~~
/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/symev.c:551:36: note: in definition of macro ‘SC_DECLARE’
   #define SC_DECLARE(SC)    typeof(SC) *SC
                                    ^~
/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/symev.c:586:16: error: ‘sys_ftruncate’ undeclared here (not in a function); did you mean ‘ksys_ftruncate’?
     SC_DECLARE(sys_ftruncate);
                ^~~~~~~~~~~~~
/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/symev.c:551:36: note: in definition of macro ‘SC_DECLARE’
   #define SC_DECLARE(SC)    typeof(SC) *SC
                                    ^~
/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/symev.c:587:16: error: ‘sys_write’ undeclared here (not in a function); did you mean ‘ksys_write’?
     SC_DECLARE(sys_write);
                ^~~~~~~~~
/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/symev.c:551:36: note: in definition of macro ‘SC_DECLARE’
   #define SC_DECLARE(SC)    typeof(SC) *SC
                                    ^~
/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/symev.c:588:16: error: ‘sys_writev’ undeclared here (not in a function); did you mean ‘ksys_write’?
     SC_DECLARE(sys_writev);
                ^~~~~~~~~~
/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/symev.c:551:36: note: in definition of macro ‘SC_DECLARE’
   #define SC_DECLARE(SC)    typeof(SC) *SC
                                    ^~
/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/symev.c:590:16: error: ‘sys_pwrite64’ undeclared here (not in a function); did you mean ‘ksys_pwrite64’?
     SC_DECLARE(sys_pwrite64);
                ^~~~~~~~~~~~
/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/symev.c:551:36: note: in definition of macro ‘SC_DECLARE’
   #define SC_DECLARE(SC)    typeof(SC) *SC
                                    ^~
/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/symev.c:595:16: error: ‘sys_io_submit’ undeclared here (not in a function); did you mean ‘dio_submit_t’?
     SC_DECLARE(sys_io_submit);
                ^~~~~~~~~~~~~
/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/symev.c:551:36: note: in definition of macro ‘SC_DECLARE’
   #define SC_DECLARE(SC)    typeof(SC) *SC
                                    ^~
/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/symev.c:597:16: error: ‘sys_sendfile’ undeclared here (not in a function); did you mean ‘ksys_setsid’?
     SC_DECLARE(sys_sendfile);
                ^~~~~~~~~~~~
/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/symev.c:551:36: note: in definition of macro ‘SC_DECLARE’
   #define SC_DECLARE(SC)    typeof(SC) *SC
                                    ^~
/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/symev.c:598:16: error: ‘sys_sendfile64’ undeclared here (not in a function); did you mean ‘ksys_pwrite64’?
     SC_DECLARE(sys_sendfile64);
                ^~~~~~~~~~~~~~
/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/symev.c:551:36: note: in definition of macro ‘SC_DECLARE’
   #define SC_DECLARE(SC)    typeof(SC) *SC
                                    ^~
/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/symev.c:609:16: error: ‘sys_mprotect’ undeclared here (not in a function); did you mean ‘pud_wrprotect’?
     SC_DECLARE(sys_mprotect);
                ^~~~~~~~~~~~
/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/symev.c:551:36: note: in definition of macro ‘SC_DECLARE’
   #define SC_DECLARE(SC)    typeof(SC) *SC
                                    ^~
/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/symev.c:610:16: error: ‘sys_unlink’ undeclared here (not in a function); did you mean ‘ksys_unlink’?
     SC_DECLARE(sys_unlink);
                ^~~~~~~~~~
/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/symev.c:551:36: note: in definition of macro ‘SC_DECLARE’
   #define SC_DECLARE(SC)    typeof(SC) *SC
                                    ^~
/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/symev.c:611:16: error: ‘sys_rename’ undeclared here (not in a function); did you mean ‘vfs_rename’?
     SC_DECLARE(sys_rename);
                ^~~~~~~~~~
/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/symev.c:551:36: note: in definition of macro ‘SC_DECLARE’
   #define SC_DECLARE(SC)    typeof(SC) *SC
                                    ^~
/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/symev.c:612:16: error: ‘sys_link’ undeclared here (not in a function); did you mean ‘ksys_link’?
     SC_DECLARE(sys_link);
                ^~~~~~~~
/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/symev.c:551:36: note: in definition of macro ‘SC_DECLARE’
   #define SC_DECLARE(SC)    typeof(SC) *SC
                                    ^~
/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/symev.c:613:16: error: ‘sys_symlink’ undeclared here (not in a function); did you mean ‘ksys_symlink’?
     SC_DECLARE(sys_symlink);
/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/symev.c:551:36: note: in definition of macro ‘SC_DECLARE’
   #define SC_DECLARE(SC)    typeof(SC) *SC
                                    ^~
/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/symev.c:616:16: error: ‘sys_unlinkat’ undeclared here (not in a function); did you mean ‘ksys_unlink’?
     SC_DECLARE(sys_unlinkat);
                ^~~~~~~~~~~~
/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/symev.c:551:36: note: in definition of macro ‘SC_DECLARE’
   #define SC_DECLARE(SC)    typeof(SC) *SC
                                    ^~
/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/symev.c:617:16: error: ‘sys_renameat’ undeclared here (not in a function); did you mean ‘vfs_rename’?
     SC_DECLARE(sys_renameat);
                ^~~~~~~~~~~~
/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/symev.c:551:36: note: in definition of macro ‘SC_DECLARE’
   #define SC_DECLARE(SC)    typeof(SC) *SC
                                    ^~
/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/symev.c:618:16: error: ‘sys_linkat’ undeclared here (not in a function); did you mean ‘ksys_link’?
     SC_DECLARE(sys_linkat);
                ^~~~~~~~~~
/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/symev.c:551:36: note: in definition of macro ‘SC_DECLARE’
   #define SC_DECLARE(SC)    typeof(SC) *SC
                                    ^~
/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/symev.c:619:16: error: ‘sys_symlinkat’ undeclared here (not in a function); did you mean ‘ksys_symlink’?
     SC_DECLARE(sys_symlinkat);
                ^~~~~~~~~~~~~
/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/symev.c:551:36: note: in definition of macro ‘SC_DECLARE’
   #define SC_DECLARE(SC)    typeof(SC) *SC
                                    ^~
/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/symev.c:637:16: error: ‘compat_sys_open’ undeclared here (not in a function); did you mean ‘compat_sysinfo’?
     SC_DECLARE(compat_sys_open);
                ^~~~~~~~~~~~~~~
/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/symev.c:551:36: note: in definition of macro ‘SC_DECLARE’
   #define SC_DECLARE(SC)    typeof(SC) *SC
                                    ^~
/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/symev.c:639:16: error: ‘compat_sys_openat’ undeclared here (not in a function); did you mean ‘compat_sysinfo’?
     SC_DECLARE(compat_sys_openat);
                ^~~~~~~~~~~~~~~~~
/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/symev.c:551:36: note: in definition of macro ‘SC_DECLARE’
   #define SC_DECLARE(SC)    typeof(SC) *SC
                                    ^~
/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/symev.c: In function ‘symev_open’:
/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/symev.c:1333:16: error: called object is not a function or function pointer
         ret = (*symev_hooked.sys_open)(fn, flags, mode);
               ~^~~~~~~~~~~~~~~~~~~~~~~
/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/symev.c: In function ‘symev_openat’:
/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/symev.c:1373:16: error: called object is not a function or function pointer
         ret = (*symev_hooked.sys_openat)(dfd, fn, flags, mode);
               ~^~~~~~~~~~~~~~~~~~~~~~~~~
/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/symev.c: In function ‘symev_compat_open’:
/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/symev.c:1418:16: error: called object is not a function or function pointer
         ret = (*symev_ia32_hooked.compat_sys_open)(fn, flags, mode);
               ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/symev.c: In function ‘symev_compat_openat’:
/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/symev.c:1462:16: error: called object is not a function or function pointer
         ret = (*symev_ia32_hooked.compat_sys_openat)(dfd, fn, flags, mode);
               ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/symev.c: In function ‘symev_creat’:
/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/symev.c:1500:16: error: called object is not a function or function pointer
         ret = (*symev_hooked.sys_creat)(fn, mode);
               ~^~~~~~~~~~~~~~~~~~~~~~~~
/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/symev.c: In function ‘symev_truncate’:
/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/symev.c:1804:16: error: called object is not a function or function pointer
         ret = (*symev_hooked.sys_truncate)(fn, len);
               ~^~~~~~~~~~~~~~~~~~~~~~~~~~~
/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/symev.c: In function ‘symev_ftruncate’:
/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/symev.c:1825:16: error: called object is not a function or function pointer
         ret = (*symev_hooked.sys_ftruncate)(fd, len);
               ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/symev.c: In function ‘symev_write’:
/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/symev.c:1846:16: error: called object is not a function or function pointer
         ret = (*symev_hooked.sys_write)(fd, buf, cnt);
               ~^~~~~~~~~~~~~~~~~~~~~~~~
/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/symev.c: In function ‘symev_io_submit’:
/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/symev.c:1869:16: error: called object is not a function or function pointer
         ret = (*symev_hooked.sys_io_submit)(ctx, nr, iocbs);
               ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/symev.c: In function ‘symev_writev’:
/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/symev.c:1926:16: error: called object is not a function or function pointer
         ret = (*symev_hooked.sys_writev)(fd, vec, count);
               ~^~~~~~~~~~~~~~~~~~~~~~~~~
/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/symev.c: In function ‘symev_pwrite’:
/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/symev.c:1949:16: error: called object is not a function or function pointer
         ret = (*symev_hooked.PWRITE_CALL)(fd, buf, cnt, pos);
               ~^~~~~~~~~~~~~~~~~~~~~~~~~~
/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/symev.c: In function ‘symev_sendfile’:
/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/symev.c:1990:16: error: called object is not a function or function pointer
         ret = (*symev_hooked.sys_sendfile)(ofd, ifd, off, cnt);
               ~^~~~~~~~~~~~~~~~~~~~~~~~~~~
/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/symev.c: In function ‘symev_mprotect’:
/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/symev.c:2088:16: error: called object is not a function or function pointer
         ret = (*symev_hooked.sys_mprotect)(start, len, prot);
               ~^~~~~~~~~~~~~~~~~~~~~~~~~~~
/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/symev.c: In function ‘symev_unlink’:
/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/symev.c:2139:16: error: called object is not a function or function pointer
         ret = (*symev_hooked.sys_unlink)(fn);
               ~^~~~~~~~~~~~~~~~~~~~~~~~~
/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/symev.c: In function ‘symev_rename’:
/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/symev.c:2153:16: error: called object is not a function or function pointer
         ret = (*symev_hooked.sys_rename)(oldn, newn);
               ~^~~~~~~~~~~~~~~~~~~~~~~~~
/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/symev.c: In function ‘symev_link’:
/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/symev.c:2169:16: error: called object is not a function or function pointer
         ret = (*symev_hooked.sys_link)(oldn, newn);
               ~^~~~~~~~~~~~~~~~~~~~~~~
/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/symev.c: In function ‘symev_symlink’:
/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/symev.c:2186:16: error: called object is not a function or function pointer
         ret = (*symev_hooked.sys_symlink)(oldn, newn);
               ~^~~~~~~~~~~~~~~~~~~~~~~~~~
/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/symev.c: In function ‘symev_unlinkat’:
/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/symev.c:2217:16: error: called object is not a function or function pointer
         ret = (*symev_hooked.sys_unlinkat)(dfd, pathname, flag);
               ~^~~~~~~~~~~~~~~~~~~~~~~~~~~
/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/symev.c: In function ‘symev_renameat’:
/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/symev.c:2231:16: error: called object is not a function or function pointer
         ret = (*symev_hooked.sys_renameat)(olddfd, oldname, newdfd, newname);
               ~^~~~~~~~~~~~~~~~~~~~~~~~~~~
/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/symev.c: In function ‘symev_linkat’:
/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/symev.c:2247:16: error: called object is not a function or function pointer
         ret = (*symev_hooked.sys_linkat)(olddfd, oldname, newdfd, newname, flags);
               ~^~~~~~~~~~~~~~~~~~~~~~~~~
/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/symev.c: In function ‘symev_symlinkat’:
/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/symev.c:2264:16: error: called object is not a function or function pointer
         ret = (*symev_hooked.sys_symlinkat)(oldname, newdfd, newname);

/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/symev.c:2264:16: error: called object is not a function or function pointer
         ret = (*symev_hooked.sys_symlinkat)(oldname, newdfd, newname);
               ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/symev.c: In function ‘symev_evsvtimes’:
/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/symev.c:3893:33: error: incompatible types when assigning to type ‘struct timespec’ from type ‘struct timespec64’
         EVPVT(evp)->atime_saved = EVPVT(evp)->dentry->d_inode->i_atime;
                                 ^
/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/symev.c:3894:33: error: incompatible types when assigning to type ‘struct timespec’ from type ‘struct timespec64’
         EVPVT(evp)->ctime_saved = EVPVT(evp)->dentry->d_inode->i_ctime;
                                 ^
/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/symev.c:3895:33: error: incompatible types when assigning to type ‘struct timespec’ from type ‘struct timespec64’
         EVPVT(evp)->mtime_saved = EVPVT(evp)->dentry->d_inode->i_mtime;
                                 ^
/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/symev.c: In function ‘symev_evrstimes’:
/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/symev.c:3939:25: error: incompatible types when assigning to type ‘struct timespec64’ from type ‘struct timespec’
             ia.ia_atime = EVPVT(evp)->atime_saved;
                         ^
make[2]: *** [scripts/Makefile.build:316: /root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev/symev.o] Error 1
make[1]: *** [Makefile:1528: _module_/root/sep-rpm_14.2.4545/src/ap-kernelmodule-14.2.4545-1100/symev] Error 2
make[1]: Leaving directory '/usr/src/kernels/4.18.0-80.1.2.el8_0.x86_64'
make: *** [Makefile:312: custom] Error 2
Wed Jun  5 12:36:25 CEST 2019: Build failed

Environment

  • SEP for Linux 14.2 RU1 (MP1)
  • RHEL 8.0

Cause

As frequently happens with new Linux kernel releases, there have been structural changes that will require corresponding code changes to our kernel modules.

Resolution

This issue will be resolved in SEP for Linux 14.2 RU2, due Q3 2019.