[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: where do I find the kernel headers? *solved*



Andy wrote:
All I ended up needing was the kernel-headers package. That did the trick.


Can you, or someone, tell me more about this?
I am confused as hell right now.

I am trying to get my Lucent Winmodem on my Thinkpad A21e working. In order to build the drivers I need kernel-headers.

My kernel is Linux debian 2.4.19 i686 unknown and
I compiled the kernel not to long ago using the Debian way.

Now I try to do this:
apt-get install kernel-headers-2.4.19
but get this:
E: Couldn't find package kernel-headers-2.4.19

What am I doing wrong?  Where are my headers?



As long as you haven't munged your source tree since compiling the kernel, you can ln -s the kernel source directory to /usr/src/linux and use that as your headers. Alternatively, you can make your kernel-headers package when you compile the kernel with 'fakeroot make-kpkg kernel_headers <rest of command you normally use>'.



Reply to: