On Sat, Jul 4, 2009 at 2:46 AM, Martin Thomas<mtho...@rhrk.uni-kl.de> wrote:
> the build process continued a little bit further but stopped with an
> error in replacements (don't remember the exact message). This error has
> been caused by usage of stdint.h typdefs but stdint.h has not been
> included. After adding #include <stdint.h> at the top of replacements.h
> the build went trough and generated openocd.exe (not yet tested with
> hardware).
>
> Maybe src/Makefile.am and replacments.h can be modified a little bit to
> increase compatibility with (maybe just my) cygwin-environment.
>

I have similar issues with replacement.h with a cross-build of OpenOCD
with MinGW under Linux. I added "types.h" to solve the problem. I do not
know if it is a proper fix or not.

--- src/helper/replacements.h.org       2009-07-04 09:13:57.000000000 +0800
+++ src/helper/replacements.h   2009-07-04 21:32:45.000000000 +0800
@@ -134,6 +134,7 @@
 #define WIN32_LEAN_AND_MEAN
 #include <windows.h>
 #include <time.h>
+#include "types.h"

 /* win32 systems do not support ETIMEDOUT */


-- 
Xiaofan http://mcuee.blogspot.com
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to