[rsbac] compile error

webby webby at firexsecurity.com
Fri Mar 12 05:28:13 CET 2004

I'm compilig rsbac with uml. kernel 2.4.22. I got the following error when
doing make bzImage.

gcc -D__KERNEL__ -I/home/jinxi/linux-2.4.22-rsbac-uml/include -Wall -Wstrict
-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame
-pointer -pipe -mpreferred-stack-boundary=2 -march=i686   -nostdinc -iwithpr
efix include -DKBUILD_BASENAME=sys_i386  -c -o sys_i386.o sys_i386.c
sys_i386.c: In function `do_mmap2':
sys_i386.c:59: warning: passing arg 1 of `do_mmap_pgoff' from incompatible
pointer type
sys_i386.c:59: warning: passing arg 2 of `do_mmap_pgoff' makes pointer from
integer without a cast
sys_i386.c:59: too few arguments to function `do_mmap_pgoff'
make[1]: *** [sys_i386.o] Error 1
make[1]: Leaving directory
make: *** [_dir_arch/i386/kernel] Error 2
root at linux:/home/jinxi/linux-2.4.22-rsbac-uml#


More information about the rsbac mailing list