DEBUG: Executing shell function do_compile
NOTE: make -j 96 -l 144.0
gcc -Wall -DLINUX_PPDEV -o am29f800.o -c am29f800.c
am29f800.c: In function ‘ProgramAM29F800’:
am29f800.c:71:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
srcAddress=(U32)malloc(targetSize+4);
^
am29f800.c:73:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
LoadImageFile((U8 *)srcAddress,targetSize);
^
am29f800.c:97:57: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
AM29F800_ProgFlash(targetAddress+sectorOffset+i,*( (U16 *)(srcAddress+srcOffset+i) ) );
^
am29f800.c: At top level:
am29f800.c:24:12: warning: ‘BlankCheck’ declared ‘static’ but never defined [-Wunused-function]
static int BlankCheck(int targetAddr,int targetSize);
^~~~~~~~~~
gcc -Wall -DLINUX_PPDEV -o ppt.o -c ppt.c
ppt.c:8:10: fatal error: sys/io.h: No such file or directory
#include <sys/io.h>
^~~~~~~~~~
compilation terminated.
Makefile:12: recipe for target 'ppt.o' failed
make: *** [ppt.o] Error 1
ERROR: oe_runmake failed
WARNING: TOPDIR/build/tmp/work/aarch64-linux/sjf2410-linux-native/0.1+svnr4268-r1/temp/run.do_compile.24564:1 exit 1 from 'exit 1'
ERROR: Function failed: do_compile (log file is located at TOPDIR/build/tmp/work/aarch64-linux/sjf2410-linux-native/0.1+svnr4268-r1/temp/log.do_compile.24564)