To compile and install simply type 'make kstat' and then 'make install'.
To get an up-to-date System.map file, locate the vmlinux file in your
sources and type:

nm vmlinux |grep -v '\(compiled\)\|\(\.o$$\)\|\( [aU] \)\|\(\.\.ng$$\)\|\(LASH[RL]DI\)' | sort > System.map 

then put it in any directory|partition you like and specify its full path
in the Makefile. Please note that some of the security functions of kstat
rely on this file, so you must assure your vmlinux and the subsequent map
file have NOT been tampered with.
