This is the output i get:
So for the next SDK is it possible to include the missing battmem.h file or adjust proto/battmem.h to not include files that doesn't exist ?Processo: Shell 6
6.AmigaOS4:> Work:SDK/Progetti/report_source/
6.Work:SDK/Progetti/report_source> make -f makefile.os4
ppc-amigaos-gcc -O0 -mno-sdata -fomit-frame-pointer -fno-builtin -fstrength-reduce -c -g -mmultiple -Wall -W -Wundef -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Waggregate-return -Werror -D__USE_INLINE__ -D__USE_BASETYPE__ rp.c
ppc-amigaos-gcc -O0 -mno-sdata -fomit-frame-pointer -fno-builtin -fstrength-reduce -c -g -mmultiple -Wall -W -Wundef -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Waggregate-return -Werror -D__USE_INLINE__ -D__USE_BASETYPE__ f1.c
ppc-amigaos-gcc -O0 -mno-sdata -fomit-frame-pointer -fno-builtin -fstrength-reduce -c -g -mmultiple -Wall -W -Wundef -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Waggregate-return -Werror -D__USE_INLINE__ -D__USE_BASETYPE__ f2.c
ppc-amigaos-gcc -O0 -mno-sdata -fomit-frame-pointer -fno-builtin -fstrength-reduce -c -g -mmultiple -Wall -W -Wundef -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Waggregate-return -Werror -D__USE_INLINE__ -D__USE_BASETYPE__ f3.c
In file included from f3.c:16:
/SDK/include/include_h/proto/battmem.h:28:31: error: inline4/battmem.h: No such file or directory
cc1: warnings being treated as errors
f3.c: In function 'drawbit':
f3.c:413: warning: comparison of unsigned expression >= 0 is always true
f3.c: In function 'readbatt':
f3.c:437: warning: implicit declaration of function 'ObtainBattSemaphore'
f3.c:439: warning: implicit declaration of function 'ReadBattMem'
f3.c:440: warning: implicit declaration of function 'ReleaseBattSemaphore'
f3.c: In function 'batt_loop':
f3.c:473: warning: comparison of unsigned expression < 0 is always false
f3.c: In function 'writebatt':
f3.c:578: warning: implicit declaration of function 'WriteBattMem'
make: *** [f3.o] Error 1
Or maybe are there any other solution ?
Thanks in advance !