Compiling woes

Carsten Aulbert carsten at
Wed Dec 20 09:52:24 UTC 2006

Renaud (Ron) Olgiati wrote:

> On compiling the tarball I get an error:

> checking for kernel version... The file /usr/src/linux/include/linux/version.h 
> does not exist.
> Please, install the package with full kernel sources for your distribution

> I _have_ installed the linux sources and headers.

> Questions:

> - Anyone got any idea how do I get my driver to compile ? 

It might be, that (after installing the sources of your kernel), there
is a symlink missing (/usr/src/linux  pointing to the right kernelsources).

Optimally, it should not use /usr/src/linux but
/lib/modules/`uname -r`/build



More information about the ubuntu-users mailing list