Re: kernel_version needed, but cannot be found

Dave Wreski (
Thu, 3 Apr 1997 23:21:09 -0500 (EST)

On 4 Apr 1997, Ajay Rai wrote:

> HI,
> 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?

I am assuming you did not get the response that was posted here earlier
because of the problems with mail getting to usenet from vger. This is
what was posted by Richard Henderson ( on Wed, 2
Apr 1997 13:53:50 -0600 (CST)

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.

Don't forget about the archives (where I found this) at: