Help - Search - Members
Full Version: help! Kavmon module compilation error
Kaspersky Lab Forum > English User Forum > Protection for Small and Medium Businesses
davidtsui
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!
Micha
QUOTE(davidtsui @ May 9 2006, 02:30 PM)
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:
...
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!
*

Hello,

Please browse this for possible answers or hints, how to proceed.

Greetings
davidtsui
still can not find method to solve it. Does it support Fedora core 4 ? any one have same experence? thank you very much!
zug
Hello,
Please copy interceptor.c (in attach) in folder:
/opt/kav/5.5/kav4unix/src/module.linux and replace the old. Then start script:
/opt/kav/5.5/kav4unix/src/build.pl (this script for kavmonitor compile).
The error still exist?

WBR,
Shvetsov Valery.
davidtsui
the problem still exist .......
anap
QUOTE(zug @ 10.05.2006 11:18)
Hello,
Please copy interceptor.c (in attach) in folder:
/opt/kav/5.5/kav4unix/src/module.linux and replace the old. Then start script:
/opt/kav/5.5/kav4unix/src/build.pl (this script for kavmonitor compile).
The error still exist?

WBR,
Shvetsov Valery.
*


I get the same error with the new file. I'm using SUSE 10.1
jeff
QUOTE(anap @ 24.08.2006 07:56)
I get the same error with the new file. I'm using SUSE 10.1
*



Maybe the kernel is not compatible?

try to isntall it to the following Linux/unix OS.

Red Hat Linux 9.0
Red Hat Fedora Core 3
Red Hat Enterprise Linux Advanced Server 3
SuSE Linux Enterprise Server 9.0
SuSE Linux Professional 9.2
Mandrake (Mandriva) Linux version 10.1
Debian GNU/Linux version 3.0 updated (r4)
FreeBSD version 4.10
FreeBSD version 5.3
OpenBSD version 3.6
SergeAD
QUOTE(anap @ 24.08.2006 02:56)
I get the same error with the new file. I'm using SUSE 10.1
*

Issue will be solved in next MP ( Service Pack) - supported OS list will be updated
We are planning to release MP next month
Micha
QUOTE(SergeAD @ 30.08.2006 20:14)
Issue will be solved in next MP ( Service Pack) - supported OS list will be updated
We are planning to release MP next month
*

Hello,

Could you provide me a fix in advance for FreeBSD 5.5 for internal testing please?

Greetings
Maxim_L
QUOTE(Micha @ 14.09.2006 11:27)
Hello,

Could you provide me a fix in advance for FreeBSD 5.5 for internal testing please?

Greetings
*


i think techrelease coming soon - regression tests started yesterday.

Supported OS in MP2 FS and WS:
FreeBSD 4.11, 5.4, 6.1
SUSE 10.1, SLES 9 SP3, SLED 9
RHEL4 U3, RedHat 9, FC5
Mandriva 2006
Debian 3.1r2

SUSE 10.1 64bit, SLES 9 SP3 64bit, SLED9 64 bit
RHEL4 U3 64bit, FC5 64bit
Micha
QUOTE(Maxim_L @ 16.09.2006 17:33)
i think techrelease coming soon - regression tests started yesterday.

Supported OS in MP2 FS and WS:
FreeBSD 4.11, 5.4, 6.1
SUSE 10.1, SLES 9 SP3, SLED 9
RHEL4 U3, RedHat 9, FC5
Mandriva 2006
Debian 3.1r2

SUSE 10.1 64bit, SLES 9 SP3 64bit, SLED9 64 bit
RHEL4 U3 64bit, FC5 64bit
*

Great!
Looking forward to it as well as to kavmilter 5.6.20.2.

Greetings
SergeAD
QUOTE(Micha @ 17.09.2006 07:26)
Great!
Looking forward to it as well as to kavmilter 5.6.20.2.

Greetings
*

Relase is delaying to next week sad.gif
Micha
QUOTE(SergeAD @ 25.09.2006 23:33)
Relase is delaying to next week sad.gif
*

ohmy.gif
boe
Hi,

is there any news about the release?

Boe
Maxim_L
i think today will be techrelease.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.