OpenOCD trunk build fails on Fedora 9

Hi,

Just grabbed SVN trunk revision 1366, and did:

make distclean

.configure --enable-ft2232-ftd2xx

make

This failed with the following error:

In file included from /usr/local/include/ftd2xx.h:57,

from ft2232.c:57:

/usr/local/include/WinTypes.h:15: error: conflicting types for ‘BOOL’

jtag.h:54: error: previous declaration of ‘BOOL’ was here

Looks like someone added a typedef for BOOL to jtag.h since the last time I built which conflicts with WinTypes.h that’s used by ftd2xx

Any suggestions on how to get around this? Is libftd2xx deprecated now?

Eric

Hi,

I got the same on mingw host.

Just comment out 54,55 and 56 in JTAG.h

Regards