On Mon, 2009-07-06 at 10:26 +0100, Spencer Oliver wrote:
> > 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.
> > 
> 
> It has been a while since i built for win32 on linux - looks like it is now
> a bit broken.
> Try this patch it fixes a few other things with regards to x-compiling.
> 
> Tested on ubuntu64 9.04

I would like to see the #include "types.h" moved into the #ifndef
HAVE_ELF_H block, as that code is creating the problems.  Otherwise,
looks good for 0.2.0.

Cheers,

Zach

_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to