[realtek] modversions error for 8139

Can Bican can@ripe.net
Thu May 9 18:25:01 2002


   instead of other -I directives, just give

   -I/lib/modules/`uname -r`/build/include

   Although, this also shows that kernel has quite changed after this
module...


On 2002-05-09 18:21:40 +0530, prayank wrote:
> dear all,
> i am getting the following error while compiling the driver for 8139
> from rtl8139.c
> 
> in file include from rtl8139.c:93:
> /usr/include/linux/modversions.h:1:2: #error Modules should never use
> kernel-headers system headers,
> 
> 
> /usr/include/linux/modversions.h:2:2: #error but headers from an
> appropriate kernel-source.
> 
> 
> kindly advice
> 
> Prayank Chandorkar
> 
> _______________________________________________
> realtek mailing list
> realtek@scyld.com
> http://www.scyld.com/mailman/listinfo/realtek

-- 
Can Bican