The approach seems to work fine, but requires that some other issues are sorted out first with include dirs.
From error message above, there are two "strange" -I additions: NB! build != src dir -I. => current build directory -I../.. => this is the root build dir, so I would have to include include <src/jtag/minidriver_imp.h>. Was this supposed to be the build/src dir instead? I don't know where the two above are defined, but at the top of each Makefile.am there is a AM_CPPFLAGS = \ -I$(top_srcdir)/src Should this include the build/src dir as well? -- Øyvind Harboe US toll free 1-866-980-3434 / International +47 51 63 25 00 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugger and flash programmer _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development