[CentOS] Can't Compile Driver due to Missing version.h

Arturas Skauronas helpaz at gmail.com
Fri Jan 8 15:41:02 UTC 2010


On Fri, Jan 8, 2010 at 2:24 PM, Mufit Eribol <hme at onart.com.tr> wrote:
> Dear All,
>
> make KERNELDIR= /lib/modules/2.6.18-164.9.1.el5PAE/build
> grep: /include/linux/version.h: No such file or directory
> expr: syntax error
> ../../../inc/linux/Makefile.def:85: *** Only kernel 2.4/2.6 is supported
> but you use 2..  Stop.

you typed space simbol after equal
make KERNELDIR= /lib/modules/2.6.18-164.9.1.el5PAE/build
should be
make KERNELDIR=/lib/modules/2.6.18-164.9.1.el5PAE/build


More information about the CentOS mailing list