Hello,
while compiling the BSP-Phytec-phyFLEX-i.MX6-PD13.1.0
ptxdist-2014.01.0 with OSELAS.Toolchain-2013.12.1 I get the following
error:
mtd.c:905:43: error: 'MTD_MODE_RAW' undeclared (first use in this
function) r = ioctl(mp->fd, MTDFILEMODE, (void *)MTD_MODE_RAW);
^
main.c: In function 'extract_main':
main.c:169:9: warning: variable 'j' set but not used
[-Wunused-but-set-variable] int i, j, r;
^
main.c: In function 'update_main':
main.c:444:9: warning: variable 'j' set but not used
[-Wunused-but-set-variable] int i, j, r;
^
main.c: In function 'init_main':
main.c:560:13: warning: variable 'image' set but not used
[-Wunused-but-set-variable] int flags, image;
^
main.c:558:9: warning: variable 'j' set but not used
[-Wunused-but-set-variable] int i, j, r;
^
main.c: In function 'imgverify_main':
main.c:705:9: warning: variable 'j' set but not used
[-Wunused-but-set-variable] int i, j;
^
make[2]: *** [mtd.o] Error 1
make[2]: *** Waiting for unfinished jobs....
mv -f .deps/main.Tpo .deps/main.Po
make[2]: Leaving directory
`/opt/BSP-Phytec-phyFLEX-i.MX6-PD13.1.0/platform-phyFLEX-i.MX6/build-target/kobs-ng-12.02.01/src'
make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory
`/opt/BSP-Phytec-phyFLEX-i.MX6-PD13.1.0/platform-phyFLEX-i.MX6/build-target/kobs-ng-12.02.01'
make: ***
[/opt/BSP-Phytec-phyFLEX-i.MX6-PD13.1.0/platform-phyFLEX-i.MX6/state/kobs-ng.compile]
Error 2