In file included from /usr/include/fcntl.h:279:0, from ../basic_cmd_lib/basic_cmd_lib.h:28, from basic_cmd_tool.c:21: In function ‘open’, inlined from ‘main’ at basic_cmd_tool.c:125:7: /usr/include/x86_64-linux-gnu/bits/fcntl2.h:50:24: error: call to ‘__open_missing_mode’ declared with attribute error: open with O_CREAT in second argument needs 3 arguments __open_missing_mode (); ^ make[1]: *** [basic_cmd_tool.o] Error 1 make[1]: Leaving directory `/home/larry/Downloads/NathanStuff/GCW-Zero/ingenic-boot/source/basic_cmd_tool' make: *** [bin/basic_cmd_tool] Error 2