Try to use these commands :
CODE
apt-get update
apt-get install make gcc
apt-get -y install linux-headers-`uname -r`
cd /usr/src && sudo rm -f linux && sudo ln -s linux-headers-`uname -r` linux
/opt/kaspersky/kav4ws/src/kavmon.pl --build=usr/src/linux
It has helped to compile kavmonitor on Ubuntu, I don't know if it's the solution for you as I'm a total newbie with Linux.