Re: kernel_version needed, but cannot be found

Richard Henderson (richard@stommel.tamu.edu)
Wed, 2 Apr 1997 13:53:50 -0600 (CST)


> I am trying to write my own module in 2.0.18. I am using ppp.c as an
> example to help me do it. But when I do a "insmod" on my module I get
> "kernel_version needed, but can't be found" error. What am I missing?

One of three things has happened:

(1) didn't include <linux/module.h>,
(2) didn't have -DMODULE on gcc's command line, or
(3) you defined __NO_VERSION__.

Number 2 I would think is most likely.

r~