Endpoint Protection

 View Only
  • 1.  SEP - Fail compile Auto-Protect kernel modules

    Posted Dec 19, 2018 10:38 AM
      |   view attached

    Hi fellows,

    I am trying to compile the SEP Auto Protect by following the guidelines that are in TECH132773.

    I followed all the requested requirements, however, I get the error below:

    ***********************************************************************************************************************************************************************************

    [root@0301_note_476 ap-kernelmodule-14.0.3897-1101]# cat VERSION 
    14.0.3897.1101
    [root@0301_note_476 ap-kernelmodule-14.0.3897-1101]# rpm -qa |grep kernel-headers
    kernel-headers-4.19.9-300.fc29.x86_64
    [root@0301_note_476 ap-kernelmodule-14.0.3897-1101]# 
    [root@0301_note_476 ap-kernelmodule-14.0.3897-1101]# rpm -qa |grep kernel-devel
    kernel-devel-4.19.9-300.fc29.x86_64
    [root@0301_note_476 ap-kernelmodule-14.0.3897-1101]# uname -r
    4.19.9-300.fc29.x86_64
    [root@0301_note_476 ap-kernelmodule-14.0.3897-1101]# 
    [root@0301_note_476 ap-kernelmodule-14.0.3897-1101]# ./build.sh --kernel-dir /lib/modules/$(uname -r)/build
    qua dez 19 12:56:00 -02 2018: starting to build kernel modules of SEP for Linux
    Kernel release not specified. Build kernel modules for current kernel version 4.19.9-300.fc29.x86_64
    /tmp/SymantecEndpointProtection/src/ap-kernelmodule-14.0.3897-1101/symev /tmp/SymantecEndpointProtection/src/ap-kernelmodule-14.0.3897-1101
    rm -f *.o *.ko *.mod.c .*.cmd modules.order Module.symvers* Module.markers Modules.symvers *.ko.unsigned Makefile.xen
    rm -rf .tmp_versions* .build-*
    /tmp/SymantecEndpointProtection/src/ap-kernelmodule-14.0.3897-1101
    /tmp/SymantecEndpointProtection/src/ap-kernelmodule-14.0.3897-1101/symap /tmp/SymantecEndpointProtection/src/ap-kernelmodule-14.0.3897-1101
    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-*
    /tmp/SymantecEndpointProtection/src/ap-kernelmodule-14.0.3897-1101
    /tmp/SymantecEndpointProtection/src/ap-kernelmodule-14.0.3897-1101/symev /tmp/SymantecEndpointProtection/src/ap-kernelmodule-14.0.3897-1101
    make -C /lib/modules/4.19.9-300.fc29.x86_64/build M=/tmp/SymantecEndpointProtection/src/ap-kernelmodule-14.0.3897-1101/symev MODVERDIR=/tmp/SymantecEndpointProtection/src/ap-kernelmodule-14.0.3897-1101/symev/.tmp_versions-custom-4.19.9-300.fc29-x86_64 modules
    make[1]: Entering directory '/usr/src/kernels/4.19.9-300.fc29.x86_64'
      CC [M]  /tmp/SymantecEndpointProtection/src/ap-kernelmodule-14.0.3897-1101/symev/symev.o
    /tmp/SymantecEndpointProtection/src/ap-kernelmodule-14.0.3897-1101/symev/symev.c:484:16: error: ‘sys_open’ undeclared here (not in a function); did you mean ‘ksys_open’?
         SC_DECLARE(sys_open);
                    ^~~~~~~~
    /tmp/SymantecEndpointProtection/src/ap-kernelmodule-14.0.3897-1101/symev/symev.c:463:36: note: in definition of macro ‘SC_DECLARE’
       #define SC_DECLARE(SC)    typeof(SC) *SC
                                        ^~
    /tmp/SymantecEndpointProtection/src/ap-kernelmodule-14.0.3897-1101/symev/symev.c:485:16: error: ‘sys_creat’ undeclared here (not in a function); did you mean ‘ksys_read’?
         SC_DECLARE(sys_creat);
                    ^~~~~~~~~
    /tmp/SymantecEndpointProtection/src/ap-kernelmodule-14.0.3897-1101/symev/symev.c:463:36: note: in definition of macro ‘SC_DECLARE’
       #define SC_DECLARE(SC)    typeof(SC) *SC
                                        ^~
    /tmp/SymantecEndpointProtection/src/ap-kernelmodule-14.0.3897-1101/symev/symev.c:494:16: error: ‘sys_truncate’ undeclared here (not in a function); did you mean ‘ksys_truncate’?
         SC_DECLARE(sys_truncate);
                    ^~~~~~~~~~~~
    /tmp/SymantecEndpointProtection/src/ap-kernelmodule-14.0.3897-1101/symev/symev.c:463:36: note: in definition of macro ‘SC_DECLARE’
       #define SC_DECLARE(SC)    typeof(SC) *SC
                                        ^~
    /tmp/SymantecEndpointProtection/src/ap-kernelmodule-14.0.3897-1101/symev/symev.c:495:16: error: ‘sys_ftruncate’ undeclared here (not in a function); did you mean ‘ksys_ftruncate’?
         SC_DECLARE(sys_ftruncate);
                    ^~~~~~~~~~~~~
    /tmp/SymantecEndpointProtection/src/ap-kernelmodule-14.0.3897-1101/symev/symev.c:463:36: note: in definition of macro ‘SC_DECLARE’
       #define SC_DECLARE(SC)    typeof(SC) *SC
                                        ^~
    /tmp/SymantecEndpointProtection/src/ap-kernelmodule-14.0.3897-1101/symev/symev.c:496:16: error: ‘sys_write’ undeclared here (not in a function); did you mean ‘ksys_write’?
         SC_DECLARE(sys_write);
                    ^~~~~~~~~
    /tmp/SymantecEndpointProtection/src/ap-kernelmodule-14.0.3897-1101/symev/symev.c:463:36: note: in definition of macro ‘SC_DECLARE’
       #define SC_DECLARE(SC)    typeof(SC) *SC
                                        ^~
    /tmp/SymantecEndpointProtection/src/ap-kernelmodule-14.0.3897-1101/symev/symev.c:497:16: error: ‘sys_writev’ undeclared here (not in a function); did you mean ‘ksys_write’?
         SC_DECLARE(sys_writev);
                    ^~~~~~~~~~
    /tmp/SymantecEndpointProtection/src/ap-kernelmodule-14.0.3897-1101/symev/symev.c:463:36: note: in definition of macro ‘SC_DECLARE’
       #define SC_DECLARE(SC)    typeof(SC) *SC
                                        ^~
    /tmp/SymantecEndpointProtection/src/ap-kernelmodule-14.0.3897-1101/symev/symev.c:499:16: error: ‘sys_pwrite64’ undeclared here (not in a function); did you mean ‘ksys_pwrite64’?
         SC_DECLARE(sys_pwrite64);
                    ^~~~~~~~~~~~
    /tmp/SymantecEndpointProtection/src/ap-kernelmodule-14.0.3897-1101/symev/symev.c:463:36: note: in definition of macro ‘SC_DECLARE’
       #define SC_DECLARE(SC)    typeof(SC) *SC
                                        ^~
    /tmp/SymantecEndpointProtection/src/ap-kernelmodule-14.0.3897-1101/symev/symev.c:504:16: error: ‘sys_io_submit’ undeclared here (not in a function); did you mean ‘dio_submit_t’?
         SC_DECLARE(sys_io_submit);
                    ^~~~~~~~~~~~~
    /tmp/SymantecEndpointProtection/src/ap-kernelmodule-14.0.3897-1101/symev/symev.c:463:36: note: in definition of macro ‘SC_DECLARE’
       #define SC_DECLARE(SC)    typeof(SC) *SC
                                        ^~
    /tmp/SymantecEndpointProtection/src/ap-kernelmodule-14.0.3897-1101/symev/symev.c:506:16: error: ‘sys_sendfile’ undeclared here (not in a function); did you mean ‘ksys_setsid’?
         SC_DECLARE(sys_sendfile);
                    ^~~~~~~~~~~~
    /tmp/SymantecEndpointProtection/src/ap-kernelmodule-14.0.3897-1101/symev/symev.c:463:36: note: in definition of macro ‘SC_DECLARE’
       #define SC_DECLARE(SC)    typeof(SC) *SC
                                        ^~
    /tmp/SymantecEndpointProtection/src/ap-kernelmodule-14.0.3897-1101/symev/symev.c:507:16: error: ‘sys_sendfile64’ undeclared here (not in a function); did you mean ‘ksys_pwrite64’?
         SC_DECLARE(sys_sendfile64);
                    ^~~~~~~~~~~~~~
    /tmp/SymantecEndpointProtection/src/ap-kernelmodule-14.0.3897-1101/symev/symev.c:463:36: note: in definition of macro ‘SC_DECLARE’
       #define SC_DECLARE(SC)    typeof(SC) *SC
                                        ^~
    /tmp/SymantecEndpointProtection/src/ap-kernelmodule-14.0.3897-1101/symev/symev.c:518:16: error: ‘sys_mprotect’ undeclared here (not in a function); did you mean ‘pud_wrprotect’?
         SC_DECLARE(sys_mprotect);
                    ^~~~~~~~~~~~
    /tmp/SymantecEndpointProtection/src/ap-kernelmodule-14.0.3897-1101/symev/symev.c:463:36: note: in definition of macro ‘SC_DECLARE’
       #define SC_DECLARE(SC)    typeof(SC) *SC
                                        ^~
    /tmp/SymantecEndpointProtection/src/ap-kernelmodule-14.0.3897-1101/symev/symev.c:519:16: error: ‘sys_unlink’ undeclared here (not in a function); did you mean ‘ksys_unlink’?
         SC_DECLARE(sys_unlink);
                    ^~~~~~~~~~
    /tmp/SymantecEndpointProtection/src/ap-kernelmodule-14.0.3897-1101/symev/symev.c:463:36: note: in definition of macro ‘SC_DECLARE’
       #define SC_DECLARE(SC)    typeof(SC) *SC
                                        ^~
    /tmp/SymantecEndpointProtection/src/ap-kernelmodule-14.0.3897-1101/symev/symev.c:520:16: error: ‘sys_rename’ undeclared here (not in a function); did you mean ‘vfs_rename’?
         SC_DECLARE(sys_rename);
                    ^~~~~~~~~~
    /tmp/SymantecEndpointProtection/src/ap-kernelmodule-14.0.3897-1101/symev/symev.c:463:36: note: in definition of macro ‘SC_DECLARE’
       #define SC_DECLARE(SC)    typeof(SC) *SC
                                        ^~
    /tmp/SymantecEndpointProtection/src/ap-kernelmodule-14.0.3897-1101/symev/symev.c:521:16: error: ‘sys_link’ undeclared here (not in a function); did you mean ‘ksys_link’?
         SC_DECLARE(sys_link);
                    ^~~~~~~~
    /tmp/SymantecEndpointProtection/src/ap-kernelmodule-14.0.3897-1101/symev/symev.c:463:36: note: in definition of macro ‘SC_DECLARE’
       #define SC_DECLARE(SC)    typeof(SC) *SC
                                        ^~
    /tmp/SymantecEndpointProtection/src/ap-kernelmodule-14.0.3897-1101/symev/symev.c:522:16: error: ‘sys_symlink’ undeclared here (not in a function); did you mean ‘ksys_symlink’?
         SC_DECLARE(sys_symlink);
                    ^~~~~~~~~~~
    /tmp/SymantecEndpointProtection/src/ap-kernelmodule-14.0.3897-1101/symev/symev.c:463:36: note: in definition of macro ‘SC_DECLARE’
       #define SC_DECLARE(SC)    typeof(SC) *SC
                                        ^~
    /tmp/SymantecEndpointProtection/src/ap-kernelmodule-14.0.3897-1101/symev/symev.c:525:16: error: ‘sys_unlinkat’ undeclared here (not in a function); did you mean ‘ksys_unlink’?
         SC_DECLARE(sys_unlinkat);
                    ^~~~~~~~~~~~
    /tmp/SymantecEndpointProtection/src/ap-kernelmodule-14.0.3897-1101/symev/symev.c:463:36: note: in definition of macro ‘SC_DECLARE’
       #define SC_DECLARE(SC)    typeof(SC) *SC
                                        ^~
    /tmp/SymantecEndpointProtection/src/ap-kernelmodule-14.0.3897-1101/symev/symev.c:526:16: error: ‘sys_renameat’ undeclared here (not in a function); did you mean ‘vfs_rename’?
         SC_DECLARE(sys_renameat);
                    ^~~~~~~~~~~~
    /tmp/SymantecEndpointProtection/src/ap-kernelmodule-14.0.3897-1101/symev/symev.c:463:36: note: in definition of macro ‘SC_DECLARE’
       #define SC_DECLARE(SC)    typeof(SC) *SC
                                        ^~
    /tmp/SymantecEndpointProtection/src/ap-kernelmodule-14.0.3897-1101/symev/symev.c:527:16: error: ‘sys_linkat’ undeclared here (not in a function); did you mean ‘ksys_link’?
         SC_DECLARE(sys_linkat);
                    ^~~~~~~~~~
    /tmp/SymantecEndpointProtection/src/ap-kernelmodule-14.0.3897-1101/symev/symev.c:463:36: note: in definition of macro ‘SC_DECLARE’
       #define SC_DECLARE(SC)    typeof(SC) *SC
                                        ^~
    /tmp/SymantecEndpointProtection/src/ap-kernelmodule-14.0.3897-1101/symev/symev.c:528:16: error: ‘sys_symlinkat’ undeclared here (not in a function); did you mean ‘ksys_symlink’?
         SC_DECLARE(sys_symlinkat);
                    ^~~~~~~~~~~~~
    /tmp/SymantecEndpointProtection/src/ap-kernelmodule-14.0.3897-1101/symev/symev.c:463:36: note: in definition of macro ‘SC_DECLARE’
       #define SC_DECLARE(SC)    typeof(SC) *SC
                                        ^~
    /tmp/SymantecEndpointProtection/src/ap-kernelmodule-14.0.3897-1101/symev/symev.c:546:16: error: ‘compat_sys_open’ undeclared here (not in a function); did you mean ‘compat_sysinfo’?
         SC_DECLARE(compat_sys_open);
                    ^~~~~~~~~~~~~~~
    /tmp/SymantecEndpointProtection/src/ap-kernelmodule-14.0.3897-1101/symev/symev.c:463:36: note: in definition of macro ‘SC_DECLARE’
       #define SC_DECLARE(SC)    typeof(SC) *SC
                                        ^~
    /tmp/SymantecEndpointProtection/src/ap-kernelmodule-14.0.3897-1101/symev/symev.c: In function ‘symev_open’:
    /tmp/SymantecEndpointProtection/src/ap-kernelmodule-14.0.3897-1101/symev/symev.c:1239:16: error: called object is not a function or function pointer
             ret = (*symev_hooked.sys_open)(fn, flags, mode);
                   ~^~~~~~~~~~~~~~~~~~~~~~~
    /tmp/SymantecEndpointProtection/src/ap-kernelmodule-14.0.3897-1101/symev/symev.c: In function ‘symev_compat_open’:
    /tmp/SymantecEndpointProtection/src/ap-kernelmodule-14.0.3897-1101/symev/symev.c:1284:16: error: called object is not a function or function pointer
             ret = (*symev_ia32_hooked.compat_sys_open)(fn, flags, mode);
                   ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /tmp/SymantecEndpointProtection/src/ap-kernelmodule-14.0.3897-1101/symev/symev.c: In function ‘symev_creat’:
    /tmp/SymantecEndpointProtection/src/ap-kernelmodule-14.0.3897-1101/symev/symev.c:1322:16: error: called object is not a function or function pointer
             ret = (*symev_hooked.sys_creat)(fn, mode);
                   ~^~~~~~~~~~~~~~~~~~~~~~~~
    /tmp/SymantecEndpointProtection/src/ap-kernelmodule-14.0.3897-1101/symev/symev.c: In function ‘symev_truncate’:
    /tmp/SymantecEndpointProtection/src/ap-kernelmodule-14.0.3897-1101/symev/symev.c:1626:16: error: called object is not a function or function pointer
             ret = (*symev_hooked.sys_truncate)(fn, len);
                   ~^~~~~~~~~~~~~~~~~~~~~~~~~~~
    /tmp/SymantecEndpointProtection/src/ap-kernelmodule-14.0.3897-1101/symev/symev.c: In function ‘symev_ftruncate’:
    /tmp/SymantecEndpointProtection/src/ap-kernelmodule-14.0.3897-1101/symev/symev.c:1647:16: error: called object is not a function or function pointer
             ret = (*symev_hooked.sys_ftruncate)(fd, len);
                   ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /tmp/SymantecEndpointProtection/src/ap-kernelmodule-14.0.3897-1101/symev/symev.c: In function ‘symev_write’:
    /tmp/SymantecEndpointProtection/src/ap-kernelmodule-14.0.3897-1101/symev/symev.c:1668:16: error: called object is not a function or function pointer
             ret = (*symev_hooked.sys_write)(fd, buf, cnt);
                   ~^~~~~~~~~~~~~~~~~~~~~~~~
    /tmp/SymantecEndpointProtection/src/ap-kernelmodule-14.0.3897-1101/symev/symev.c: In function ‘symev_io_submit’:
    /tmp/SymantecEndpointProtection/src/ap-kernelmodule-14.0.3897-1101/symev/symev.c:1691:16: error: called object is not a function or function pointer
             ret = (*symev_hooked.sys_io_submit)(ctx, nr, iocbs);
                   ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /tmp/SymantecEndpointProtection/src/ap-kernelmodule-14.0.3897-1101/symev/symev.c: In function ‘symev_writev’:
    /tmp/SymantecEndpointProtection/src/ap-kernelmodule-14.0.3897-1101/symev/symev.c:1748:16: error: called object is not a function or function pointer
             ret = (*symev_hooked.sys_writev)(fd, vec, count);
                   ~^~~~~~~~~~~~~~~~~~~~~~~~~
    /tmp/SymantecEndpointProtection/src/ap-kernelmodule-14.0.3897-1101/symev/symev.c: In function ‘symev_pwrite’:
    /tmp/SymantecEndpointProtection/src/ap-kernelmodule-14.0.3897-1101/symev/symev.c:1771:16: error: called object is not a function or function pointer
             ret = (*symev_hooked.PWRITE_CALL)(fd, buf, cnt, pos);
                   ~^~~~~~~~~~~~~~~~~~~~~~~~~~
    /tmp/SymantecEndpointProtection/src/ap-kernelmodule-14.0.3897-1101/symev/symev.c: In function ‘symev_sendfile’:
    /tmp/SymantecEndpointProtection/src/ap-kernelmodule-14.0.3897-1101/symev/symev.c:1812:16: error: called object is not a function or function pointer
             ret = (*symev_hooked.sys_sendfile)(ofd, ifd, off, cnt);
                   ~^~~~~~~~~~~~~~~~~~~~~~~~~~~
    /tmp/SymantecEndpointProtection/src/ap-kernelmodule-14.0.3897-1101/symev/symev.c: In function ‘symev_mprotect’:
    /tmp/SymantecEndpointProtection/src/ap-kernelmodule-14.0.3897-1101/symev/symev.c:1910:16: error: called object is not a function or function pointer
             ret = (*symev_hooked.sys_mprotect)(start, len, prot);
                   ~^~~~~~~~~~~~~~~~~~~~~~~~~~~
    /tmp/SymantecEndpointProtection/src/ap-kernelmodule-14.0.3897-1101/symev/symev.c: In function ‘symev_unlink’:
    /tmp/SymantecEndpointProtection/src/ap-kernelmodule-14.0.3897-1101/symev/symev.c:1961:16: error: called object is not a function or function pointer
             ret = (*symev_hooked.sys_unlink)(fn);
                   ~^~~~~~~~~~~~~~~~~~~~~~~~~
    /tmp/SymantecEndpointProtection/src/ap-kernelmodule-14.0.3897-1101/symev/symev.c: In function ‘symev_rename’:
    /tmp/SymantecEndpointProtection/src/ap-kernelmodule-14.0.3897-1101/symev/symev.c:1975:16: error: called object is not a function or function pointer
             ret = (*symev_hooked.sys_rename)(oldn, newn);
                   ~^~~~~~~~~~~~~~~~~~~~~~~~~
    /tmp/SymantecEndpointProtection/src/ap-kernelmodule-14.0.3897-1101/symev/symev.c: In function ‘symev_link’:
    /tmp/SymantecEndpointProtection/src/ap-kernelmodule-14.0.3897-1101/symev/symev.c:1991:16: error: called object is not a function or function pointer
             ret = (*symev_hooked.sys_link)(oldn, newn);
                   ~^~~~~~~~~~~~~~~~~~~~~~~
    /tmp/SymantecEndpointProtection/src/ap-kernelmodule-14.0.3897-1101/symev/symev.c: In function ‘symev_symlink’:
    /tmp/SymantecEndpointProtection/src/ap-kernelmodule-14.0.3897-1101/symev/symev.c:2008:16: error: called object is not a function or function pointer
             ret = (*symev_hooked.sys_symlink)(oldn, newn);
                   ~^~~~~~~~~~~~~~~~~~~~~~~~~~
    /tmp/SymantecEndpointProtection/src/ap-kernelmodule-14.0.3897-1101/symev/symev.c: In function ‘symev_unlinkat’:
    /tmp/SymantecEndpointProtection/src/ap-kernelmodule-14.0.3897-1101/symev/symev.c:2039:16: error: called object is not a function or function pointer
             ret = (*symev_hooked.sys_unlinkat)(dfd, pathname, flag);
                   ~^~~~~~~~~~~~~~~~~~~~~~~~~~~
    /tmp/SymantecEndpointProtection/src/ap-kernelmodule-14.0.3897-1101/symev/symev.c: In function ‘symev_renameat’:
    /tmp/SymantecEndpointProtection/src/ap-kernelmodule-14.0.3897-1101/symev/symev.c:2053:16: error: called object is not a function or function pointer
             ret = (*symev_hooked.sys_renameat)(olddfd, oldname, newdfd, newname);
                   ~^~~~~~~~~~~~~~~~~~~~~~~~~~~
    /tmp/SymantecEndpointProtection/src/ap-kernelmodule-14.0.3897-1101/symev/symev.c: In function ‘symev_linkat’:
    /tmp/SymantecEndpointProtection/src/ap-kernelmodule-14.0.3897-1101/symev/symev.c:2069:16: error: called object is not a function or function pointer
             ret = (*symev_hooked.sys_linkat)(olddfd, oldname, newdfd, newname, flags);
                   ~^~~~~~~~~~~~~~~~~~~~~~~~~
    /tmp/SymantecEndpointProtection/src/ap-kernelmodule-14.0.3897-1101/symev/symev.c: In function ‘symev_symlinkat’:
    /tmp/SymantecEndpointProtection/src/ap-kernelmodule-14.0.3897-1101/symev/symev.c:2086:16: error: called object is not a function or function pointer
             ret = (*symev_hooked.sys_symlinkat)(oldname, newdfd, newname);
                   ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /tmp/SymantecEndpointProtection/src/ap-kernelmodule-14.0.3897-1101/symev/symev.c: In function ‘symev_evsvtimes’:
    /tmp/SymantecEndpointProtection/src/ap-kernelmodule-14.0.3897-1101/symev/symev.c:3677: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;
                                     ^
    /tmp/SymantecEndpointProtection/src/ap-kernelmodule-14.0.3897-1101/symev/symev.c:3678: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;
                                     ^
    /tmp/SymantecEndpointProtection/src/ap-kernelmodule-14.0.3897-1101/symev/symev.c:3679: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;
                                     ^
    /tmp/SymantecEndpointProtection/src/ap-kernelmodule-14.0.3897-1101/symev/symev.c: In function ‘symev_evrstimes’:
    /tmp/SymantecEndpointProtection/src/ap-kernelmodule-14.0.3897-1101/symev/symev.c:3723: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:304: /tmp/SymantecEndpointProtection/src/ap-kernelmodule-14.0.3897-1101/symev/symev.o] Error 1
    make[1]: *** [Makefile:1521: _module_/tmp/SymantecEndpointProtection/src/ap-kernelmodule-14.0.3897-1101/symev] Error 2
    make[1]: Leaving directory '/usr/src/kernels/4.19.9-300.fc29.x86_64'
    make: *** [Makefile:312: custom] Error 2
    /tmp/SymantecEndpointProtection/src/ap-kernelmodule-14.0.3897-1101

    qua dez 19 12:56:01 -02 2018: Build failed
    [root@0301_note_476 ap-kernelmodule-14.0.3897-1101]# 
    [root@0301_note_476 ap-kernelmodule-14.0.3897-1101]# 
    ***********************************************************************************************************************************************************************************



  • 2.  RE: SEP - Fail compile Auto-Protect kernel modules

    Posted Dec 19, 2018 11:10 AM

    I do not believe, Symantec does not have support for the kernel "4.19.9-300"  :-(

    https://support.symantec.com/en_US/article.INFO3983.html



  • 3.  RE: SEP - Fail compile Auto-Protect kernel modules

    Posted Jan 04, 2019 11:41 AM

    Hi

    Per INFO398 " Note: This list should not be considered complete and exclusive. Unless specified otherwise, kernel versions apply to both 32- and 64-bit kernels. Linux operating systems and kernels that do not appear on this list may successfully install and enable the Auto-Protect kernel module. "

    Based on your information you are using:

    Linux current kernel version 4.19.9-300.fc29.x86_64

    SEP: 14.0.3897-1101 that means 14 RU1 MP1b Per TECH154475 

    Compile issues have been fixed for the most recent builds of SEP for Linux, and so far it's recommended to use

    14.2.0.1 (14.2 MP1) 14.2.1031.0100

    Try with that version and let us know.

    Best Regards

     



  • 4.  RE: SEP - Fail compile Auto-Protect kernel modules

    Posted Feb 08, 2019 05:28 AM

    Exact same issue on current Ubuntu LTS kernel

    4.18.0-14-generic #15~18.04.1-Ubuntu SMP Mon Jan 14 11:09:26 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux.

    Using ap kernel module 14.2.1031-0100.

    Looks like it also has a dependency on libelf-dev, but that is not what breaks it.