-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

ddc_prueba wrote on Fri, Jan 10, 2003 at 07:49:53PM +0100 :
> 
>         When I compile some programs they complain that kernel version
> (2.4.19-8mdkcustom) differs from headers one (2.4.18) and fail to
> install.

This is probably due to the programs doing the wrong thing.

1) When compiling kernel modules, they use headers from
/usr/src/linux/include.  Period.
2) When compiling applications, they use headers from /usr/include or
/usr/local/include or any place *OTHER THAN* /usr/src/linux/include.

If your app is trying to directly include kernel headers, or if your
kernel module is trying to directly include /usr/include/linux headers,
it will fail.  This is at Linus' decree.  It's not a Mandrake issue that
we comply with the big guy.

The issue is complicated because kernel-headers doesn't supply the
current kernel headers.  I know, I know.  The kernel headers are
actually provided by the kernel-source rpm.  The kernel-headers rpm
actually provides the headers that were used to compile glibc.  It only
changes when glibc changes, so it's natural that kernel-headers-* is a
different version than kernel-*.

In cooker, this has already been changed so that it's much simpler to
make sense of in your mind.

<snip 7 line signature>

Blue skies...                   Todd
- -- 
| MandrakeSoft USA             | Sometimes you get what you want. |
| http://www.mandrakesoft.com  | Sometimes you get experience.    |
| http://www.mandrakelinux.com |                --unknown origin  |
   Cooker Version mandrake-release-9.1-0.1mdk Kernel 2.4.20-2mdk
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD4DBQE+HzTTlp7v05cW2woRAp9vAJiTRZFgEm+tsw7NeFThpRynmu+iAKCGzLwR
pdzW4KHAoeMzUz+Z4oBqFg==
=wyKL
-----END PGP SIGNATURE-----

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to