> Message: 6
> From: [EMAIL PROTECTED]
> Date: Mon, 21 Jun 1999 12:38:17 -0400 (EDT)
> To: [EMAIL PROTECTED]
> Subject: [Masq] IPPORTFW - patching kernel
> nell.edu>
>
>
> Hello,
>
> I just tried to patch my kernel-2.0.36 with the subs-patch-1.36.gz for
> IPPORTFW and I received the following error:
>
> # pwd
> /usr/src/linux
> # zcat /archive/subs-patch-1.36.gz | patch -p1
> patching file 'Documentation/Configure.help'
> Hunk #1 succeeded at 1206 (offset 251 lines).
> can't find file to patch at input line 23
> Perhaps you used the wrong -p or --strip option?
> The text leading up to this was:
> --------------------------
> |diff -u --recursive --new-file linux/include/linux/ip_fw.h
> linux-portfw/include/linux/ip_fw.h
> |--- linux/include/linux/ip_fw.h Tue Dec 2 22:20:39 1997
> |+++ linux-portfw/include/linux/ip_fw.h Sat Jun 13 12:00:49 1998
> --------------------------
> File to patch:
>
>
> Any guess as to what this means and hwo I go about fixing it? Thanks.
>
> -Josh Estelle
>
>
>
In response to my own question.... i realized I had to reinstall the
kernel-header package and things worked... you could say slightly better...
this time the error looked like so:
# zcat /archive/subs-patch-1.36.gz | patch -p1
patching file 'Documentation/Configure.help'
Hunk #1 succeeded at 1206 (offset 251 lines).
patching file 'include/linux/ip_fw.h'
patching file 'include/linux/proc_fs.h'
Hunk #1 FAILED at 105.
1 out of 1 hunk FAILED -- saving rejects to include/linux/proc_fs.h.rej
patching file 'net/ipv4/Config.in'
patching file 'net/ipv4/ip_fw.c'
patching file 'net/ipv4/ip_masq.c'
patching file 'net/ipv4/ip_sockglue.c'
#
include/linux/proc_fs.h.rej contains:
***************
*** 105,110 ****
PROC_NET_STRIP_STATUS,
PROC_NET_STRIP_TRACE,
PROC_NET_IPAUTOFW,
PROC_NET_Z8530,
PROC_NET_LAST
};
--- 105,111 ----
PROC_NET_STRIP_STATUS,
PROC_NET_STRIP_TRACE,
PROC_NET_IPAUTOFW,
+ PROC_NET_IPPORTFW,
PROC_NET_Z8530,
PRCO_NET_LAST
};
Any ideas? :) Thanks.
Josh
_______________________________________________
Masq maillist - [EMAIL PROTECTED]
http://tiffany.indyramp.com/mailman/listinfo/masq
Admin requests can be handled by web (above) or [EMAIL PROTECTED]