Re: modversions error for 8139

Can Bican <[email protected]>
Newsgroups gmane.linux.drivers.realtek.devel
Message-ID <[email protected]>
   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
> [email protected]
> http://www.scyld.com/mailman/listinfo/realtek

-- 
Can Bican
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.