On Wed, May 13, 2009 at 1:21 PM, Zach Welch <z...@superlucidity.net> wrote: > On Wed, 2009-05-13 at 03:17 -0700, Zach Welch wrote: >> On Wed, 2009-05-13 at 12:00 +0200, Francois Lorrain wrote: >> [snip] >> > 2) It looks like the stdint.h need to be included in system.h, not >> > types.h, otherwise binarybuffer.c does not compile >> >> I have a better fix in mind; please do not apply this patch. Thanks. > > Please let me know if r1775 addressed this particular issue. > > Thanks, > > --Z >
No, I still have the same problem with r1776. there are some uint32_t uses in replacement.h which are not recognized - I don't have an elf.h system include. export CPPFLAGS="-IC:/libusb-win32-device-bin-0.1.12.1/include" export LDFLAGS=-LC:/libusb-win32-device-bin-0.1.12.1/lib/gcc export CC=mingw32-gcc ./bootstrap ./configure --enable-ft2232-ftd2xx --enable-jlink --with-ftd2xx-win32-zipdir=c:/ftdi-2.04.06 --enable-maintainer-mode gives : $ mingw32-make cd . && C:/cygwin/bin/sh.exe /Workspace-1/openocd/missing --run autoheader rm -f stamp-h1 touch config.h.in cd . && C:/cygwin/bin/sh.exe ./config.status config.h config.status: creating config.h config.status: config.h is unchanged c:/MinGW/bin/mingw32-make all-recursive mingw32-make[1]: Entering directory `c:/Workspace-1/openocd' Making all in src mingw32-make[2]: Entering directory `c:/Workspace-1/openocd/src' Making all in helper mingw32-make[3]: Entering directory `c:/Workspace-1/openocd/src/helper' C:/cygwin/bin/sh.exe ../../libtool --tag=CC --mode=compile mingw32-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I../../src/server -I../../ src/target -DPKGDATADIR=\"/usr/local/share/openocd\" -DPKGLIBDIR=\"/usr/local/lib/openocd\" -IC:/libusb-win32-device-bin-0.1.12.1/include -W no-sign-compare -g -O2 -Ic:/ftdi-2.04.06 -Wall -Wstrict-prototypes -Wformat-security -Wextra -Wno-unused-parameter -Wbad-function-cast -Wcas t-align -Wredundant-decls -Werror -MT libhelper_la-binarybuffer.lo -MD -MP -MF .deps/libhelper_la-binarybuffer.Tpo -c -o libhelper_la-binary buffer.lo `test -f 'binarybuffer.c' || echo './'`binarybuffer.c libtool: compile: mingw32-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I../../src/server -I../../src/target "-DPKGDATADIR=\\/usr/local/share /openocd\\ -DPKGLIBDIR=\\/usr/local/lib/openocd\\ -IC:/libusb-win32-device-bin-0.1.12.1/include" -Wno-sign-compare -g -O2 -Ic:/ftdi-2.04.06 -Wall -Wstrict-prototypes -Wformat-security -Wextra -Wno-unused-parameter -Wbad-function-cast -Wcast-align -Wredundant-decls -Werror -MT lib helper_la-binarybuffer.lo -MD -MP -MF .deps/libhelper_la-binarybuffer.Tpo -c binarybuffer.c -DDLL_EXPORT -DPIC -o .libs/libhelper_la-binary buffer.o In file included from ../../config.h:271, from binarybuffer.c:24: ./replacements.h:213: erreur: expected '=', ',', ';', 'asm' or '__attribute__' before 'Elf32_Addr' ./replacements.h:214: erreur: expected '=', ',', ';', 'asm' or '__attribute__' before 'Elf32_Half' ./replacements.h:215: erreur: expected '=', ',', ';', 'asm' or '__attribute__' before 'Elf32_Off' ./replacements.h:216: erreur: expected '=', ',', ';', 'asm' or '__attribute__' before 'Elf32_Sword' ./replacements.h:217: erreur: expected '=', ',', ';', 'asm' or '__attribute__' before 'Elf32_Word' ./replacements.h:218: erreur: expected '=', ',', ';', 'asm' or '__attribute__' before 'Elf32_Size' ./replacements.h:219: erreur: expected '=', ',', ';', 'asm' or '__attribute__' before 'Elf32_Hashelt' ./replacements.h:224: erreur: expected specifier-qualifier-list before 'Elf32_Half' ./replacements.h:252: erreur: expected specifier-qualifier-list before 'Elf32_Word' mingw32-make[3]: *** [libhelper_la-binarybuffer.lo] Error 1 mingw32-make[3]: Leaving directory `c:/Workspace-1/openocd/src/helper' mingw32-make[2]: *** [all-recursive] Error 1 mingw32-make[2]: Leaving directory `c:/Workspace-1/openocd/src' mingw32-make[1]: *** [all-recursive] Error 1 mingw32-make[1]: Leaving directory `c:/Workspace-1/openocd' mingw32-make: *** [all] Error 2 Regards Francois _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development