[lkml]   [2000]   [Jan]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: kernel_version needed, but can't be found
On Thu, 20 Jan 2000 16:30:47 +0800, 
Du Jinsong <> wrote:
>#insmod -p module
>which means it passes the probe.

-p only checks real symbols, it does not check the automatically
generated symbols like kernel_version and __this_module.

>#insmod module
>kerner_version needed, but can't be found
>#insmod -f module
>__this_module undefined
>kernel_version needed, but can't be found

#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

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    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean