Re: Compiling device drivers

Daniel Stone (tamriel@ductape.net)
Fri, 3 Dec 1999 19:29:38 +1100


You need to define __KERNEL__ and __MODULE__
d

On Thu, 02 Dec 1999, S . Arun wrote:
> Hi folks!
>
> I would like to know how to set the kernel version number when compiling a
> device driver. I get the following error when I try to insert the module:
>
> # insmod driver.o
> driver.o: couldn't find the kernel version the module was compiled for
>
> Can anybody please help
>
> Thanks in advance
> S. Arun
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.rutgers.edu
> Please read the FAQ at http://www.tux.org/lkml/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/