[grsec] error MAP_MIRROR undeclared
Michael Lang
michi+grsecurity at jackal-net.at
Wed Oct 5 10:21:39 EDT 2005
Hi to all,
maybe im posting to the wrong list, but i'm not a kernel developer so i
dont know if this one belongs to grsec or the kernel
Ive tryed to apply the latest grsec-patch to a Xen Kernel 2.6.11-12.
after doing a build i get following Error message ...
make[3]: Leaving directory
`/usr/src/whitebox/BUILD/xen-2.0/linux-2.6.11-xenU-grsec'
make -C linux-2.6.11-xenU-grsec ARCH=xen
INSTALL_PATH=/usr/src/whitebox/BUILD/xen-2.0/dist/install install
make[3]: Entering directory
`/usr/src/whitebox/BUILD/xen-2.0/linux-2.6.11-xenU-grsec'
CHK include/linux/version.h
make[4]: `arch/i386/kernel/asm-offsets.s' is up to date.
CHK include/asm-xen/asm_offsets.h
CHK include/asm-i386/asm_offsets.h
CHK include/linux/compile.h
CHK usr/initramfs_list
CC arch/xen/kernel/devmem.o
In file included from arch/xen/kernel/devmem.c:16:
include/linux/mman.h: In function `calc_vm_flag_bits':
include/linux/mman.h:63: error: `MAP_MIRROR' undeclared (first use in
this function)
include/linux/mman.h:63: error: (Each undeclared identifier is reported
only once
include/linux/mman.h:63: error: for each function it appears in.)
include/linux/mman.h:71: error: syntax error before '}' token
make[4]: *** [arch/xen/kernel/devmem.o] Error 1
make[3]: *** [arch/xen/kernel] Error 2
make[3]: Leaving directory
`/usr/src/whitebox/BUILD/xen-2.0/linux-2.6.11-xenU-grsec'
make[2]: *** [build] Error 2
make[2]: Leaving directory `/usr/src/whitebox/BUILD/xen-2.0'
make[1]: *** [linux-2.6-xenU-grsec-build] Error 2
make[1]: Leaving directory `/usr/src/whitebox/BUILD/xen-2.0'
make: *** [kernels] Error 1
does someone know howto fix this ?
Kind regards
Michael Lang
--
Michael Lang <michi+grsecurity at jackal-net.at>
More information about the grsecurity
mailing list