After installation of savap version 1.0.14-13.i386 on a Fedora 17 machine autoprotect could not be enabled using the command "sav autoprotect -e".
/var/log/messages reported an unsupported kernel.
uname -a: Linux 3.8.11-100.fc17.i686 #1 SMP i686 i686 i386 GNU/Linux
Compiling the kernel module results.
I have followed several guidelines like: http://www.symantec.com/business/support/index?page=content&id=TECH132773
Any ideas?
]# ./build.sh --kernel-dir /usr/src/kernels/3.8.11-100.fc17.i686
Kernel release is not set, build the kernel modules for the current kernel release(3.8.11-100.fc17.i686)
~/Downloads/ap-kernelmodule-1.0.14-13/symev ~/Downloads/ap-kernelmodule-1.0.14-13
rm -f *.o *.ko *.mod.c .*.cmd modules.order Module.symvers* Module.markers Modules.symvers *.ko.unsigned Makefile.xen
rm -rf .tmp_versions* .build-*
~/Downloads/ap-kernelmodule-1.0.14-13
~/Downloads/ap-kernelmodule-1.0.14-13/symap ~/Downloads/ap-kernelmodule-1.0.14-13
rm -f *.o *.ko *.mod.c .*.cmd modules.order Module.symvers* Module.markers Modules.symvers *.ko.unsigned Makefile.xen symap_test
rm -rf ../symev/.tmp_versions* .build-*
~/Downloads/ap-kernelmodule-1.0.14-13
~/Downloads/ap-kernelmodule-1.0.14-13/symev ~/Downloads/ap-kernelmodule-1.0.14-13
make -C /usr/src/kernels/3.8.11-100.fc17.i686 M=/root/Downloads/ap-kernelmodule-1.0.14-13/symev MODVERDIR=/root/Downloads/ap-kernelmodule-1.0.14-13/symev/../symev/.tmp_versions-custom-3.8.11-100.fc17-i686 modules
make[1]: Entering directory `/usr/src/kernels/3.8.11-100.fc17.i686'
CC [M] /root/Downloads/ap-kernelmodule-1.0.14-13/symev/symev.o
/root/Downloads/ap-kernelmodule-1.0.14-13/symev/symev.c:227:12: error: conflicting types for âsys_execveâ
In file included from /root/Downloads/ap-kernelmodule-1.0.14-13/symev/symev.c:47:0:
include/linux/syscalls.h:846:17: note: previous declaration of âsys_execveâ was here
/root/Downloads/ap-kernelmodule-1.0.14-13/symev/symev.c: In function âsymev_read_proc_symevâ:
/root/Downloads/ap-kernelmodule-1.0.14-13/symev/symev.c:431:9: warning: format â%dâ expects argument of type âintâ, but argument 9 has type âlong unsigned intâ [-Wformat]
/root/Downloads/ap-kernelmodule-1.0.14-13/symev/symev.c: At top level:
/root/Downloads/ap-kernelmodule-1.0.14-13/symev/symev.c:560:1: error: conflicting types for âsymev_evgetâ
In file included from /root/Downloads/ap-kernelmodule-1.0.14-13/symev/symev.c:92:0:
/root/Downloads/ap-kernelmodule-1.0.14-13/symev/../include/symevl.h:191:28: note: previous declaration of âsymev_evgetâ was here
/root/Downloads/ap-kernelmodule-1.0.14-13/symev/symev.c:571:1: error: conflicting types for âsymev_evputâ
In file included from /root/Downloads/ap-kernelmodule-1.0.14-13/symev/symev.c:92:0:
/root/Downloads/ap-kernelmodule-1.0.14-13/symev/../include/symevl.h:192:21: note: previous declaration of âsymev_evputâ was here
/root/Downloads/ap-kernelmodule-1.0.14-13/symev/symev.c: In function âsymev_fname_eventâ:
/root/Downloads/ap-kernelmodule-1.0.14-13/symev/symev.c:808:19: warning: initialization from incompatible pointer type [enabled by default]
/root/Downloads/ap-kernelmodule-1.0.14-13/symev/symev.c:828:9: warning: passing argument 1 of âputnameâ from incompatible pointer type [enabled by default]
In file included from include/linux/proc_fs.h:5:0,
from /root/Downloads/ap-kernelmodule-1.0.14-13/symev/symev.c:40:
include/linux/fs.h:2039:13: note: expected âstruct filename *â but argument is of type âchar *â
/root/Downloads/ap-kernelmodule-1.0.14-13/symev/symev.c:839:5: warning: passing argument 1 of âputnameâ from incompatible pointer type [enabled by default]
In file included from include/linux/proc_fs.h:5:0,
from /root/Downloads/ap-kernelmodule-1.0.14-13/symev/symev.c:40:
include/linux/fs.h:2039:13: note: expected âstruct filename *â but argument is of type âchar *â
/root/Downloads/ap-kernelmodule-1.0.14-13/symev/symev.c: At top level:
/root/Downloads/ap-kernelmodule-1.0.14-13/symev/symev.c:1992:1: error: conflicting types for âsymev_sleepâ
In file included from /root/Downloads/ap-kernelmodule-1.0.14-13/symev/symev.c:92:0:
/root/Downloads/ap-kernelmodule-1.0.14-13/symev/../include/symevl.h:197:20: note: previous declaration of âsymev_sleepâ was here
/root/Downloads/ap-kernelmodule-1.0.14-13/symev/symev.c: In function âsymev_initâ:
/root/Downloads/ap-kernelmodule-1.0.14-13/symev/symev.c:2136:9: warning: passing argument 1 of âsym_timer_createâ from incompatible pointer type [enabled by default]
In file included from /root/Downloads/ap-kernelmodule-1.0.14-13/symev/symev.c:94:0:
/root/Downloads/ap-kernelmodule-1.0.14-13/symev/../include/symkutil.h:26:22: note: expected âvoid (__attribute__((regparm(3))) *)(long unsigned int)â but argument is of type âvoid (*)(long unsigned int)â
/root/Downloads/ap-kernelmodule-1.0.14-13/symev/symev.c: In function âsymev_cached_lookupâ:
/root/Downloads/ap-kernelmodule-1.0.14-13/symev/symev.c:2522:9: warning: passing argument 2 of âdentry->d_op->d_revalidateâ makes integer from pointer without a cast [enabled by default]
/root/Downloads/ap-kernelmodule-1.0.14-13/symev/symev.c:2522:9: note: expected âunsigned intâ but argument is of type âstruct nameidata *â
/root/Downloads/ap-kernelmodule-1.0.14-13/symev/symev.c: In function âsymev_lookup_hash_impâ:
/root/Downloads/ap-kernelmodule-1.0.14-13/symev/symev.c:2568:9: warning: passing argument 3 of âinode->i_op->lookupâ makes integer from pointer without a cast [enabled by default]
/root/Downloads/ap-kernelmodule-1.0.14-13/symev/symev.c:2568:9: note: expected âunsigned intâ but argument is of type âstruct nameidata *â
/root/Downloads/ap-kernelmodule-1.0.14-13/symev/symev.c: In function âsymev_lookup_createâ:
/root/Downloads/ap-kernelmodule-1.0.14-13/symev/symev.c:2611:7: error: âstruct nameidataâ has no member named âintentâ
/root/Downloads/ap-kernelmodule-1.0.14-13/symev/symev.c: At top level:
/root/Downloads/ap-kernelmodule-1.0.14-13/symev/symev.c:2911:1: error: conflicting types for âsymev_delete_shortpathâ
In file included from /root/Downloads/ap-kernelmodule-1.0.14-13/symev/symev.c:92:0:
/root/Downloads/ap-kernelmodule-1.0.14-13/symev/../include/symevl.h:177:20: note: previous declaration of âsymev_delete_shortpathâ was here
/root/Downloads/ap-kernelmodule-1.0.14-13/symev/symev.c:2953:1: error: conflicting types for âsymev_evgetfnameâ
In file included from /root/Downloads/ap-kernelmodule-1.0.14-13/symev/symev.c:92:0:
/root/Downloads/ap-kernelmodule-1.0.14-13/symev/../include/symevl.h:176:20: note: previous declaration of âsymev_evgetfnameâ was here
/root/Downloads/ap-kernelmodule-1.0.14-13/symev/symev.c:3055:1: error: conflicting types for âsymev_evsvtimesâ
In file included from /root/Downloads/ap-kernelmodule-1.0.14-13/symev/symev.c:92:0:
/root/Downloads/ap-kernelmodule-1.0.14-13/symev/../include/symevl.h:185:21: note: previous declaration of âsymev_evsvtimesâ was here
/root/Downloads/ap-kernelmodule-1.0.14-13/symev/symev.c:3089:1: error: conflicting types for âsymev_evrstimesâ
In file included from /root/Downloads/ap-kernelmodule-1.0.14-13/symev/symev.c:92:0:
/root/Downloads/ap-kernelmodule-1.0.14-13/symev/../include/symevl.h:186:21: note: previous declaration of âsymev_evrstimesâ was here
/root/Downloads/ap-kernelmodule-1.0.14-13/symev/symev.c:3181:1: error: conflicting types for âsymev_registerâ
In file included from /root/Downloads/ap-kernelmodule-1.0.14-13/symev/symev.c:92:0:
/root/Downloads/ap-kernelmodule-1.0.14-13/symev/../include/symevl.h:150:31: note: previous declaration of âsymev_registerâ was here
/root/Downloads/ap-kernelmodule-1.0.14-13/symev/symev.c:3266:1: error: conflicting types for âsymev_unregisterâ
In file included from /root/Downloads/ap-kernelmodule-1.0.14-13/symev/symev.c:92:0:
/root/Downloads/ap-kernelmodule-1.0.14-13/symev/../include/symevl.h:159:20: note: previous declaration of âsymev_unregisterâ was here
/root/Downloads/ap-kernelmodule-1.0.14-13/symev/symev.c:3352:1: error: conflicting types for âsymev_versionâ
In file included from /root/Downloads/ap-kernelmodule-1.0.14-13/symev/symev.c:92:0:
/root/Downloads/ap-kernelmodule-1.0.14-13/symev/../include/symevl.h:207:21: note: previous declaration of âsymev_versionâ was here
/root/Downloads/ap-kernelmodule-1.0.14-13/symev/symev.c:3368:1: error: conflicting types for âsymev_registerâ
In file included from /root/Downloads/ap-kernelmodule-1.0.14-13/symev/symev.c:92:0:
/root/Downloads/ap-kernelmodule-1.0.14-13/symev/../include/symevl.h:150:31: note: previous declaration of âsymev_registerâ was here
/root/Downloads/ap-kernelmodule-1.0.14-13/symev/symev.c:3369:1: error: conflicting types for âsymev_unregisterâ
In file included from /root/Downloads/ap-kernelmodule-1.0.14-13/symev/symev.c:92:0:
/root/Downloads/ap-kernelmodule-1.0.14-13/symev/../include/symevl.h:159:20: note: previous declaration of âsymev_unregisterâ was here
/root/Downloads/ap-kernelmodule-1.0.14-13/symev/symev.c:3370:1: error: conflicting types for âsymev_evgetfnameâ
In file included from /root/Downloads/ap-kernelmodule-1.0.14-13/symev/symev.c:92:0:
/root/Downloads/ap-kernelmodule-1.0.14-13/symev/../include/symevl.h:176:20: note: previous declaration of âsymev_evgetfnameâ was here
/root/Downloads/ap-kernelmodule-1.0.14-13/symev/symev.c:3371:1: error: conflicting types for âsymev_delete_shortpathâ
In file included from /root/Downloads/ap-kernelmodule-1.0.14-13/symev/symev.c:92:0:
/root/Downloads/ap-kernelmodule-1.0.14-13/symev/../include/symevl.h:177:20: note: previous declaration of âsymev_delete_shortpathâ was here
/root/Downloads/ap-kernelmodule-1.0.14-13/symev/symev.c:3372:1: error: conflicting types for âsymev_evsvtimesâ
In file included from /root/Downloads/ap-kernelmodule-1.0.14-13/symev/symev.c:92:0:
/root/Downloads/ap-kernelmodule-1.0.14-13/symev/../include/symevl.h:185:21: note: previous declaration of âsymev_evsvtimesâ was here
/root/Downloads/ap-kernelmodule-1.0.14-13/symev/symev.c:3373:1: error: conflicting types for âsymev_evrstimesâ
In file included from /root/Downloads/ap-kernelmodule-1.0.14-13/symev/symev.c:92:0:
/root/Downloads/ap-kernelmodule-1.0.14-13/symev/../include/symevl.h:186:21: note: previous declaration of âsymev_evrstimesâ was here
/root/Downloads/ap-kernelmodule-1.0.14-13/symev/symev.c:3374:1: error: conflicting types for âsymev_evgetâ
In file included from /root/Downloads/ap-kernelmodule-1.0.14-13/symev/symev.c:92:0:
/root/Downloads/ap-kernelmodule-1.0.14-13/symev/../include/symevl.h:191:28: note: previous declaration of âsymev_evgetâ was here
/root/Downloads/ap-kernelmodule-1.0.14-13/symev/symev.c:3375:1: error: conflicting types for âsymev_evputâ
In file included from /root/Downloads/ap-kernelmodule-1.0.14-13/symev/symev.c:92:0:
/root/Downloads/ap-kernelmodule-1.0.14-13/symev/../include/symevl.h:192:21: note: previous declaration of âsymev_evputâ was here
/root/Downloads/ap-kernelmodule-1.0.14-13/symev/symev.c:3376:1: error: conflicting types for âsymev_sleepâ
In file included from /root/Downloads/ap-kernelmodule-1.0.14-13/symev/symev.c:92:0:
/root/Downloads/ap-kernelmodule-1.0.14-13/symev/../include/symevl.h:197:20: note: previous declaration of âsymev_sleepâ was here
/root/Downloads/ap-kernelmodule-1.0.14-13/symev/symev.c:3378:1: error: conflicting types for âsymev_versionâ
In file included from /root/Downloads/ap-kernelmodule-1.0.14-13/symev/symev.c:92:0:
/root/Downloads/ap-kernelmodule-1.0.14-13/symev/../include/symevl.h:207:21: note: previous declaration of âsymev_versionâ was here
make[2]: *** [/root/Downloads/ap-kernelmodule-1.0.14-13/symev/symev.o] Error 1
make[1]: *** [_module_/root/Downloads/ap-kernelmodule-1.0.14-13/symev] Error 2
make[1]: Leaving directory `/usr/src/kernels/3.8.11-100.fc17.i686'
make: *** [custom] Error 2
~/Downloads/ap-kernelmodule-1.0.14-13
Build was stopped due to error.
Any ideas?