[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: problem with compiling kernel 2.4.6 on my quadra

On Mon, Jul 23, 2001 at 08:43:42AM +0200, Nicolas Vilz 'niv' wrote:

> Could you please tell me how to apply this patches? Everytime I type
> patch -p0 < patch-m68k-2.4.6, I get this listing:
> can't find file to patch at input line 3
> Perhaps you used the wrong -p or --strip option?
> The text leading up to this was:
> --------------------------
> |--- linux-2.4.4linus/CREDITS   Sat Apr 28 21:42:21 2001
> |+++ linux-q40-2.4.4/CREDITS    Sat Apr 28 21:52:22 2001
> --------------------------

Check the manpage for patch after reading this, but you are using the
wrong -p option. -p tells patch how many directories to strip from the
file headers before applying the patches. Assuming there's a CREDITS
file in your top-level source tree, you'll want to:

(a) cd to that top-level directory

(b) run patch -p1 < patchfile # so that patch removes the *first*
directory from all file headers, and patches CREDITS in the current

Mike Renfro  / R&D Engineer, Center for Manufacturing Research,
931 372-3601 / Tennessee Technological University -- renfro@tntech.edu

Reply to: