WP-30S is working in the Windows Emulator. However, I am now trying to build the file for flashing the calculator using
flash.cmd script. This is throwing a few errors. Being pretty inexperienced in this area, does anyone have some ideas / pointers I could try?
Code:
arm-none-eabi-gcc.exe (GNU Tools for ARM Embedded Processors) 4.8.3 20131129 (release) [ARM/embedded-4_8-branch revision 205641]
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
mingw32-make[1]: Entering directory 'D:/sanjeev/HP30B/WP-30S/trunk/decNumber'
arm-none-eabi-gcc -c -mthumb -mcpu=arm7tdmi -Os -fira-region=one -Wall -Werror -g -fno-common -fno-exceptions -DREALBUILD -Dat91sam7l128 -Iatmel -DNO_BACKUP_INIT -DNO_RAM_COPY -o ../windows32_realbuild/obj/decNumber.o decNumber.c
In file included from c:\program files\gnu tools arm embedded\4.8 2013q4\lib\gcc\arm-none-eabi\4.8.3\include\stdint.h:9:0,
from c:\program files\gnu tools arm embedded\4.8 2013q4\lib\gcc\arm-none-eabi\4.8.3\include-fixed\sys\cdefs.h:54,
from c:\program files\gnu tools arm embedded\4.8 2013q4\arm-none-eabi\include\string.h:12,
from decNumber.c:163:
c:\program files\gnu tools arm embedded\4.8 2013q4\arm-none-eabi\include\stdint.h:79:21: error: conflicting types for 'int32_t'
typedef signed long int32_t;
^
In file included from decNumber.h:32:0,
from decNumber.c:161:
decContext.h:41:15: note: previous declaration of 'int32_t' was here
typedef int int32_t;
^
In file included from c:\program files\gnu tools arm embedded\4.8 2013q4\lib\gcc\arm-none-eabi\4.8.3\include\stdint.h:9:0,
from c:\program files\gnu tools arm embedded\4.8 2013q4\lib\gcc\arm-none-eabi\4.8.3\include-fixed\sys\cdefs.h:54,
from c:\program files\gnu tools arm embedded\4.8 2013q4\arm-none-eabi\include\string.h:12,
from decNumber.c:163:
c:\program files\gnu tools arm embedded\4.8 2013q4\arm-none-eabi\include\stdint.h:80:23: error: conflicting types for 'uint32_t'
typedef unsigned long uint32_t;
^
In file included from decNumber.h:32:0,
from decNumber.c:161:
decContext.h:45:23: note: previous declaration of 'uint32_t' was here
typedef unsigned int uint32_t;
^
decNumber.c:167:12: error: conflicting types for 'powers'
const uInt powers[10]={1, 10, 100, 1000, 10000, 100000, 1000000,
^
In file included from decNumber.c:162:0:
decNumberLocal.h:135:21: note: previous declaration of 'powers' was here
extern const uInt powers[10];
^
Makefile:33: recipe for target '../windows32_realbuild/obj/decNumber.o' failed
mingw32-make[1]: *** [../windows32_realbuild/obj/decNumber.o] Error 1
mingw32-make[1]: Leaving directory 'D:/sanjeev/HP30B/WP-30S/trunk/decNumber'
make: *** [windows32_realbuild/obj/libdecNum34s.a] Error 2