promblem compiling skas patch
Hi All,
OK I know the following isn't a standard part of the kernel, and if someone could point me to somewhere more appropiate I would be greatfule. Anyway I've downloaded a vanilla 2.4.21 and the skas patch from
http://kernels.usermodelinux.org/host/
However when compling at the end of make Bzimage I'm getting
/usr/src/linux-2.4.21/arch/i386/lib/lib.a
/usr/src/linux-2.4.21/lib/lib.a /usr/src/linux-2.4.21/arch/i386/lib/lib.a
\
--end-group \
-o vmlinuxarch/i386/kernel/kernel.o: In function `sys_ptrace':
arch/i386/kernel/kernel.o(.text+0x50c9): undefined reference to `proc_mm_get_mm'
make: *** [vmlinux] Error 1
Can anyone shed any light on this?
Rus
--
w: http://www.jvds.com | Linux + FreeBSD Servers from $15/mo
e: [email protected] | Totally Customizable Technology
t: +447919 373537 | Forums
t: 1-888-327-6330 | http://forums.jvds.com
Quoted 2 lines · [email protected] said:
arch/i386/kernel/kernel.o: In function `sys_ptrace':
arch/i386/kernel/kernel.o(.text+0x50c9): undefined reference to `proc_mm_get_mm'
This is a mistake in the patch which you can work around by enabling CONFIG_PROC_MM. The patch is kind of pointless if you don't turn that on.
Jeff
Quoted 7 lines
Quoted 2 lines · [email protected] said:
arch/i386/kernel/kernel.o: In function `sys_ptrace':
arch/i386/kernel/kernel.o(.text+0x50c9): undefined reference to `proc_mm_get_mm'This is a mistake in the patch which you can work around by enabling
CONFIG_PROC_MM. The patch is kind of pointless if you don't turn that on.
Yeah I foundI've just ofund out what is happening. I use make menuconfig and there is a slight bug the /proc/mm will only show on the menu if you select APM (which as it was a server I had turned off). Its just recompiled cleanly
Thanks
Rus
--
w: http://www.jvds.com | Linux + FreeBSD Servers from $15/mo
e: [email protected] | Totally Customizable Technology
t: +447919 373537 | Forums
t: 1-888-327-6330 | http://forums.jvds.com