
On Fri, Jul 23, 2004 at 09:34:33AM -0400, Povolotsky, Alexander wrote:
apovolot@USPITLAD104868 ~/U-boot/u-boot-1.1.1 $ make MPC8260ADS_config Configuring for MPC8260ADS board...
apovolot@USPITLAD104868 ~/U-boot/u-boot-1.1.1 $ make all ............... make[1]: Entering directory `/cygdrive/d/Profiles/apovolot/U-boot/u-boot-1.1.1/t ools' gcc -Wall -pedantic -D__WIN32__ -I../include -I.. -DTEXT_BASE=0xfff00000 -DUSE_H OSTCC -O -c -o img2srec.o img2srec.c In file included from img2srec.c:60: ../include/elf.h:46: warning: redefinition of `uint8_t' /usr/include/stdint.h:24: warning: `uint8_t' previously declared here ../include/elf.h:47: warning: redefinition of `uint16_t' /usr/include/stdint.h:25: warning: `uint16_t' previously declared here ../include/elf.h:48: error: conflicting types for `uint32_t' /usr/include/stdint.h:28: error: previous declaration of `uint32_t' make[1]: *** [img2srec.o] Error 1 make[1]: Leaving directory `/cygdrive/d/Profiles/apovolot/U-boot/u-boot-1.1.1/to ols' make: *** [tools] Error 2
The attached patch fixes cygwin builds. inttypes.h has been included in cygwin for quite some time now, so we do not need all the __WIN32__ ifdef's.
-- Lars Munch