[lkml]   [2000]   [Jan]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: kernel_version needed, but can't be found

Keith Owens wrote:

> #include <module.h>, no need for versions.h. Modules *must* be
> compiled with -DMODULE to expand kernel_version and __this_module. I
> suspect that your compile line is wrong, check how other modules are
> compiled.

Thanks a lot for your reply, but I've already included <linux/module.h>
and compiled with -DMODULE. So I guess there may be other things that
cause the problem.

// jinsong

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:56    [W:0.065 / U:1.556 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site