There's two patches in this series: 1) When building using e.g. buildroot, PWD was incorrectly set to the buildroot topdir. Make sure that we explicitly set it in the ktap Makefile. 2) Functions as copy_from_user, ..., were explicitly defined when compiling interpreter/vm.c. Fix this by adding uaccess.h. These patches were tested on a 3.8.11 kernel, for a BeagleBone. I've also tested them both on the ktap-v0.3 tarball, as well as on the current git HEAD. Sofar, I've not gone through building ktap (userspace application) from HEAD in buildroot. This will likely require more patches, at least if no libelf is made available. But that's for the future. Cheers, Anders Anders Darander (2): Set PWD in Makefile interpreter/vm.c: include uaccess.h Makefile | 1 + interpreter/vm.c | 1 + 2 files changed, 2 insertions(+) -- 1.8.4.2