[tomoyo-users-en 69] tomoyo + grsecurity (again)

Back to archive index
Szymon G sz.g.****@googl*****
Tue May 26 00:20:03 JST 2009


hi

i'm getting errors during compillation of vanilia kernel with
grsecurity and tomoyo patches
(links to those patches and kernel)
http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.27.10.tar.bz2
http://pax.grsecurity.net/pax-linux-2.6.27.10-200812271900.patch
http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi/*checkout*/branches/ccs-patch-2.6.27%2Bgrsecurity-2.1.12-2.6.27.10.diff?rev=2038&root=tomoyo
http://osdn.dl.sourceforge.jp/tomoyo/30297/ccs-patch-1.6.7-20090410.tar.gz

patching was fine, but this is what i get when i tried to compile it
in debian way
root at linugrat:/usr/src/linux-2.6.27.10# time make-kpkg
--append-to-version=hard --revision=5 kernel_image modules_image
--initrd

[ i cat few hundreds lines here ]

OBJCOPY arch/x86/vdso/vdso32-int80.so
  AS      arch/x86/vdso/vdso32/syscall.o
  VDSO    arch/x86/vdso/vdso32-syscall.so.dbg
  OBJCOPY arch/x86/vdso/vdso32-syscall.so
  AS      arch/x86/vdso/vdso32/sysenter.o
  VDSO    arch/x86/vdso/vdso32-sysenter.so.dbg
  OBJCOPY arch/x86/vdso/vdso32-sysenter.so
  AS      arch/x86/vdso/vdso32.o
  CC      arch/x86/vdso/vdso32-setup.o
  VDSOSYM arch/x86/vdso/vdso-syms.lds
  VDSOSYM arch/x86/vdso/vdso32-int80-syms.lds
  VDSOSYM arch/x86/vdso/vdso32-syscall-syms.lds
  VDSOSYM arch/x86/vdso/vdso32-sysenter-syms.lds
  VDSOSYM arch/x86/vdso/vdso32-syms.lds
  LD      arch/x86/vdso/built-in.o
  AS      arch/x86/ia32/ia32entry.o
  CC      arch/x86/ia32/sys_ia32.o
  CC      arch/x86/ia32/ia32_signal.o
  CC      arch/x86/ia32/ipc32.o
  CC      arch/x86/ia32/ia32_aout.o
  CC      arch/x86/ia32/audit.o
  LD      arch/x86/ia32/built-in.o
  CC      kernel/sched.o
kernel/sched.c: In function ‘sys_nice’:
kernel/sched.c:4953: error: ‘TOMOYO_SYS_NICE’ undeclared (first use in
this function)
kernel/sched.c:4953: error: (Each undeclared identifier is reported only once
kernel/sched.c:4953: error: for each function it appears in.)
make[2]: *** [kernel/sched.o] Error 1
make[1]: *** [kernel] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.27.10'
make: *** [debian/stamp/build/kernel] Error 2

any ideas how to fix it :)?

thanx in advance
szymon




More information about the tomoyo-users-en mailing list
Back to archive index