modversions.h problem
I was downloading the kernel headers and copying it to /usr/src/..... and using that include directory for compiling the kernel module which turned out to be the wrong way and the best method is to include the one in /lib/modules/'uname -r'/build
There was no modversions.h as specified in
#ifdef CONFIG_MODVERSIONS
#define MODVERSIONS
#include < config/modversions.h >
#endif
Related Links:
[1] http://www.skynet.ie/~mark/home/kernel/symbols.html
1 Comments:
I guess that /usr/src can be used if it is a configured kernel source tree and that is the intended kernel version where the module is to be run!
Post a Comment
Subscribe to Post Comments [Atom]
<< Home