Re: kernel_version needed, but can't be found

From: Keith Owens (kaos@ocs.com.au)
Date: Thu Jan 20 2000 - 06:40:40 EST


On Thu, 20 Jan 2000 16:30:47 +0800,
Du Jinsong <jinsong@internetappliance.com> 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
compiled.

-
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/



This archive was generated by hypermail 2b29 : Sun Jan 23 2000 - 21:00:22 EST