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

Sat Jan 9 11:21:57 UTC 2010
Mufit Eribol <hme at onart.com.tr>

Arturas Skauronas wrote:
> 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
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
That's it. Deleting the space before / fixed the problem.

Thank you Arturas!