On Sun Jul 14, 2002 at 01:49:20PM +0000, James wrote:

> Great... this is not good.  
> 
>   Why.. I run Win4Lin  which means it's a non stock kernel but Mandrake
> blessed and approved... so no matter what I do I can never have headers
> that match my kernel.   Which means I need to go to RH or some other
> distro to build an AFS server..... Not cool at all from my standpoint. 
> headers and kernel will never match...

No.  The kernel headers are also available in
/usr/src/linux/include/linux so you could, I suppose, make
/usr/include/linux a symlink to /usr/src/linux/include/linux.  It
should do what you want; ie:

[root@logan root]# ls /usr/include/linux -1 >~/head.old
[root@logan root]# ls /usr/src/linux/include/linux -1 >~/head.new
[root@logan root]# diff -ruN ~/head.old ~/head.new
--- /root/head.old      Mon Jul 15 14:16:22 2002
+++ /root/head.new      Mon Jul 15 14:16:28 2002
@@ -48,6 +48,7 @@
 atmsvc.h
 atm_tcp.h
 atm_zatm.h
+autoconf.h
 auto_fs4.h
 auto_fs.h
 awe_voice.h
@@ -316,6 +317,7 @@
 mmzone.h
 modsetver.h
 module.h
+modules/
 modversions.h
 mount.h
 mpp.h
@@ -415,6 +417,7 @@
 reiserfs_fs_i.h
 reiserfs_fs_sb.h
 resource.h
+rhconfig.h
 rocket.h
 romfs_fs.h
 romfs_fs_i.h
[root@logan root]#

Very little difference and should do what you want.  In other words,
you need to have kernel-source installed to get that kernel's headers.

--
MandrakeSoft Security; http://www.mandrakesecure.net/
"lynx -source http://www.freezer-burn.org/bios/vdanen.gpg | gpg --import"
{GnuPG: 1024D/FE6F2AFD : 88D8 0D23 8D4B 3407 5BD7  66F9 2043 D0E5 FE6F 2AFD}

Attachment: msg56322/pgp00000.pgp
Description: PGP signature

Reply via email to