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

Re: compile a driver under 2.6 kernel



Hi.

# apt-get install  linux-kernel-headers

n@mdk:~/bitacora$ apt-cache show linux-kernel-headers
Package: linux-kernel-headers
Priority: standard
Section: devel
Installed-Size: 7200
Maintainer: GNU Libc Maintainers <debian-glibc@lists.debian.org>
Architecture: i386
Version: 2.5.999-test7-bk-16
Replaces: libc6-dev (<< 2.3.2.ds1-6), libc6.1-dev (<< 2.3.2.ds1-6),
dvb-dev (<< 1.0.1-6)
Conflicts: libc6-dev (<< 2.3.2.ds1-6), libc6.1-dev (<< 2.3.2.ds1-6),
dvb-dev (<< 1.0.1-6)
Filename: pool/main/l/linux-kernel-headers/linux-kernel-headers_2.5.999-test7-bk-16_i386.deb
Size: 1376672
MD5sum: 425e92434a78d5971b4508930d1ad7d0
Description: 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.

Regards,
Nelson.-


> Maybe someone has posted it before, it so hard to search the archive.
> When I try to compile a driver under sarge (kernel 2.6.8-13), it
> complains"no header file".  There is no version.h in /usr/include. In
> /usr/src/linux/include, there are only directories, no .h files. Any idea?
> In other distribution, after you install kernel-source package, then you
> can compile a driver or mudule. But in debian, I have problems under 2.4
> and kernel 2.6. Thanks!



-- 
Homepage : http://geocities.com/arhuaco

The first principle is that you must not fool yourself
and you are the easiest person to fool.
     -- Richard Feynman.



Reply to: