Below is the error output(SVN top, 2768): etm.c:189:1: "OUT" redefined In file included from C:/msys/1.0/bin/../lib/gcc/mingw32/3.4.5/../../../../inclu de/rpc.h:40, from C:/msys/1.0/bin/../lib/gcc/mingw32/3.4.5/../../../../inclu de/windows.h:82, from C:/msys/1.0/bin/../lib/gcc/mingw32/3.4.5/../../../../inclu de/winsock2.h:22, from ../../src/helper/system.h:51, from ../../config.h:267, from etm.c:21: C:/msys/1.0/bin/../lib/gcc/mingw32/3.4.5/../../../../include/rpcdce.h:14:1: this is the location of the previous definition In etm.c, OUT is defined to initialize struct etm_outputs. In rpcdce.h, OUT is also defined: #ifndef _NO_W32_PSEUDO_MODIFIERS #define IN #define OUT #ifndef OPTIONAL #define OPTIONAL #endif #endif
I recommend to change OUT in etm.c to ETM_OUT? Similar change can also be applied to ADDR_COMPARATOR, DATA_COMPARATOR, COUNTER and SEQ. -- Best Regards, SimonQian http://www.SimonQian.com <http://www.simonqian.com/>
_______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development