Opened 11 years ago

Closed 11 years ago

Last modified 9 years ago

#341 closed defect (fixed)

Problem with compiling samhain_kmem module

Reported by: rainer Owned by: rainer
Priority: major Milestone: 3.0.13
Component: main Version:
Keywords: Cc:

Description (last modified by rainer)

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

Change History (3)

comment:1 by rainer, 11 years ago

Description: modified (diff)

comment:2 by anonymous, 11 years ago

The detection of an existing but nonfunctional /dev/kmem is unneccesarily complicated and not sufficiently generic. Believed to be fixed by changeset [437].

comment:3 by rainer, 11 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.