kernel_version needed, but can't be found

Keith Owens kaos en ocs.com.au
Jue Ene 20 21:42:40 CST 2000


On Thu, 20 Jan 2000 16:30:47 +0800, 
Du Jinsong <jinsong en 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 en vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



Más información sobre la lista de distribución Ayuda