[nmglug] Write loadable kernel module

a akaluta at taosnet.com
Fri Jul 3 06:41:35 PDT 2009


Attempting to follow several basic tutorials, writing first loadable
kernel module, each attempt has been foiled by something like the
following:

Example: 
#include <linux/module.h>   error: linux/module.h  no such file or
directory.
 
linux/module.h does reside
in:   /usr/src/linux-headers-2.6.28-13-generic/include/linux/module.h

Without creating further errors can I: ln
-s /usr/src/linux-headers-2.6.28-13-generic/include/linux/module.h /linux/module.h

Is the suggetion workable,alternately can you suggest another? 


Thanks,Antonio

 




More information about the nmglug mailing list