2005-10-28 07:09:50

by Chaitanya Hazarey

[permalink] [raw]
Subject: Why dependance of linux kernel on linux-kernel-headers package ?

Hi all,

I would like to know about some things regarding the current scheme of
things in the linux kernel compilation procedure on Debian machines.

Its a bicth is that if I have to compile specific modules against a
specific kernel version ( against header files from that specific
version ).

The problem being that because of the kernel-headers package, the gcc
(in kernel make procedure) will pick up the kernel headers from the
package specific directories but not from the /usr/src/linux path
where my specific files reside.

The work-around though simple that to change the -I in the gcc path is
not simple as the frame-work is like very rigid about the headers path
in the linux kernel.


How do I make my kernel to take the kernel headers from an alternate
location. There should have been an alternate way to specify at a
single location the alternate configuration of the header file
location. But this does not seem to be the case.


Thanks,

Warm Regards,

Chaitanya V. Hazarey


ps:

Description of the linux-kernel-headers package

"Linux Kernel Headers for development

This package provides headers from the Linux kernel. These headers
are used by the installed headers for GNU glibc and other system libraries."


2005-10-28 07:18:51

by Mark Nipper

[permalink] [raw]
Subject: Re: Why dependance of linux kernel on linux-kernel-headers package ?

On 28 Oct 2005, Chaitanya Hazarey wrote:
> I would like to know about some things regarding the current scheme of
> things in the linux kernel compilation procedure on Debian machines.

Which means you need to ask some Debian people and not
the Linux kernel developers directly.

Generally speaking I have no troubles using make-kpkg
from the Debian package kernel-package to build my own custom
kernels, Debian packaged third-party modules (such as the nVidia
drivers) and non-packaged modules such as the VMware modules.

But if you want to talk about it any further, reply to me
off list or in a Debian based forum as this is not the place for
a discussion that is Debian specific.

--
Mark Nipper e-contacts:
832 Tanglewood Drive [email protected]
Bryan, Texas 77802-4013 http://nipsy.bitgnome.net/
(979)575-3193 AIM/Yahoo: texasnipsy ICQ: 66971617

-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GG/IT d- s++:+ a- C++$ UBL++++$ P--->+++ L+++$ !E---
W++(--) N+ o K++ w(---) O++ M V(--) PS+++(+) PE(--)
Y+ PGP t+ 5 X R tv b+++@ DI+(++) D+ G e h r++ y+(**)
------END GEEK CODE BLOCK------

---begin random quote of the moment---
'Whenever a politician starts talking about "the children,"
keep one eye on your wallet and the other on your liberty.'
-- anonymous
----end random quote of the moment----