On Sat, 26 Aug 2000, John Summerfield wrote:

>> 3. How do you enable multiple kernels to be installed and
>> simultaneuosly recompile packages with different kernels booted??
>
>Put them in different places, play with symlinks. That's what symlinks are 
>for, Sort of;-)

That is correct, and likely will work fine, however my
understanding is that you should compile all software using the
headers from the kernel that was used to compile your C
libraries.  In this case, it would be the kernel headers that
came with Red Hat Linux.

This seems undocumented for the most part, but there was a
discussion on lkml not long ago where this came up, and Linus
said basically the above.  He also said something else surprising
- at least to me, that you do not need to build the kernel in
/usr/src/linux.  You can, and should, build the kernel somewhere
else, such as ~/linux instead, and do so as non-root.

I tried to untar the kernel into /home/mharris/linux and build
it, but it did not work.  I'm sure that it WILL work, because
Linus says it is the official way of doing it despite what all
the incorrect documentation out there says (outdated by 3 years
or more), but I can't get a kernel to build as non root in some
other place.  Also, he says that the symlinks /usr/include/asm
and /usr/include/linux should not exist at all.  If I don't put
them in place though, nothing compiles at all.

;o(

Anyway, symlinks sure get the job done for me, however I'm
looking forward to getting it done the "Linus way(tm)" some
time.  If anyone knows how to get this working properly, please
let me know.  That way, one can leave the vendor supplied kernel
headers in /usr/src/linux/* and still compile other kernels
without having to make symlink stew.

Take care,
TTYL

--
Mike A. Harris                                     Linux advocate     
Computer Consultant                                  GNU advocate  
Capslock Consulting                          Open Source advocate

Need general help or technical support with Red Hat Linux 6.2?  Join the user 
support mailing list by sending a message to "[EMAIL PROTECTED]"
with the word "subscribe" on the subject line.



_______________________________________________
Redhat-devel-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-devel-list

Reply via email to