Messages in this thread | | | From | Keith Owens <> | Subject | Re: kernel_version needed, but can't be found | Date | Thu, 20 Jan 2000 22:40:40 +1100 |
| |
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/
| |