My simple kernel module wont compile

Valdis.Kletnieks at vt.edu Valdis.Kletnieks at vt.edu
Thu Sep 11 11:11:06 EDT 2014


On Thu, 11 Sep 2014 16:13:58 +0200, testlaster said:

> The first line didn't work because I seem to not have a build directory
> there.

Hopefully, that /usr/src/linux-headers directory is an exact match for
the kernel you're planning to use the module in.

make[2]: *** No rule to make target `/usr/src/linux-headers-3.13.0-35-generic/arch/x86/syscalls/syscall_32.tbl', needed by `arch/x86/syscalls/../include/generated/uapi/asm/unistd_32.h'.  Stop.

That's sounding suspiciously like it's not a properly set up directory
tree suitable for building modules against....
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 848 bytes
Desc: not available
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140911/fa548238/attachment.bin 


More information about the Kernelnewbies mailing list