I'm trying to cross compile the jtag tools utility using buildboot for an ARM processor. The build fails in the ppdev.c file. The stropts.h header is not found and there is an error message about ioctl not being defined.
I was able to get the package to compile by commenting out #include <stropts.h> and #include <linux/ioctl.h> then adding #include <sys/ioctl.h>
There are probably a lot of other issues I need to look at/fix to get the utility to work correctly in the ARM, mostly with the cable driver. Has anyone tried this?