/boot/kernel.h is generated by /etc/rc.d/rc.sysinit at
the boot time if it isn't already there (or CPU changed):
check that file for the detailed logic on when/how to
generate this file.

So /boot/kernel.h may show you have a redhat system, but
doesn't mean you have a redhat kernel. I have systems running
the kernels that I downlaoded from kernel.org but
still have /boot/kernel.h file that was generated by
rc.sysinit.

maybe I should 
#include <linux/version.h>

and then test
#ifdef __rh_kernel_version_h__

?

frank
 
On 23 Aug 2000, Chmouel Boudjnah wrote:

> John Summerfield <[EMAIL PROTECTED]> writes:
> 
> > > > [summer@emu summer]$ cat /boot/kernel.h
> > > > cat: /boot/kernel.h: No such file or directory
> 
> [...]
> 
> > [summer@possum summer]$ ls -l /boot/kernel.h
> > -rw-r--r--   1 root          237 Dec  6  1999 /boot/kernel.h
> 
> so what the problem ? on the emu machine is not generated for i don't
> reason, and with the possum machine it generated, and Frank can play
> with that (actually with version.h who manage to play with kernel.h)
> 
> -- 
> MandrakeSoft Inc                     http://www.chmouel.org
> San-Francisco, CA USA                             --Chmouel
> 
> 
> 
> _______________________________________________
> Redhat-devel-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-devel-list
> 



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

Reply via email to