lkml.org 
[lkml]   [2001]   [Feb]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Every Make option ends in error.
On Fri, 2 Feb 2001, Ken Moffat wrote:

> Hi guys,
> I guess I'm doing something stupid, so please can somebody point it out
> and put me out of my misery ?
>
> Copied a plain 2.4.0 tree to a new directory, patched it to 2.4.1 without
> any errors. Then I realised it had all the object files from my last
> compile, so I thought "make mrproper" was called for. It did a little,
> then
>
> rm: include/asm: is a directory
> make: *** [mrproper] Error 1
>
This link file got changed to a directory, probable because your
new directory was copied! You should have used `tar`. Copy will
follow the sym-links and copy the underlying data, i.e., a whole
directory.

Not to worry. In your new Linux directory tree do:

cd include
mv asm /tmp # or /usr/src, someplace temporary.

cd .. # Back to Linux
cp .config .. # Save your configuration
make mrproper # Make like a distribution
cp ../.config . # Restore configuration
make oldconfig # Re-do configuration
make dep # Re-do dependencies
make bzImage # Doit toit

After everything works, recursively delete the saved 'asm'
directory that was moved outside the kernel tree.


Cheers,
Dick Johnson

Penguin : Linux version 2.4.1 on an i686 machine (799.53 BogoMips).

"Memory is like gasoline. You use it up when you are running. Of
course you get it all back when you reboot..."; Actual explanation
obtained from the Micro$oft help desk.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:28    [W:0.035 / U:5.000 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site