lkml.org 
[lkml]   [2000]   [Jan]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
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 majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:56    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site