Video Screencast Help

SEP 12.1.2 on ubuntu 12.04.3

Created: 18 Oct 2013 • Updated: 22 Oct 2013 | 2 comments
rtorvenyi's picture

hello,

 

I tried to install SEP 12.1.2 on ubuntu 12.04.3 with kernel 3.8.0-29-generic. I tried to compile ap-kernelmodule but I got this error. Can u please help me with this ? 

 

rtorvenyi@ubuntuRudo:~/Downloads/ap-kernelmodule-1.0.14-13$ sudo ./build.sh --kernel-dir /usr/src/linux-headers-$(uname -r)
Kernel release is not set, build the kernel modules for the current kernel release(3.8.0-29-generic)
~/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/linux-headers-3.8.0-29-generic M=/home/rtorvenyi/Downloads/ap-kernelmodule-1.0.14-13/symev MODVERDIR=/home/rtorvenyi/Downloads/ap-kernelmodule-1.0.14-13/symev/../symev/.tmp_versions-custom-3.8.0-29-generic-x86_64 modules
make[1]: Entering directory `/usr/src/linux-headers-3.8.0-29-generic'
  CC [M]  /home/rtorvenyi/Downloads/ap-kernelmodule-1.0.14-13/symev/symev.o
/home/rtorvenyi/Downloads/ap-kernelmodule-1.0.14-13/symev/symev.c:227:12: error: conflicting types for ‘sys_execve’
include/linux/syscalls.h:846:17: note: previous declaration of ‘sys_execve’ was here
/home/rtorvenyi/Downloads/ap-kernelmodule-1.0.14-13/symev/symev.c: In function ‘symev_read_proc_symev’:
/home/rtorvenyi/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]
/home/rtorvenyi/Downloads/ap-kernelmodule-1.0.14-13/symev/symev.c: In function ‘symev_fname_event’:
/home/rtorvenyi/Downloads/ap-kernelmodule-1.0.14-13/symev/symev.c:808:19: warning: initialization from incompatible pointer type [enabled by default]
/home/rtorvenyi/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]
include/linux/fs.h:2052:13: note: expected ‘struct filename *’ but argument is of type ‘char *’
/home/rtorvenyi/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]
include/linux/fs.h:2052:13: note: expected ‘struct filename *’ but argument is of type ‘char *’
/home/rtorvenyi/Downloads/ap-kernelmodule-1.0.14-13/symev/symev.c: In function ‘symev_cached_lookup’:
/home/rtorvenyi/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]
/home/rtorvenyi/Downloads/ap-kernelmodule-1.0.14-13/symev/symev.c:2522:9: note: expected ‘unsigned int’ but argument is of type ‘struct nameidata *’
/home/rtorvenyi/Downloads/ap-kernelmodule-1.0.14-13/symev/symev.c: In function ‘symev_lookup_hash_imp’:
/home/rtorvenyi/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]
/home/rtorvenyi/Downloads/ap-kernelmodule-1.0.14-13/symev/symev.c:2568:9: note: expected ‘unsigned int’ but argument is of type ‘struct nameidata *’
/home/rtorvenyi/Downloads/ap-kernelmodule-1.0.14-13/symev/symev.c: In function ‘symev_lookup_create’:
/home/rtorvenyi/Downloads/ap-kernelmodule-1.0.14-13/symev/symev.c:2611:7: error: ‘struct nameidata’ has no member named ‘intent’
make[2]: *** [/home/rtorvenyi/Downloads/ap-kernelmodule-1.0.14-13/symev/symev.o] Error 1
make[1]: *** [_module_/home/rtorvenyi/Downloads/ap-kernelmodule-1.0.14-13/symev] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.8.0-29-generic'
make: *** [custom] Error 2
~/Downloads/ap-kernelmodule-1.0.14-13
 
Build was stopped due to error.
Operating Systems:

Comments 2 CommentsJump to latest comment

.Brian's picture

Did you follow the steps here:

http://www.symantec.com/docs/TECH95496

Please click the "Mark as solution" link at bottom left on the post that best answers your question. This will benefit admins looking for a solution to the same problem.