You install Symantec Endpoint Protection (SEP) for Linux 14.2 MP1 or lower on an Ubuntu 18.04 system. 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 shows auto-compile failure even in combination with a 14.2 RU1 pre-release build:
Thu Feb 14 10:27:43 GMT 2019: starting to build kernel modules of SEP for Linux Kernel release not specified. Build kernel modules for current kernel version 4.16.0-041600-generic Kernel source directory not specified. Use default /lib/modules/4.16.0-041600-generic/build Ubuntu distribution detected make -C /lib/modules/4.16.0-041600-generic/build M=/home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev MODVERDIR=/home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/.tmp_versions-custom-4.16.0-041600-generic-x86_64 modules make[1]: Entering directory '/usr/src/linux-headers-4.16.0-041600-generic' Makefile:982: "Cannot use CONFIG_STACK_VALIDATION=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel" CC [M] /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/symev.o /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/symev.c: In function ‘set_addr_rw’: /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/symev.c:182:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] pte_t *pte = lookup_address(_addr, &level); ^~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/symev.c: In function ‘set_addr_ro’: /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/symev.c:216:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] pte_t *pte = lookup_address(_addr, &level); ^~~~~ CC [M] /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/syscalls.o /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/syscalls.c: In function ‘get_ia32_from_interrupt_table’: /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/syscalls.c:134:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ia32_sct = (void **)*(unsigned *)(p+3); ^ CC [M] /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/fileops.o CC [M] /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.o In file included from /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/../kernelsource/linux4.15.0/fs/nfsd/xdr.h:9:0, from /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:40: /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/../kernelsource/linux4.15.0/fs/nfsd/nfsfh.h: In function ‘nfsd4_change_attribute’: /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/../kernelsource/linux4.15.0/fs/nfsd/nfsfh.h:262:9: error: invalid operands to binary + (have ‘u64 {aka long long unsigned int}’ and ‘atomic64_t {aka struct}’) chattr += inode->i_version; ^~ ~~~~~~~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c: In function ‘symev_hnfs_hook’: /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:314:21: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] || !(symev_nfsd_v2 = pprog->pg_vers[2])) ^ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:323:16: warning: passing argument 1 of ‘set_addr_rw’ makes integer from pointer without a cast [-Wint-conversion] set_addr_rw(symev_nfsd_v2->vs_proc, 2); ^~~~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:93:12: note: expected ‘long unsigned int’ but argument is of type ‘const struct svc_procedure *’ extern int set_addr_rw(long unsigned int _addr, int ipages); ^~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:327:15: warning: passing argument 1 of ‘set_addr_ro’ makes integer from pointer without a cast [-Wint-conversion] set_addr_ro(symev_nfsd_v2->vs_proc, 2); ^~~~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:94:12: note: expected ‘long unsigned int’ but argument is of type ‘const struct svc_procedure *’ extern int set_addr_ro(long unsigned int _addr, int ipages); ^~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:335:21: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] || !(symev_nfsd_v3 = pprog->pg_vers[3])) ^ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:344:15: warning: passing argument 1 of ‘set_addr_rw’ makes integer from pointer without a cast [-Wint-conversion] set_addr_rw(symev_nfsd_v3->vs_proc, 2); ^~~~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:93:12: note: expected ‘long unsigned int’ but argument is of type ‘const struct svc_procedure *’ extern int set_addr_rw(long unsigned int _addr, int ipages); ^~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:352:15: warning: passing argument 1 of ‘set_addr_ro’ makes integer from pointer without a cast [-Wint-conversion] set_addr_ro(symev_nfsd_v3->vs_proc, 2); ^~~~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:94:12: note: expected ‘long unsigned int’ but argument is of type ‘const struct svc_procedure *’ extern int set_addr_ro(long unsigned int _addr, int ipages); ^~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:362:28: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] || !(symev_nfsd_v4 = pprog->pg_vers[4])) ^ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:371:16: warning: passing argument 1 of ‘set_addr_rw’ makes integer from pointer without a cast [-Wint-conversion] set_addr_rw(symev_nfsd_v4->vs_proc, 2); ^~~~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:93:12: note: expected ‘long unsigned int’ but argument is of type ‘const struct svc_procedure *’ extern int set_addr_rw(long unsigned int _addr, int ipages); ^~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:378:16: warning: passing argument 1 of ‘set_addr_ro’ makes integer from pointer without a cast [-Wint-conversion] set_addr_ro(symev_nfsd_v4->vs_proc, 2); ^~~~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:94:12: note: expected ‘long unsigned int’ but argument is of type ‘const struct svc_procedure *’ extern int set_addr_ro(long unsigned int _addr, int ipages); ^~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c: In function ‘symev_hnfs_unhook’: /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:418:16: warning: passing argument 1 of ‘set_addr_rw’ makes integer from pointer without a cast [-Wint-conversion] set_addr_rw(symev_nfsd_v2->vs_proc, 2); ^~~~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:93:12: note: expected ‘long unsigned int’ but argument is of type ‘const struct svc_procedure *’ extern int set_addr_rw(long unsigned int _addr, int ipages); ^~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:423:16: warning: passing argument 1 of ‘set_addr_ro’ makes integer from pointer without a cast [-Wint-conversion] set_addr_ro(symev_nfsd_v2->vs_proc, 2); ^~~~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:94:12: note: expected ‘long unsigned int’ but argument is of type ‘const struct svc_procedure *’ extern int set_addr_ro(long unsigned int _addr, int ipages); ^~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:430:16: warning: passing argument 1 of ‘set_addr_rw’ makes integer from pointer without a cast [-Wint-conversion] set_addr_rw(symev_nfsd_v3->vs_proc, 2); ^~~~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:93:12: note: expected ‘long unsigned int’ but argument is of type ‘const struct svc_procedure *’ extern int set_addr_rw(long unsigned int _addr, int ipages); ^~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:436:16: warning: passing argument 1 of ‘set_addr_ro’ makes integer from pointer without a cast [-Wint-conversion] set_addr_ro(symev_nfsd_v3->vs_proc, 2); ^~~~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:94:12: note: expected ‘long unsigned int’ but argument is of type ‘const struct svc_procedure *’ extern int set_addr_ro(long unsigned int _addr, int ipages); ^~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:444:16: warning: passing argument 1 of ‘set_addr_rw’ makes integer from pointer without a cast [-Wint-conversion] set_addr_rw(symev_nfsd_v4->vs_proc, 2); ^~~~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:93:12: note: expected ‘long unsigned int’ but argument is of type ‘const struct svc_procedure *’ extern int set_addr_rw(long unsigned int _addr, int ipages); ^~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:450:16: warning: passing argument 1 of ‘set_addr_ro’ makes integer from pointer without a cast [-Wint-conversion] set_addr_ro(symev_nfsd_v4->vs_proc, 2); ^~~~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:94:12: note: expected ‘long unsigned int’ but argument is of type ‘const struct svc_procedure *’ extern int set_addr_ro(long unsigned int _addr, int ipages); ^~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c: In function ‘symev_nfsd2_proc_remove’: /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:692:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] int rc = nfserr_dropit; // in case we have nothing to call ^~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c: In function ‘symev_nfsd2_proc_rename’: /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:870:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] int rc = nfserr_dropit; // in case we have nothing to call ^~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c: In function ‘symev_nfsd2_proc_link’: /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:916:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] int rc = nfserr_dropit; // in case we have nothing to call ^~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c: In function ‘hook_nfs2’: /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:951:15: warning: passing argument 1 of ‘set_addr_rw’ makes integer from pointer without a cast [-Wint-conversion] set_addr_rw(((struct svc_procedure *)(symev_nfsd_v ## v->vs_proc))[index].pc_func,2); \ ^ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:1029:5: note: in expansion of macro ‘HOOK_NFSCB’ HOOK_NFSCB(2, NFSPROC_CREATE, create, symev_nfsd2_proc_create); ^~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:93:12: note: expected ‘long unsigned int’ but argument is of type ‘__be32 (*)(struct svc_rqst *) {aka unsigned int (*)(struct svc_rqst *)}’ extern int set_addr_rw(long unsigned int _addr, int ipages); ^~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:953:15: warning: passing argument 1 of ‘set_addr_ro’ makes integer from pointer without a cast [-Wint-conversion] set_addr_ro(((struct svc_procedure *)(symev_nfsd_v ## v->vs_proc))[index].pc_func,2); \ ^ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:1029:5: note: in expansion of macro ‘HOOK_NFSCB’ HOOK_NFSCB(2, NFSPROC_CREATE, create, symev_nfsd2_proc_create); ^~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:94:12: note: expected ‘long unsigned int’ but argument is of type ‘__be32 (*)(struct svc_rqst *) {aka unsigned int (*)(struct svc_rqst *)}’ extern int set_addr_ro(long unsigned int _addr, int ipages); ^~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:951:15: warning: passing argument 1 of ‘set_addr_rw’ makes integer from pointer without a cast [-Wint-conversion] set_addr_rw(((struct svc_procedure *)(symev_nfsd_v ## v->vs_proc))[index].pc_func,2); \ ^ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:1030:5: note: in expansion of macro ‘HOOK_NFSCB’ HOOK_NFSCB(2, NFSPROC_READ, read, symev_nfsd2_proc_read); ^~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:93:12: note: expected ‘long unsigned int’ but argument is of type ‘__be32 (*)(struct svc_rqst *) {aka unsigned int (*)(struct svc_rqst *)}’ extern int set_addr_rw(long unsigned int _addr, int ipages); ^~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:953:15: warning: passing argument 1 of ‘set_addr_ro’ makes integer from pointer without a cast [-Wint-conversion] set_addr_ro(((struct svc_procedure *)(symev_nfsd_v ## v->vs_proc))[index].pc_func,2); \ ^ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:1030:5: note: in expansion of macro ‘HOOK_NFSCB’ HOOK_NFSCB(2, NFSPROC_READ, read, symev_nfsd2_proc_read); ^~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:94:12: note: expected ‘long unsigned int’ but argument is of type ‘__be32 (*)(struct svc_rqst *) {aka unsigned int (*)(struct svc_rqst *)}’ extern int set_addr_ro(long unsigned int _addr, int ipages); ^~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:951:15: warning: passing argument 1 of ‘set_addr_rw’ makes integer from pointer without a cast [-Wint-conversion] set_addr_rw(((struct svc_procedure *)(symev_nfsd_v ## v->vs_proc))[index].pc_func,2); \ ^ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:1031:5: note: in expansion of macro ‘HOOK_NFSCB’ HOOK_NFSCB(2, NFSPROC_WRITE, write, symev_nfsd2_proc_write); ^~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:93:12: note: expected ‘long unsigned int’ but argument is of type ‘__be32 (*)(struct svc_rqst *) {aka unsigned int (*)(struct svc_rqst *)}’ extern int set_addr_rw(long unsigned int _addr, int ipages); ^~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:953:15: warning: passing argument 1 of ‘set_addr_ro’ makes integer from pointer without a cast [-Wint-conversion] set_addr_ro(((struct svc_procedure *)(symev_nfsd_v ## v->vs_proc))[index].pc_func,2); \ ^ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:1031:5: note: in expansion of macro ‘HOOK_NFSCB’ HOOK_NFSCB(2, NFSPROC_WRITE, write, symev_nfsd2_proc_write); ^~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:94:12: note: expected ‘long unsigned int’ but argument is of type ‘__be32 (*)(struct svc_rqst *) {aka unsigned int (*)(struct svc_rqst *)}’ extern int set_addr_ro(long unsigned int _addr, int ipages); ^~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:951:15: warning: passing argument 1 of ‘set_addr_rw’ makes integer from pointer without a cast [-Wint-conversion] set_addr_rw(((struct svc_procedure *)(symev_nfsd_v ## v->vs_proc))[index].pc_func,2); \ ^ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:1032:5: note: in expansion of macro ‘HOOK_NFSCB’ HOOK_NFSCB(2, NFSPROC_REMOVE, remove, symev_nfsd2_proc_remove); ^~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:93:12: note: expected ‘long unsigned int’ but argument is of type ‘__be32 (*)(struct svc_rqst *) {aka unsigned int (*)(struct svc_rqst *)}’ extern int set_addr_rw(long unsigned int _addr, int ipages); ^~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:953:15: warning: passing argument 1 of ‘set_addr_ro’ makes integer from pointer without a cast [-Wint-conversion] set_addr_ro(((struct svc_procedure *)(symev_nfsd_v ## v->vs_proc))[index].pc_func,2); \ ^ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:1032:5: note: in expansion of macro ‘HOOK_NFSCB’ HOOK_NFSCB(2, NFSPROC_REMOVE, remove, symev_nfsd2_proc_remove); ^~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:94:12: note: expected ‘long unsigned int’ but argument is of type ‘__be32 (*)(struct svc_rqst *) {aka unsigned int (*)(struct svc_rqst *)}’ extern int set_addr_ro(long unsigned int _addr, int ipages); ^~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:951:15: warning: passing argument 1 of ‘set_addr_rw’ makes integer from pointer without a cast [-Wint-conversion] set_addr_rw(((struct svc_procedure *)(symev_nfsd_v ## v->vs_proc))[index].pc_func,2); \ ^ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:1033:5: note: in expansion of macro ‘HOOK_NFSCB’ HOOK_NFSCB(2, NFSPROC_RENAME, rename, symev_nfsd2_proc_rename); ^~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:93:12: note: expected ‘long unsigned int’ but argument is of type ‘__be32 (*)(struct svc_rqst *) {aka unsigned int (*)(struct svc_rqst *)}’ extern int set_addr_rw(long unsigned int _addr, int ipages); ^~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:953:15: warning: passing argument 1 of ‘set_addr_ro’ makes integer from pointer without a cast [-Wint-conversion] set_addr_ro(((struct svc_procedure *)(symev_nfsd_v ## v->vs_proc))[index].pc_func,2); \ ^ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:1033:5: note: in expansion of macro ‘HOOK_NFSCB’ HOOK_NFSCB(2, NFSPROC_RENAME, rename, symev_nfsd2_proc_rename); ^~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:94:12: note: expected ‘long unsigned int’ but argument is of type ‘__be32 (*)(struct svc_rqst *) {aka unsigned int (*)(struct svc_rqst *)}’ extern int set_addr_ro(long unsigned int _addr, int ipages); ^~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:951:15: warning: passing argument 1 of ‘set_addr_rw’ makes integer from pointer without a cast [-Wint-conversion] set_addr_rw(((struct svc_procedure *)(symev_nfsd_v ## v->vs_proc))[index].pc_func,2); \ ^ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:1034:5: note: in expansion of macro ‘HOOK_NFSCB’ HOOK_NFSCB(2, NFSPROC_LINK, link, symev_nfsd2_proc_link); ^~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:93:12: note: expected ‘long unsigned int’ but argument is of type ‘__be32 (*)(struct svc_rqst *) {aka unsigned int (*)(struct svc_rqst *)}’ extern int set_addr_rw(long unsigned int _addr, int ipages); ^~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:953:15: warning: passing argument 1 of ‘set_addr_ro’ makes integer from pointer without a cast [-Wint-conversion] set_addr_ro(((struct svc_procedure *)(symev_nfsd_v ## v->vs_proc))[index].pc_func,2); \ ^ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:1034:5: note: in expansion of macro ‘HOOK_NFSCB’ HOOK_NFSCB(2, NFSPROC_LINK, link, symev_nfsd2_proc_link); ^~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:94:12: note: expected ‘long unsigned int’ but argument is of type ‘__be32 (*)(struct svc_rqst *) {aka unsigned int (*)(struct svc_rqst *)}’ extern int set_addr_ro(long unsigned int _addr, int ipages); ^~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c: In function ‘unhook_nfs2’: /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:963:14: warning: passing argument 1 of ‘set_addr_rw’ makes integer from pointer without a cast [-Wint-conversion] set_addr_rw(((struct svc_procedure *)(symev_nfsd_v ## v->vs_proc))[index].pc_func,2); \ ^ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:1048:5: note: in expansion of macro ‘UNHOOK_NFSCB’ UNHOOK_NFSCB(2, NFSPROC_CREATE, create, symev_nfsd2_proc_create); ^~~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:93:12: note: expected ‘long unsigned int’ but argument is of type ‘__be32 (*)(struct svc_rqst *) {aka unsigned int (*)(struct svc_rqst *)}’ extern int set_addr_rw(long unsigned int _addr, int ipages); ^~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:965:14: warning: passing argument 1 of ‘set_addr_ro’ makes integer from pointer without a cast [-Wint-conversion] set_addr_ro(((struct svc_procedure *)(symev_nfsd_v ## v->vs_proc))[index].pc_func,2); \ ^ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:1048:5: note: in expansion of macro ‘UNHOOK_NFSCB’ UNHOOK_NFSCB(2, NFSPROC_CREATE, create, symev_nfsd2_proc_create); ^~~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:94:12: note: expected ‘long unsigned int’ but argument is of type ‘__be32 (*)(struct svc_rqst *) {aka unsigned int (*)(struct svc_rqst *)}’ extern int set_addr_ro(long unsigned int _addr, int ipages); ^~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:963:14: warning: passing argument 1 of ‘set_addr_rw’ makes integer from pointer without a cast [-Wint-conversion] set_addr_rw(((struct svc_procedure *)(symev_nfsd_v ## v->vs_proc))[index].pc_func,2); \ ^ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:1049:5: note: in expansion of macro ‘UNHOOK_NFSCB’ UNHOOK_NFSCB(2, NFSPROC_READ, read, symev_nfsd2_proc_read); ^~~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:93:12: note: expected ‘long unsigned int’ but argument is of type ‘__be32 (*)(struct svc_rqst *) {aka unsigned int (*)(struct svc_rqst *)}’ extern int set_addr_rw(long unsigned int _addr, int ipages); ^~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:965:14: warning: passing argument 1 of ‘set_addr_ro’ makes integer from pointer without a cast [-Wint-conversion] set_addr_ro(((struct svc_procedure *)(symev_nfsd_v ## v->vs_proc))[index].pc_func,2); \ ^ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:1049:5: note: in expansion of macro ‘UNHOOK_NFSCB’ UNHOOK_NFSCB(2, NFSPROC_READ, read, symev_nfsd2_proc_read); ^~~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:94:12: note: expected ‘long unsigned int’ but argument is of type ‘__be32 (*)(struct svc_rqst *) {aka unsigned int (*)(struct svc_rqst *)}’ extern int set_addr_ro(long unsigned int _addr, int ipages); ^~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:963:14: warning: passing argument 1 of ‘set_addr_rw’ makes integer from pointer without a cast [-Wint-conversion] set_addr_rw(((struct svc_procedure *)(symev_nfsd_v ## v->vs_proc))[index].pc_func,2); \ ^ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:1050:5: note: in expansion of macro ‘UNHOOK_NFSCB’ UNHOOK_NFSCB(2, NFSPROC_WRITE, write, symev_nfsd2_proc_write); ^~~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:93:12: note: expected ‘long unsigned int’ but argument is of type ‘__be32 (*)(struct svc_rqst *) {aka unsigned int (*)(struct svc_rqst *)}’ extern int set_addr_rw(long unsigned int _addr, int ipages); ^~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:965:14: warning: passing argument 1 of ‘set_addr_ro’ makes integer from pointer without a cast [-Wint-conversion] set_addr_ro(((struct svc_procedure *)(symev_nfsd_v ## v->vs_proc))[index].pc_func,2); \ ^ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:1050:5: note: in expansion of macro ‘UNHOOK_NFSCB’ UNHOOK_NFSCB(2, NFSPROC_WRITE, write, symev_nfsd2_proc_write); ^~~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:94:12: note: expected ‘long unsigned int’ but argument is of type ‘__be32 (*)(struct svc_rqst *) {aka unsigned int (*)(struct svc_rqst *)}’ extern int set_addr_ro(long unsigned int _addr, int ipages); ^~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:963:14: warning: passing argument 1 of ‘set_addr_rw’ makes integer from pointer without a cast [-Wint-conversion] set_addr_rw(((struct svc_procedure *)(symev_nfsd_v ## v->vs_proc))[index].pc_func,2); \ ^ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:1051:5: note: in expansion of macro ‘UNHOOK_NFSCB’ UNHOOK_NFSCB(2, NFSPROC_REMOVE, remove, symev_nfsd2_proc_remove); ^~~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:93:12: note: expected ‘long unsigned int’ but argument is of type ‘__be32 (*)(struct svc_rqst *) {aka unsigned int (*)(struct svc_rqst *)}’ extern int set_addr_rw(long unsigned int _addr, int ipages); ^~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:965:14: warning: passing argument 1 of ‘set_addr_ro’ makes integer from pointer without a cast [-Wint-conversion] set_addr_ro(((struct svc_procedure *)(symev_nfsd_v ## v->vs_proc))[index].pc_func,2); \ ^ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:1051:5: note: in expansion of macro ‘UNHOOK_NFSCB’ UNHOOK_NFSCB(2, NFSPROC_REMOVE, remove, symev_nfsd2_proc_remove); ^~~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:94:12: note: expected ‘long unsigned int’ but argument is of type ‘__be32 (*)(struct svc_rqst *) {aka unsigned int (*)(struct svc_rqst *)}’ extern int set_addr_ro(long unsigned int _addr, int ipages); ^~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:963:14: warning: passing argument 1 of ‘set_addr_rw’ makes integer from pointer without a cast [-Wint-conversion] set_addr_rw(((struct svc_procedure *)(symev_nfsd_v ## v->vs_proc))[index].pc_func,2); \ ^ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:1052:5: note: in expansion of macro ‘UNHOOK_NFSCB’ UNHOOK_NFSCB(2, NFSPROC_RENAME, rename, symev_nfsd2_proc_rename); ^~~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:93:12: note: expected ‘long unsigned int’ but argument is of type ‘__be32 (*)(struct svc_rqst *) {aka unsigned int (*)(struct svc_rqst *)}’ extern int set_addr_rw(long unsigned int _addr, int ipages); ^~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:965:14: warning: passing argument 1 of ‘set_addr_ro’ makes integer from pointer without a cast [-Wint-conversion] set_addr_ro(((struct svc_procedure *)(symev_nfsd_v ## v->vs_proc))[index].pc_func,2); \ ^ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:1052:5: note: in expansion of macro ‘UNHOOK_NFSCB’ UNHOOK_NFSCB(2, NFSPROC_RENAME, rename, symev_nfsd2_proc_rename); ^~~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:94:12: note: expected ‘long unsigned int’ but argument is of type ‘__be32 (*)(struct svc_rqst *) {aka unsigned int (*)(struct svc_rqst *)}’ extern int set_addr_ro(long unsigned int _addr, int ipages); ^~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:963:14: warning: passing argument 1 of ‘set_addr_rw’ makes integer from pointer without a cast [-Wint-conversion] set_addr_rw(((struct svc_procedure *)(symev_nfsd_v ## v->vs_proc))[index].pc_func,2); \ ^ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:1053:5: note: in expansion of macro ‘UNHOOK_NFSCB’ UNHOOK_NFSCB(2, NFSPROC_LINK, link, symev_nfsd2_proc_link); ^~~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:93:12: note: expected ‘long unsigned int’ but argument is of type ‘__be32 (*)(struct svc_rqst *) {aka unsigned int (*)(struct svc_rqst *)}’ extern int set_addr_rw(long unsigned int _addr, int ipages); ^~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:965:14: warning: passing argument 1 of ‘set_addr_ro’ makes integer from pointer without a cast [-Wint-conversion] set_addr_ro(((struct svc_procedure *)(symev_nfsd_v ## v->vs_proc))[index].pc_func,2); \ ^ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:1053:5: note: in expansion of macro ‘UNHOOK_NFSCB’ UNHOOK_NFSCB(2, NFSPROC_LINK, link, symev_nfsd2_proc_link); ^~~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:94:12: note: expected ‘long unsigned int’ but argument is of type ‘__be32 (*)(struct svc_rqst *) {aka unsigned int (*)(struct svc_rqst *)}’ extern int set_addr_ro(long unsigned int _addr, int ipages); ^~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c: In function ‘symev_nfsd3_proc_access’: /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:1092:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] int rc = nfserr_dropit; // in case we have nothing to call ^~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c: In function ‘symev_nfsd3_proc_create’: /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:1153:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] int rc = nfserr_dropit; // in case we have nothing to call ^~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c: In function ‘symev_nfsd3_proc_read’: /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:1202:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] int rc = nfserr_dropit; // in case we have nothing to call ^~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c: In function ‘symev_nfsd3_proc_write’: /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:1268:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] int rc = nfserr_dropit; // in case we have nothing to call ^~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c: In function ‘symev_nfsd3_proc_remove’: /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:1325:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] int rc = nfserr_dropit; // in case we have nothing to call ^~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:1348:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] struct nfsd3_diropres* presp; ^~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:1316:25: warning: unused variable ‘rp’ [-Wunused-variable] struct nfsd3_attrstat *rp = qp->rq_resp; ^~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c: In function ‘symev_nfsd3_proc_rename’: /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:1505:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] int rc = nfserr_dropit; // in case we have nothing to call ^~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c: In function ‘symev_nfsd3_proc_link’: /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:1549:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] int rc = nfserr_dropit; // in case we have nothing to call ^~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c: In function ‘symev_nfsd3_proc_commit’: /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:1591:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] int rc = nfserr_dropit; // in case we have nothing to call ^~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c: In function ‘hook_nfs3’: /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:951:15: warning: passing argument 1 of ‘set_addr_rw’ makes integer from pointer without a cast [-Wint-conversion] set_addr_rw(((struct svc_procedure *)(symev_nfsd_v ## v->vs_proc))[index].pc_func,2); \ ^ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:1632:5: note: in expansion of macro ‘HOOK_NFSCB’ HOOK_NFSCB(3, NFS3PROC_CREATE, create, symev_nfsd3_proc_create); ^~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:93:12: note: expected ‘long unsigned int’ but argument is of type ‘__be32 (*)(struct svc_rqst *) {aka unsigned int (*)(struct svc_rqst *)}’ extern int set_addr_rw(long unsigned int _addr, int ipages); ^~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:953:15: warning: passing argument 1 of ‘set_addr_ro’ makes integer from pointer without a cast [-Wint-conversion] set_addr_ro(((struct svc_procedure *)(symev_nfsd_v ## v->vs_proc))[index].pc_func,2); \ ^ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:1632:5: note: in expansion of macro ‘HOOK_NFSCB’ HOOK_NFSCB(3, NFS3PROC_CREATE, create, symev_nfsd3_proc_create); ^~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:94:12: note: expected ‘long unsigned int’ but argument is of type ‘__be32 (*)(struct svc_rqst *) {aka unsigned int (*)(struct svc_rqst *)}’ extern int set_addr_ro(long unsigned int _addr, int ipages); ^~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:951:15: warning: passing argument 1 of ‘set_addr_rw’ makes integer from pointer without a cast [-Wint-conversion] set_addr_rw(((struct svc_procedure *)(symev_nfsd_v ## v->vs_proc))[index].pc_func,2); \ ^ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:1633:5: note: in expansion of macro ‘HOOK_NFSCB’ HOOK_NFSCB(3, NFS3PROC_ACCESS, access, symev_nfsd3_proc_access); ^~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:93:12: note: expected ‘long unsigned int’ but argument is of type ‘__be32 (*)(struct svc_rqst *) {aka unsigned int (*)(struct svc_rqst *)}’ extern int set_addr_rw(long unsigned int _addr, int ipages); ^~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:953:15: warning: passing argument 1 of ‘set_addr_ro’ makes integer from pointer without a cast [-Wint-conversion] set_addr_ro(((struct svc_procedure *)(symev_nfsd_v ## v->vs_proc))[index].pc_func,2); \ ^ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:1633:5: note: in expansion of macro ‘HOOK_NFSCB’ HOOK_NFSCB(3, NFS3PROC_ACCESS, access, symev_nfsd3_proc_access); ^~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:94:12: note: expected ‘long unsigned int’ but argument is of type ‘__be32 (*)(struct svc_rqst *) {aka unsigned int (*)(struct svc_rqst *)}’ extern int set_addr_ro(long unsigned int _addr, int ipages); ^~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:951:15: warning: passing argument 1 of ‘set_addr_rw’ makes integer from pointer without a cast [-Wint-conversion] set_addr_rw(((struct svc_procedure *)(symev_nfsd_v ## v->vs_proc))[index].pc_func,2); \ ^ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:1634:5: note: in expansion of macro ‘HOOK_NFSCB’ HOOK_NFSCB(3, NFS3PROC_READ, read, symev_nfsd3_proc_read); ^~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:93:12: note: expected ‘long unsigned int’ but argument is of type ‘__be32 (*)(struct svc_rqst *) {aka unsigned int (*)(struct svc_rqst *)}’ extern int set_addr_rw(long unsigned int _addr, int ipages); ^~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:953:15: warning: passing argument 1 of ‘set_addr_ro’ makes integer from pointer without a cast [-Wint-conversion] set_addr_ro(((struct svc_procedure *)(symev_nfsd_v ## v->vs_proc))[index].pc_func,2); \ ^ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:1634:5: note: in expansion of macro ‘HOOK_NFSCB’ HOOK_NFSCB(3, NFS3PROC_READ, read, symev_nfsd3_proc_read); ^~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:94:12: note: expected ‘long unsigned int’ but argument is of type ‘__be32 (*)(struct svc_rqst *) {aka unsigned int (*)(struct svc_rqst *)}’ extern int set_addr_ro(long unsigned int _addr, int ipages); ^~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:951:15: warning: passing argument 1 of ‘set_addr_rw’ makes integer from pointer without a cast [-Wint-conversion] set_addr_rw(((struct svc_procedure *)(symev_nfsd_v ## v->vs_proc))[index].pc_func,2); \ ^ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:1635:5: note: in expansion of macro ‘HOOK_NFSCB’ HOOK_NFSCB(3, NFS3PROC_WRITE, write, symev_nfsd3_proc_write); ^~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:93:12: note: expected ‘long unsigned int’ but argument is of type ‘__be32 (*)(struct svc_rqst *) {aka unsigned int (*)(struct svc_rqst *)}’ extern int set_addr_rw(long unsigned int _addr, int ipages); ^~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:953:15: warning: passing argument 1 of ‘set_addr_ro’ makes integer from pointer without a cast [-Wint-conversion] set_addr_ro(((struct svc_procedure *)(symev_nfsd_v ## v->vs_proc))[index].pc_func,2); \ ^ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:1635:5: note: in expansion of macro ‘HOOK_NFSCB’ HOOK_NFSCB(3, NFS3PROC_WRITE, write, symev_nfsd3_proc_write); ^~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:94:12: note: expected ‘long unsigned int’ but argument is of type ‘__be32 (*)(struct svc_rqst *) {aka unsigned int (*)(struct svc_rqst *)}’ extern int set_addr_ro(long unsigned int _addr, int ipages); ^~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:951:15: warning: passing argument 1 of ‘set_addr_rw’ makes integer from pointer without a cast [-Wint-conversion] set_addr_rw(((struct svc_procedure *)(symev_nfsd_v ## v->vs_proc))[index].pc_func,2); \ ^ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:1636:5: note: in expansion of macro ‘HOOK_NFSCB’ HOOK_NFSCB(3, NFS3PROC_REMOVE, remove, symev_nfsd3_proc_remove); ^~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:93:12: note: expected ‘long unsigned int’ but argument is of type ‘__be32 (*)(struct svc_rqst *) {aka unsigned int (*)(struct svc_rqst *)}’ extern int set_addr_rw(long unsigned int _addr, int ipages); ^~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:953:15: warning: passing argument 1 of ‘set_addr_ro’ makes integer from pointer without a cast [-Wint-conversion] set_addr_ro(((struct svc_procedure *)(symev_nfsd_v ## v->vs_proc))[index].pc_func,2); \ ^ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:1636:5: note: in expansion of macro ‘HOOK_NFSCB’ HOOK_NFSCB(3, NFS3PROC_REMOVE, remove, symev_nfsd3_proc_remove); ^~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:94:12: note: expected ‘long unsigned int’ but argument is of type ‘__be32 (*)(struct svc_rqst *) {aka unsigned int (*)(struct svc_rqst *)}’ extern int set_addr_ro(long unsigned int _addr, int ipages); ^~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:951:15: warning: passing argument 1 of ‘set_addr_rw’ makes integer from pointer without a cast [-Wint-conversion] set_addr_rw(((struct svc_procedure *)(symev_nfsd_v ## v->vs_proc))[index].pc_func,2); \ ^ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:1637:5: note: in expansion of macro ‘HOOK_NFSCB’ HOOK_NFSCB(3, NFS3PROC_RENAME, rename, symev_nfsd3_proc_rename); ^~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:93:12: note: expected ‘long unsigned int’ but argument is of type ‘__be32 (*)(struct svc_rqst *) {aka unsigned int (*)(struct svc_rqst *)}’ extern int set_addr_rw(long unsigned int _addr, int ipages); ^~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:953:15: warning: passing argument 1 of ‘set_addr_ro’ makes integer from pointer without a cast [-Wint-conversion] set_addr_ro(((struct svc_procedure *)(symev_nfsd_v ## v->vs_proc))[index].pc_func,2); \ ^ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:1637:5: note: in expansion of macro ‘HOOK_NFSCB’ HOOK_NFSCB(3, NFS3PROC_RENAME, rename, symev_nfsd3_proc_rename); ^~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:94:12: note: expected ‘long unsigned int’ but argument is of type ‘__be32 (*)(struct svc_rqst *) {aka unsigned int (*)(struct svc_rqst *)}’ extern int set_addr_ro(long unsigned int _addr, int ipages); ^~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:951:15: warning: passing argument 1 of ‘set_addr_rw’ makes integer from pointer without a cast [-Wint-conversion] set_addr_rw(((struct svc_procedure *)(symev_nfsd_v ## v->vs_proc))[index].pc_func,2); \ ^ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:1638:5: note: in expansion of macro ‘HOOK_NFSCB’ HOOK_NFSCB(3, NFS3PROC_LINK, link, symev_nfsd3_proc_link); ^~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:93:12: note: expected ‘long unsigned int’ but argument is of type ‘__be32 (*)(struct svc_rqst *) {aka unsigned int (*)(struct svc_rqst *)}’ extern int set_addr_rw(long unsigned int _addr, int ipages); ^~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:953:15: warning: passing argument 1 of ‘set_addr_ro’ makes integer from pointer without a cast [-Wint-conversion] set_addr_ro(((struct svc_procedure *)(symev_nfsd_v ## v->vs_proc))[index].pc_func,2); \ ^ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:1638:5: note: in expansion of macro ‘HOOK_NFSCB’ HOOK_NFSCB(3, NFS3PROC_LINK, link, symev_nfsd3_proc_link); ^~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:94:12: note: expected ‘long unsigned int’ but argument is of type ‘__be32 (*)(struct svc_rqst *) {aka unsigned int (*)(struct svc_rqst *)}’ extern int set_addr_ro(long unsigned int _addr, int ipages); ^~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:951:15: warning: passing argument 1 of ‘set_addr_rw’ makes integer from pointer without a cast [-Wint-conversion] set_addr_rw(((struct svc_procedure *)(symev_nfsd_v ## v->vs_proc))[index].pc_func,2); \ ^ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:1639:5: note: in expansion of macro ‘HOOK_NFSCB’ HOOK_NFSCB(3, NFS3PROC_COMMIT, commit, symev_nfsd3_proc_commit); ^~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:93:12: note: expected ‘long unsigned int’ but argument is of type ‘__be32 (*)(struct svc_rqst *) {aka unsigned int (*)(struct svc_rqst *)}’ extern int set_addr_rw(long unsigned int _addr, int ipages); ^~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:953:15: warning: passing argument 1 of ‘set_addr_ro’ makes integer from pointer without a cast [-Wint-conversion] set_addr_ro(((struct svc_procedure *)(symev_nfsd_v ## v->vs_proc))[index].pc_func,2); \ ^ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:1639:5: note: in expansion of macro ‘HOOK_NFSCB’ HOOK_NFSCB(3, NFS3PROC_COMMIT, commit, symev_nfsd3_proc_commit); ^~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:94:12: note: expected ‘long unsigned int’ but argument is of type ‘__be32 (*)(struct svc_rqst *) {aka unsigned int (*)(struct svc_rqst *)}’ extern int set_addr_ro(long unsigned int _addr, int ipages); ^~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c: In function ‘unhook_nfs3’: /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:963:14: warning: passing argument 1 of ‘set_addr_rw’ makes integer from pointer without a cast [-Wint-conversion] set_addr_rw(((struct svc_procedure *)(symev_nfsd_v ## v->vs_proc))[index].pc_func,2); \ ^ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:1653:5: note: in expansion of macro ‘UNHOOK_NFSCB’ UNHOOK_NFSCB(3, NFS3PROC_CREATE, create, symev_nfsd3_proc_create); ^~~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:93:12: note: expected ‘long unsigned int’ but argument is of type ‘__be32 (*)(struct svc_rqst *) {aka unsigned int (*)(struct svc_rqst *)}’ extern int set_addr_rw(long unsigned int _addr, int ipages); ^~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:965:14: warning: passing argument 1 of ‘set_addr_ro’ makes integer from pointer without a cast [-Wint-conversion] set_addr_ro(((struct svc_procedure *)(symev_nfsd_v ## v->vs_proc))[index].pc_func,2); \ ^ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:1653:5: note: in expansion of macro ‘UNHOOK_NFSCB’ UNHOOK_NFSCB(3, NFS3PROC_CREATE, create, symev_nfsd3_proc_create); ^~~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:94:12: note: expected ‘long unsigned int’ but argument is of type ‘__be32 (*)(struct svc_rqst *) {aka unsigned int (*)(struct svc_rqst *)}’ extern int set_addr_ro(long unsigned int _addr, int ipages); ^~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:963:14: warning: passing argument 1 of ‘set_addr_rw’ makes integer from pointer without a cast [-Wint-conversion] set_addr_rw(((struct svc_procedure *)(symev_nfsd_v ## v->vs_proc))[index].pc_func,2); \ ^ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:1654:5: note: in expansion of macro ‘UNHOOK_NFSCB’ UNHOOK_NFSCB(3, NFS3PROC_ACCESS, access, symev_nfsd3_proc_access); ^~~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:93:12: note: expected ‘long unsigned int’ but argument is of type ‘__be32 (*)(struct svc_rqst *) {aka unsigned int (*)(struct svc_rqst *)}’ extern int set_addr_rw(long unsigned int _addr, int ipages); ^~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:965:14: warning: passing argument 1 of ‘set_addr_ro’ makes integer from pointer without a cast [-Wint-conversion] set_addr_ro(((struct svc_procedure *)(symev_nfsd_v ## v->vs_proc))[index].pc_func,2); \ ^ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:1654:5: note: in expansion of macro ‘UNHOOK_NFSCB’ UNHOOK_NFSCB(3, NFS3PROC_ACCESS, access, symev_nfsd3_proc_access); ^~~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:94:12: note: expected ‘long unsigned int’ but argument is of type ‘__be32 (*)(struct svc_rqst *) {aka unsigned int (*)(struct svc_rqst *)}’ extern int set_addr_ro(long unsigned int _addr, int ipages); ^~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:963:14: warning: passing argument 1 of ‘set_addr_rw’ makes integer from pointer without a cast [-Wint-conversion] set_addr_rw(((struct svc_procedure *)(symev_nfsd_v ## v->vs_proc))[index].pc_func,2); \ ^ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:1655:5: note: in expansion of macro ‘UNHOOK_NFSCB’ UNHOOK_NFSCB(3, NFS3PROC_READ, read, symev_nfsd3_proc_read); ^~~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:93:12: note: expected ‘long unsigned int’ but argument is of type ‘__be32 (*)(struct svc_rqst *) {aka unsigned int (*)(struct svc_rqst *)}’ extern int set_addr_rw(long unsigned int _addr, int ipages); ^~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:965:14: warning: passing argument 1 of ‘set_addr_ro’ makes integer from pointer without a cast [-Wint-conversion] set_addr_ro(((struct svc_procedure *)(symev_nfsd_v ## v->vs_proc))[index].pc_func,2); \ ^ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:1655:5: note: in expansion of macro ‘UNHOOK_NFSCB’ UNHOOK_NFSCB(3, NFS3PROC_READ, read, symev_nfsd3_proc_read); ^~~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:94:12: note: expected ‘long unsigned int’ but argument is of type ‘__be32 (*)(struct svc_rqst *) {aka unsigned int (*)(struct svc_rqst *)}’ extern int set_addr_ro(long unsigned int _addr, int ipages); ^~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:963:14: warning: passing argument 1 of ‘set_addr_rw’ makes integer from pointer without a cast [-Wint-conversion] set_addr_rw(((struct svc_procedure *)(symev_nfsd_v ## v->vs_proc))[index].pc_func,2); \ ^ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:1656:5: note: in expansion of macro ‘UNHOOK_NFSCB’ UNHOOK_NFSCB(3, NFS3PROC_WRITE, write, symev_nfsd3_proc_write); ^~~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:93:12: note: expected ‘long unsigned int’ but argument is of type ‘__be32 (*)(struct svc_rqst *) {aka unsigned int (*)(struct svc_rqst *)}’ extern int set_addr_rw(long unsigned int _addr, int ipages); ^~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:965:14: warning: passing argument 1 of ‘set_addr_ro’ makes integer from pointer without a cast [-Wint-conversion] set_addr_ro(((struct svc_procedure *)(symev_nfsd_v ## v->vs_proc))[index].pc_func,2); \ ^ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:1656:5: note: in expansion of macro ‘UNHOOK_NFSCB’ UNHOOK_NFSCB(3, NFS3PROC_WRITE, write, symev_nfsd3_proc_write); ^~~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:94:12: note: expected ‘long unsigned int’ but argument is of type ‘__be32 (*)(struct svc_rqst *) {aka unsigned int (*)(struct svc_rqst *)}’ extern int set_addr_ro(long unsigned int _addr, int ipages); ^~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:963:14: warning: passing argument 1 of ‘set_addr_rw’ makes integer from pointer without a cast [-Wint-conversion] set_addr_rw(((struct svc_procedure *)(symev_nfsd_v ## v->vs_proc))[index].pc_func,2); \ ^ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:1657:5: note: in expansion of macro ‘UNHOOK_NFSCB’ UNHOOK_NFSCB(3, NFS3PROC_REMOVE, remove, symev_nfsd3_proc_remove); ^~~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:93:12: note: expected ‘long unsigned int’ but argument is of type ‘__be32 (*)(struct svc_rqst *) {aka unsigned int (*)(struct svc_rqst *)}’ extern int set_addr_rw(long unsigned int _addr, int ipages); ^~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:965:14: warning: passing argument 1 of ‘set_addr_ro’ makes integer from pointer without a cast [-Wint-conversion] set_addr_ro(((struct svc_procedure *)(symev_nfsd_v ## v->vs_proc))[index].pc_func,2); \ ^ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:1657:5: note: in expansion of macro ‘UNHOOK_NFSCB’ UNHOOK_NFSCB(3, NFS3PROC_REMOVE, remove, symev_nfsd3_proc_remove); ^~~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:94:12: note: expected ‘long unsigned int’ but argument is of type ‘__be32 (*)(struct svc_rqst *) {aka unsigned int (*)(struct svc_rqst *)}’ extern int set_addr_ro(long unsigned int _addr, int ipages); ^~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:963:14: warning: passing argument 1 of ‘set_addr_rw’ makes integer from pointer without a cast [-Wint-conversion] set_addr_rw(((struct svc_procedure *)(symev_nfsd_v ## v->vs_proc))[index].pc_func,2); \ ^ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:1658:5: note: in expansion of macro ‘UNHOOK_NFSCB’ UNHOOK_NFSCB(3, NFS3PROC_RENAME, rename, symev_nfsd3_proc_rename); ^~~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:93:12: note: expected ‘long unsigned int’ but argument is of type ‘__be32 (*)(struct svc_rqst *) {aka unsigned int (*)(struct svc_rqst *)}’ extern int set_addr_rw(long unsigned int _addr, int ipages); ^~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:965:14: warning: passing argument 1 of ‘set_addr_ro’ makes integer from pointer without a cast [-Wint-conversion] set_addr_ro(((struct svc_procedure *)(symev_nfsd_v ## v->vs_proc))[index].pc_func,2); \ ^ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:1658:5: note: in expansion of macro ‘UNHOOK_NFSCB’ UNHOOK_NFSCB(3, NFS3PROC_RENAME, rename, symev_nfsd3_proc_rename); ^~~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:94:12: note: expected ‘long unsigned int’ but argument is of type ‘__be32 (*)(struct svc_rqst *) {aka unsigned int (*)(struct svc_rqst *)}’ extern int set_addr_ro(long unsigned int _addr, int ipages); ^~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:963:14: warning: passing argument 1 of ‘set_addr_rw’ makes integer from pointer without a cast [-Wint-conversion] set_addr_rw(((struct svc_procedure *)(symev_nfsd_v ## v->vs_proc))[index].pc_func,2); \ ^ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:1659:5: note: in expansion of macro ‘UNHOOK_NFSCB’ UNHOOK_NFSCB(3, NFS3PROC_LINK, link, symev_nfsd3_proc_link); ^~~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:93:12: note: expected ‘long unsigned int’ but argument is of type ‘__be32 (*)(struct svc_rqst *) {aka unsigned int (*)(struct svc_rqst *)}’ extern int set_addr_rw(long unsigned int _addr, int ipages); ^~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:965:14: warning: passing argument 1 of ‘set_addr_ro’ makes integer from pointer without a cast [-Wint-conversion] set_addr_ro(((struct svc_procedure *)(symev_nfsd_v ## v->vs_proc))[index].pc_func,2); \ ^ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:1659:5: note: in expansion of macro ‘UNHOOK_NFSCB’ UNHOOK_NFSCB(3, NFS3PROC_LINK, link, symev_nfsd3_proc_link); ^~~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:94:12: note: expected ‘long unsigned int’ but argument is of type ‘__be32 (*)(struct svc_rqst *) {aka unsigned int (*)(struct svc_rqst *)}’ extern int set_addr_ro(long unsigned int _addr, int ipages); ^~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:963:14: warning: passing argument 1 of ‘set_addr_rw’ makes integer from pointer without a cast [-Wint-conversion] set_addr_rw(((struct svc_procedure *)(symev_nfsd_v ## v->vs_proc))[index].pc_func,2); \ ^ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:1660:5: note: in expansion of macro ‘UNHOOK_NFSCB’ UNHOOK_NFSCB(3, NFS3PROC_COMMIT, commit, symev_nfsd3_proc_commit); ^~~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:93:12: note: expected ‘long unsigned int’ but argument is of type ‘__be32 (*)(struct svc_rqst *) {aka unsigned int (*)(struct svc_rqst *)}’ extern int set_addr_rw(long unsigned int _addr, int ipages); ^~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:965:14: warning: passing argument 1 of ‘set_addr_ro’ makes integer from pointer without a cast [-Wint-conversion] set_addr_ro(((struct svc_procedure *)(symev_nfsd_v ## v->vs_proc))[index].pc_func,2); \ ^ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:1660:5: note: in expansion of macro ‘UNHOOK_NFSCB’ UNHOOK_NFSCB(3, NFS3PROC_COMMIT, commit, symev_nfsd3_proc_commit); ^~~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:94:12: note: expected ‘long unsigned int’ but argument is of type ‘__be32 (*)(struct svc_rqst *) {aka unsigned int (*)(struct svc_rqst *)}’ extern int set_addr_ro(long unsigned int _addr, int ipages); ^~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c: In function ‘symev_nfsd4_proc_compound’: /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:1711:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] struct nfsd4_op *op = NULL; ^~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c: In function ‘hook_nfs4’: /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:951:15: warning: passing argument 1 of ‘set_addr_rw’ makes integer from pointer without a cast [-Wint-conversion] set_addr_rw(((struct svc_procedure *)(symev_nfsd_v ## v->vs_proc))[index].pc_func,2); \ ^ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:2027:5: note: in expansion of macro ‘HOOK_NFSCB’ HOOK_NFSCB(4, NFSPROC4_COMPOUND, compound, symev_nfsd4_proc_compound); ^~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:93:12: note: expected ‘long unsigned int’ but argument is of type ‘__be32 (*)(struct svc_rqst *) {aka unsigned int (*)(struct svc_rqst *)}’ extern int set_addr_rw(long unsigned int _addr, int ipages); ^~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:953:15: warning: passing argument 1 of ‘set_addr_ro’ makes integer from pointer without a cast [-Wint-conversion] set_addr_ro(((struct svc_procedure *)(symev_nfsd_v ## v->vs_proc))[index].pc_func,2); \ ^ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:2027:5: note: in expansion of macro ‘HOOK_NFSCB’ HOOK_NFSCB(4, NFSPROC4_COMPOUND, compound, symev_nfsd4_proc_compound); ^~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:94:12: note: expected ‘long unsigned int’ but argument is of type ‘__be32 (*)(struct svc_rqst *) {aka unsigned int (*)(struct svc_rqst *)}’ extern int set_addr_ro(long unsigned int _addr, int ipages); ^~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c: In function ‘unhook_nfs4’: /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:963:14: warning: passing argument 1 of ‘set_addr_rw’ makes integer from pointer without a cast [-Wint-conversion] set_addr_rw(((struct svc_procedure *)(symev_nfsd_v ## v->vs_proc))[index].pc_func,2); \ ^ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:2041:5: note: in expansion of macro ‘UNHOOK_NFSCB’ UNHOOK_NFSCB(4, NFSPROC4_COMPOUND, compound, symev_nfsd4_proc_compound); ^~~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:93:12: note: expected ‘long unsigned int’ but argument is of type ‘__be32 (*)(struct svc_rqst *) {aka unsigned int (*)(struct svc_rqst *)}’ extern int set_addr_rw(long unsigned int _addr, int ipages); ^~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:965:14: warning: passing argument 1 of ‘set_addr_ro’ makes integer from pointer without a cast [-Wint-conversion] set_addr_ro(((struct svc_procedure *)(symev_nfsd_v ## v->vs_proc))[index].pc_func,2); \ ^ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:2041:5: note: in expansion of macro ‘UNHOOK_NFSCB’ UNHOOK_NFSCB(4, NFSPROC4_COMPOUND, compound, symev_nfsd4_proc_compound); ^~~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.c:94:12: note: expected ‘long unsigned int’ but argument is of type ‘__be32 (*)(struct svc_rqst *) {aka unsigned int (*)(struct svc_rqst *)}’ extern int set_addr_ro(long unsigned int _addr, int ipages); ^~~~~~~~~~~ scripts/Makefile.build:324: recipe for target '/home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.o' failed make[2]: *** [/home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/hnfs.o] Error 1 Makefile:1567: recipe for target '_module_/home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev' failed make[1]: *** [_module_/home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-4.16.0-041600-generic' Makefile:312: recipe for target 'custom' failed make: *** [custom] Error 2 Thu Feb 14 10:27:48 GMT 2019: Build failed Thu Feb 14 13:43:21 GMT 2019: starting to build kernel modules of SEP for Linux Kernel release not specified. Build kernel modules for current kernel version 4.18.0-041800-generic Kernel source directory not specified. Use default /lib/modules/4.18.0-041800-generic/build Ubuntu distribution detected make -C /lib/modules/4.18.0-041800-generic/build M=/home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev MODVERDIR=/home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/.tmp_versions-custom-4.18.0-041800-generic-x86_64 modules make[1]: Entering directory '/usr/src/linux-headers-4.18.0-041800-generic' Makefile:938: "Cannot use CONFIG_STACK_VALIDATION=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel" CC [M] /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/symev.o /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/symev.c: In function ‘set_addr_rw’: /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/symev.c:182:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] pte_t *pte = lookup_address(_addr, &level); ^~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/symev.c: In function ‘set_addr_ro’: /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/symev.c:216:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] pte_t *pte = lookup_address(_addr, &level); ^~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/symev.c: At top level: /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/symev.c:572:16: error: ‘sys_open’ undeclared here (not in a function); did you mean ‘ksys_open’? SC_DECLARE(sys_open); ^ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/symev.c:551:36: note: in definition of macro ‘SC_DECLARE’ #define SC_DECLARE(SC) typeof(SC) *SC ^~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/symev.c:573:16: error: ‘sys_creat’ undeclared here (not in a function); did you mean ‘ksys_read’? SC_DECLARE(sys_creat); ^ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/symev.c:551:36: note: in definition of macro ‘SC_DECLARE’ #define SC_DECLARE(SC) typeof(SC) *SC ^~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/symev.c:575:16: error: ‘sys_openat’ undeclared here (not in a function); did you mean ‘sys_open’? SC_DECLARE(sys_openat); ^ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/symev.c:551:36: note: in definition of macro ‘SC_DECLARE’ #define SC_DECLARE(SC) typeof(SC) *SC ^~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/symev.c:585:16: error: ‘sys_truncate’ undeclared here (not in a function); did you mean ‘ksys_truncate’? SC_DECLARE(sys_truncate); ^ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/symev.c:551:36: note: in definition of macro ‘SC_DECLARE’ #define SC_DECLARE(SC) typeof(SC) *SC ^~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/symev.c:586:16: error: ‘sys_ftruncate’ undeclared here (not in a function); did you mean ‘sys_truncate’? SC_DECLARE(sys_ftruncate); ^ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/symev.c:551:36: note: in definition of macro ‘SC_DECLARE’ #define SC_DECLARE(SC) typeof(SC) *SC ^~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/symev.c:587:16: error: ‘sys_write’ undeclared here (not in a function); did you mean ‘ksys_write’? SC_DECLARE(sys_write); ^ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/symev.c:551:36: note: in definition of macro ‘SC_DECLARE’ #define SC_DECLARE(SC) typeof(SC) *SC ^~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/symev.c:588:16: error: ‘sys_writev’ undeclared here (not in a function); did you mean ‘sys_write’? SC_DECLARE(sys_writev); ^ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/symev.c:551:36: note: in definition of macro ‘SC_DECLARE’ #define SC_DECLARE(SC) typeof(SC) *SC ^~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/symev.c:590:16: error: ‘sys_pwrite64’ undeclared here (not in a function); did you mean ‘ksys_pwrite64’? SC_DECLARE(sys_pwrite64); ^ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/symev.c:551:36: note: in definition of macro ‘SC_DECLARE’ #define SC_DECLARE(SC) typeof(SC) *SC ^~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/symev.c:595:16: error: ‘sys_io_submit’ undeclared here (not in a function); did you mean ‘__NR_io_submit’? SC_DECLARE(sys_io_submit); ^ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/symev.c:551:36: note: in definition of macro ‘SC_DECLARE’ #define SC_DECLARE(SC) typeof(SC) *SC ^~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/symev.c:597:16: error: ‘sys_sendfile’ undeclared here (not in a function); did you mean ‘__NR_sendfile’? SC_DECLARE(sys_sendfile); ^ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/symev.c:551:36: note: in definition of macro ‘SC_DECLARE’ #define SC_DECLARE(SC) typeof(SC) *SC ^~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/symev.c:598:16: error: ‘sys_sendfile64’ undeclared here (not in a function); did you mean ‘sys_sendfile’? SC_DECLARE(sys_sendfile64); ^ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/symev.c:551:36: note: in definition of macro ‘SC_DECLARE’ #define SC_DECLARE(SC) typeof(SC) *SC ^~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/symev.c:609:16: error: ‘sys_mprotect’ undeclared here (not in a function); did you mean ‘__NR_mprotect’? SC_DECLARE(sys_mprotect); ^ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/symev.c:551:36: note: in definition of macro ‘SC_DECLARE’ #define SC_DECLARE(SC) typeof(SC) *SC ^~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/symev.c:610:16: error: ‘sys_unlink’ undeclared here (not in a function); did you mean ‘ksys_unlink’? SC_DECLARE(sys_unlink); ^ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/symev.c:551:36: note: in definition of macro ‘SC_DECLARE’ #define SC_DECLARE(SC) typeof(SC) *SC ^~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/symev.c:611:16: error: ‘sys_rename’ undeclared here (not in a function); did you mean ‘vfs_rename’? SC_DECLARE(sys_rename); ^ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/symev.c:551:36: note: in definition of macro ‘SC_DECLARE’ #define SC_DECLARE(SC) typeof(SC) *SC ^~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/symev.c:612:16: error: ‘sys_link’ undeclared here (not in a function); did you mean ‘ksys_link’? SC_DECLARE(sys_link); ^ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/symev.c:551:36: note: in definition of macro ‘SC_DECLARE’ #define SC_DECLARE(SC) typeof(SC) *SC ^~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/symev.c:613:16: error: ‘sys_symlink’ undeclared here (not in a function); did you mean ‘ksys_symlink’? SC_DECLARE(sys_symlink); ^ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/symev.c:551:36: note: in definition of macro ‘SC_DECLARE’ #define SC_DECLARE(SC) typeof(SC) *SC ^~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/symev.c:616:16: error: ‘sys_unlinkat’ undeclared here (not in a function); did you mean ‘sys_unlink’? SC_DECLARE(sys_unlinkat); ^ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/symev.c:551:36: note: in definition of macro ‘SC_DECLARE’ #define SC_DECLARE(SC) typeof(SC) *SC ^~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/symev.c:617:16: error: ‘sys_renameat’ undeclared here (not in a function); did you mean ‘sys_rename’? SC_DECLARE(sys_renameat); ^ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/symev.c:551:36: note: in definition of macro ‘SC_DECLARE’ #define SC_DECLARE(SC) typeof(SC) *SC ^~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/symev.c:618:16: error: ‘sys_linkat’ undeclared here (not in a function); did you mean ‘sys_unlinkat’? SC_DECLARE(sys_linkat); ^ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/symev.c:551:36: note: in definition of macro ‘SC_DECLARE’ #define SC_DECLARE(SC) typeof(SC) *SC ^~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/symev.c:619:16: error: ‘sys_symlinkat’ undeclared here (not in a function); did you mean ‘sys_symlink’? SC_DECLARE(sys_symlinkat); ^ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/symev.c:551:36: note: in definition of macro ‘SC_DECLARE’ #define SC_DECLARE(SC) typeof(SC) *SC ^~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/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); ^ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/symev.c:551:36: note: in definition of macro ‘SC_DECLARE’ #define SC_DECLARE(SC) typeof(SC) *SC ^~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/symev.c:639:16: error: ‘compat_sys_openat’ undeclared here (not in a function); did you mean ‘compat_sys_open’? SC_DECLARE(compat_sys_openat); ^ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/symev.c:551:36: note: in definition of macro ‘SC_DECLARE’ #define SC_DECLARE(SC) typeof(SC) *SC ^~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/symev.c: In function ‘symev_open’: /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/symev.c:1333:16: error: called object is not a function or function pointer ret = (*symev_hooked.sys_open)(fn, flags, mode); ~^~~~~~~~~~~~~~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/symev.c: In function ‘symev_openat’: /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/symev.c:1373:16: error: called object is not a function or function pointer ret = (*symev_hooked.sys_openat)(dfd, fn, flags, mode); ~^~~~~~~~~~~~~~~~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/symev.c: In function ‘symev_compat_open’: /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/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); ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/symev.c: In function ‘symev_compat_openat’: /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/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); ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/symev.c: In function ‘symev_creat’: /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/symev.c:1500:16: error: called object is not a function or function pointer ret = (*symev_hooked.sys_creat)(fn, mode); ~^~~~~~~~~~~~~~~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/symev.c: In function ‘symev_truncate’: /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/symev.c:1804:16: error: called object is not a function or function pointer ret = (*symev_hooked.sys_truncate)(fn, len); ~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/symev.c: In function ‘symev_ftruncate’: /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/symev.c:1825:16: error: called object is not a function or function pointer ret = (*symev_hooked.sys_ftruncate)(fd, len); ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/symev.c: In function ‘symev_write’: /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/symev.c:1846:16: error: called object is not a function or function pointer ret = (*symev_hooked.sys_write)(fd, buf, cnt); ~^~~~~~~~~~~~~~~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/symev.c: In function ‘symev_io_submit’: /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/symev.c:1869:16: error: called object is not a function or function pointer ret = (*symev_hooked.sys_io_submit)(ctx, nr, iocbs); ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/symev.c: In function ‘symev_writev’: /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/symev.c:1926:16: error: called object is not a function or function pointer ret = (*symev_hooked.sys_writev)(fd, vec, count); ~^~~~~~~~~~~~~~~~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/symev.c: In function ‘symev_pwrite’: /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/symev.c:1949:16: error: called object is not a function or function pointer ret = (*symev_hooked.PWRITE_CALL)(fd, buf, cnt, pos); ~^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/symev.c: In function ‘symev_sendfile’: /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/symev.c:1990:16: error: called object is not a function or function pointer ret = (*symev_hooked.sys_sendfile)(ofd, ifd, off, cnt); ~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/symev.c: In function ‘symev_mprotect’: /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/symev.c:2088:16: error: called object is not a function or function pointer ret = (*symev_hooked.sys_mprotect)(start, len, prot); ~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/symev.c: In function ‘symev_unlink’: /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/symev.c:2139:16: error: called object is not a function or function pointer ret = (*symev_hooked.sys_unlink)(fn); ~^~~~~~~~~~~~~~~~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/symev.c: In function ‘symev_rename’: /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/symev.c:2153:16: error: called object is not a function or function pointer ret = (*symev_hooked.sys_rename)(oldn, newn); ~^~~~~~~~~~~~~~~~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/symev.c: In function ‘symev_link’: /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/symev.c:2169:16: error: called object is not a function or function pointer ret = (*symev_hooked.sys_link)(oldn, newn); ~^~~~~~~~~~~~~~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/symev.c: In function ‘symev_symlink’: /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/symev.c:2186:16: error: called object is not a function or function pointer ret = (*symev_hooked.sys_symlink)(oldn, newn); ~^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/symev.c: In function ‘symev_unlinkat’: /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/symev.c:2217:16: error: called object is not a function or function pointer ret = (*symev_hooked.sys_unlinkat)(dfd, pathname, flag); ~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/symev.c: In function ‘symev_renameat’: /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/symev.c:2231:16: error: called object is not a function or function pointer ret = (*symev_hooked.sys_renameat)(olddfd, oldname, newdfd, newname); ~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/symev.c: In function ‘symev_linkat’: /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/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); ~^~~~~~~~~~~~~~~~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/symev.c: In function ‘symev_symlinkat’: /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/symev.c:2264:16: error: called object is not a function or function pointer ret = (*symev_hooked.sys_symlinkat)(oldname, newdfd, newname); ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/symev.c: In function ‘symev_evsvtimes’: /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/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; ^ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/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; ^ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/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; ^ /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/symev.c: In function ‘symev_evrstimes’: /home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/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; ^ scripts/Makefile.build:317: recipe for target '/home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/symev.o' failed make[2]: *** [/home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev/symev.o] Error 1 Makefile:1500: recipe for target '_module_/home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev' failed make[1]: *** [_module_/home/marc/Downloads/14.2.2825.1000/src/ap-kernelmodule-14.2.2825-1000/symev] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-4.18.0-041800-generic' Makefile:312: recipe for target 'custom' failed make: *** [custom] Error 2 Thu Feb 14 13:43:25 GMT 2019: Build failed
As frequently happens with new Linux kernel releases, there have been structural changes that will require corresponding code changes to our kernel modules.
This issue has been resolved in SEP for Linux 14.2 RU1. Please subscribe to Download the latest version of Endpoint Protection to be notified when it will be available for download.
Versions of Ubuntu 18.04 running kernel versions higher than 4.15 will not be supported in 14.2 RU1. You can check your kernel version by executing "uname -r" in a terminal window. Support for kernel versions > 4.15 will be available in a future release of SEP for Linux.