Hi all,
I am trying to follow the Linux Kernel Module Programming Guide here:
http://www.tldp.org/LDP/lkmpg/2.6/lkmpg.pdfIn the process of compiling the first Hello World kernel module (section 2.2 in the guide), I am running into the following error when calling make:
make: *** /lib/modules/2.6.39.1-linode34/build: No such file or directory. Stop.
I'm wondering what I should do to have it compile correctly. Please if you could provide a beginner's explanation, that would be great. I'm new at this and kind of have no idea what I'm doing... Thank you!
Edit: I forgot to say, I checked the path, and it is true that the /lib/modules/2.6.39.1-linode34/build file is not present. Should I look for it in another location? Or is this something that differs between the kernel running on linode and the one specified in the guide? Googling did not turn up anything particularly useful.