View previous topic :: View next topic |
Author |
Message |
growse Apprentice
Joined: 24 Jan 2003 Posts: 154 Location: Sunny UK
|
Posted: Sat Dec 11, 2004 2:24 pm Post subject: What the hell is going on? (patching) |
|
|
<noob>
I get a patch file, in this case it's the nitro4 patch bzip2. I decompress it, and then I do:
patch -p1 < /usr/src/patch-2.6.9-nitro4
It then starts saying things like "Shall I assume -R [n]" and "Should I patch this anyway [n]"?
What do I answer?
If I do the default "no" and "no", the kernel compile fails with:
kernel/sysctl.c:658: error: `KERN_INTERACTIVE' undeclared here (not in a function)
kernel/sysctl.c:658: error: initializer element is not constant
kernel/sysctl.c:658: error: (near initialization for `kern_table[33].ctl_name')
kernel/sysctl.c:664: error: initializer element is not constant
kernel/sysctl.c:664: error: (near initialization for `kern_table[33]')
ARGH!
</noob> _________________ Getting there.... |
|
Back to top |
|
|
blueworm l33t
Joined: 09 May 2003 Posts: 962
|
Posted: Sat Dec 11, 2004 5:12 pm Post subject: |
|
|
You have to patch against the correct kernel source.
Most kernel patches are meant to be patched against the vanilla kernel. |
|
Back to top |
|
|
sobers_2002 Veteran
Joined: 16 Mar 2004 Posts: 1128
|
|
Back to top |
|
|
|