Fedora 10 Module compile errors
Hi. I am having issues trying to get on access scanning working on fedora 10.
I've downloaded the kernel source and went through the steps to create kernel modules for 2.6 kernel but fail on the last step. When I try to do make -C <kernel source dir> SUBDIRS=`pwd` modules it returns this error.
make -C /root/rpmbuild/BUILD/kernel-2.6.27/linux-2.6.27.i386/ SUBDIRS=`pwd` modules
make: Entering directory `/root/rpmbuild/BUILD/kernel-2.6.27/linux-2.6.27.i386'
CC [M] /home/name/LinuxShield-1.5.1-267-eval.i386/Kernel/ls.o
In file included from /home/name/LinuxShield-1.5.1-267-eval.i386/Kernel/nails/kernel-api.h:11,
from /home/name/LinuxShield-1.5.1-267-eval.i386/Kernel/scan.h:14,
from /home/name/LinuxShield-1.5.1-267-eval.i386/Kernel/ls.c:22:
/home/name/LinuxShield-1.5.1-267-eval.i386/Kernel/nails/types.h:33: error: redefinition of typedef ‘uintptr_t’
include/linux/types.h:40: error: previous declaration of ‘uintptr_t’ was here
make[1]: *** [/home/name/LinuxShield-1.5.1-267-eval.i386/Kernel/ls.o] Error 1
make: *** [_module_/home/name/LinuxShield-1.5.1-267-eval.i386/Kernel] Error 2
make: Leaving directory `/root/rpmbuild/BUILD/kernel-2.6.27/linux-2.6.27.i386'
I would appreciate any help on this issue.
|