Konstantin Tokarev wrote: > Kernel headers are not installed, or compiler does not pick them up.
Ah that was the clue I needed, thanks. I'm new at any kind of non-standard compiling on Linux. I didn't know linux/types.h was a kernel header. That tells me that my hope of building on a Pi running a random Linux kernel is not necessarily going to create a binary that works on my embedded device running a different kernel version. It seems I need to do "proper" cross compiling after all.
