Re: make *config & benh 2.4.20
Charles R. Twardy writes:
> Sorry. Me again. I wiped /usr/src/linux and rsync'd again
...
> This is very frustrating. I did this because the MOL install
> had asked me to replace /usr/include/linux with a link to
> /usr/src/linux/include/linux before compiling. (Likewise
> with /usr/include/asm.)
...
> It seems I'm doing something wrong. Please help?
The MOL instructions were very wrong, and have destroyed
your ability to compile many user apps. While the stuff
in /usr/include/linux and /usr/include/asm sure does look
like kernel header files, it isn't. It is created from the
kernel header files when your C library is built, and thus
is really part of a C library package.
(argue with Linus himself if you don't like it that way)
Helpful suggestions for everybody:
1. Remove /usr/src/linux and never put it back.
You could put junk there ("ln -s linux linux")
and set the immutable attribute to stop yourself.
Killing /usr/src itself wouldn't be a terrible idea,
and if that breaks MOL then good!
2. Don't download or compile the kernel as root.
Try /home/yourname/linux-2.4-benh or similar for
the directory.
Reply to: