hi, eveyone:
We buy a kaspersky anti-virus for linux file server version 5.5 . We instlled
it on a Fedora 4 linux computer. As said by manual, we install the rpm file and
after click yes to compile the kavmodule, we get following message:
Would you like to compile the kavmonitor module [Y]: y
Enter the linux kernel source path [/lib/modules/2.6.11-1.1369_FC4/build]:
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
Fedora Core release 4 (Stentz)
checking for linux kernel sources... /lib/modules/2.6.11-1.1369_FC4/build
checking for linux kernel version... 2.6
checking for vmlinux... "not found"
checking for sys_close is exported... "yes"
checking for do_execve is exported... no, do_execve address=0xc018b443
configure: creating ./config.status
config.status: creating Makefile
config.status: creating kavmon.h
config.status: creating osdef.h
config.status: creating module.linux/Makefile
Cleaning module.linux
make[1]: Entering directory `/opt/kav/5.5/kav4unix/src/module.linux'
rm -f **.o *.ko ../bin//kavmon.ko monitor_helpers.c kernel.c queue.c md5.c cache.
c util.c cache.h kavmon.h kernel.h md5.h monitor.h monitor_helpers.h osdef.h
queue.h util.h *.mod.c Makefile.in
make[1]: Leaving directory `/opt/kav/5.5/kav4unix/src/module.linux'
Making link in module.linux
make[1]: Entering directory `/opt/kav/5.5/kav4unix/src/module.linux'
make -C /lib/modules/2.6.11-1.1369_FC4/build SUBDIRS=/opt/kav/5.5/kav4unix/src/modul
e.linux modules
make[2]: Entering directory `/usr/src/kernels/2.6.11-1.1369_FC4-i686'
CC [M] /opt/kav/5.5/kav4unix/src/module.linux/utils.o
CC [M] /opt/kav/5.5/kav4unix/src/module.linux/module.o
CC [M] /opt/kav/5.5/kav4unix/src/module.linux/interface.o
/opt/kav/5.5/kav4unix/src/module.linux/interface.c: In function 'monitor_proc_read':
/opt/kav/5.5/kav4unix/src/module.linux/interface.c:116: warning: ignoring return val
ue of 'copy_to_user', declared with attribute warn_unused_result
CC [M] /opt/kav/5.5/kav4unix/src/module.linux/interface_monitor.o
CC [M] /opt/kav/5.5/kav4unix/src/module.linux/interface_exploit.o
CC [M] /opt/kav/5.5/kav4unix/src/module.linux/interceptor.o
/opt/kav/5.5/kav4unix/src/module.linux/interceptor.c: In function 'monitor_exec_net_
denied':
/opt/kav/5.5/kav4unix/src/module.linux/interceptor.c:274: error: 'struct inode' has
no member named 'i_sock'
make[3]: *** [/opt/kav/5.5/kav4unix/src/module.linux/interceptor.o] Error 1
make[2]: *** [_module_/opt/kav/5.5/kav4unix/src/module.linux] Error 2
make[2]: Leaving directory `/usr/src/kernels/2.6.11-1.1369_FC4-i686'
make[1]: *** [kavmon_build] Error 2
make[1]: Leaving directory `/opt/kav/5.5/kav4unix/src/module.linux'
make: *** [all] Error 1
Kavmon module compilation error
We have try lots of times, but always failure. Does anyone can give us some help or share some tips or experence to solve this problem? Thank you very much!
