I compiled and ran the chardev.c example from the lkmpg and when writing to the device received an unexpected error开发者_StackOverflow:
I am cross compiling kernel module using my own generated toolchain of yocto kirkston source but it\'s throwing error that "/bin/sh: 1: scripts/mod/modpost: not found". I could see modpost.c