Problem with compiling samhain_kmem module
On OpenSuse 12.2, reported by anonymous user:
make samhain_kmem.ko
make[1]: Entering directory `/root/samhain-3.0.12/m_comp'
make -C /lib/modules/3.4.6-2.10-desktop/build modules SUBDIRS=/root/samhain-3.0.12/m_comp KBUILD_VERBOSE=2
make[2]: Entering directory `/usr/src/linux-3.4.6-2.10-obj/x86_64/desktop'
CC [M] /root/samhain-3.0.12/m_comp/samhain_kmem.o - due to target missing
/root/samhain-3.0.12/m_comp/samhain_kmem.c:323:53: error: SH_VMLIST_LOCK undeclared here (not in a function)
/root/samhain-3.0.12/m_comp/samhain_kmem.c:325:62: error: SH_VMLIST undeclared here (not in a function)
make[5]: *** [/root/samhain-3.0.12/m_comp/samhain_kmem.o] Error 1
make[4]: *** [_module_/root/samhain-3.0.12/m_comp] Error 2
make[3]: *** [sub-make] Error 2
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/linux-3.4.6-2.10-obj/x86_64/desktop'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/root/samhain-3.0.12/m_comp'
make: *** [samhain_kmem.ko] Error 2
The detection of an existing but nonfunctional
/dev/kmem
is unneccesarily complicated and not sufficiently generic. Believed to be fixed by changeset [437].