Hello Team, I am getting the below error during compilation of the incubator-nuttx code using Cygwin:
"Fatal error: can't create clock_initialize.o: Permission denied clock/clock_initialize.c:427:1: fatal error: error writing to -: Invalid argument } ^ compilation terminated. make[1]: *** [Makefile:77: clock_initialize.o] Error 1 " After checking, I observed that the below modification (line 133:135) in the Application.mk is causing this error: ifeq ($(WINTOOL),y) $(call ARLOCK, "${shell cygpath -w $(BIN)}", $(OBJS)) else $(call ARLOCK, $(BIN), $(OBJS)) Endif If I revert back to ARCHIVE in place of ARLOCK, and removing the below lines from Make.defs I am able to compile the code base: define ARLOCK $(Q) flock $1.lock $(call ARCHIVE, $1, $(2)) Endef Does anyone face this issue? Regards, RB ________________________________ Disclaimer: This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient of this message , or if this message has been addressed to you in error, please immediately alert the sender by reply email and then delete this message and any attachments. If you are not the intended recipient, you are hereby notified that any use, dissemination, copying, or storage of this message or its attachments is strictly prohibited. Email transmission cannot be guaranteed to be secure or error-free, as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender, therefore, does not accept liability for any errors, omissions or contaminations in the contents of this message which might have occurred as a result of email transmission. If verification is required, please request for a hard-copy version. ________________________________