crafcat7 commented on PR #11303:
URL: https://github.com/apache/nuttx/pull/11303#issuecomment-1838141820

   I have encountered a problem. I tried to go and compile Native’s NuttX in my 
local Windows environment before making the changes, but it looks like there 
are some issues, so I can’t verify that the commits are correct after the 
changes.
   Here's the scene of the problem I encountered
   ```
   $ ./tools/configure.bat sim:nsh
   -bash: ./tools/configure.bat: No such file or directory
   
   /usr/bin/sh: line 1: /dev/null\: Not a directory
   /usr/bin/sh: line 1: /dev/null\: Not a directory
   /usr/bin/sh: line 1: /dev/null\: Not a directory
   /usr/bin/sh: line 1: /dev/null\: Not a directory
   /usr/bin/sh: line 1: /dev/null\: Not a directory
   /usr/bin/sh: line 1: /dev/null\: Not a directory
   process_begin: CreateProcess(D:\cygwin\bin\cc, cc -O2 -Wall 
-Wstrict-prototypes -Wshadow -DHAVE_STRTOK_C=1 -DHAVE_STRTOK_C=1 -o incdir 
incdir.c, ...) failed.
   make (e=5):
   make: *** [incdir] Error 5
   tools/version.sh: line 19: $'\r': command not found
   tools/version.sh: line 21: $'\r': command not found
   tools/version.sh: line 23: $'\r': command not found
   tools/version.sh: line 26: $'\r': command not found
   tools/version.sh: line 30: $'\r': command not found
   tools/version.sh: line 32: syntax error near unexpected token `$'in\r''
   'ools/version.sh: line 32: `  case $1 in
   mv: cannot stat '.version.tmp': No such file or directory
   /usr/bin/sh: line 1: /dev/null\: Not a directory
   /usr/bin/sh: line 1: /dev/null\: Not a directory
   /usr/bin/sh: line 1: /dev/null\: Not a directory
   /usr/bin/sh: line 1: /dev/null\: Not a directory
   /usr/bin/sh: line 1: /dev/null\: Not a directory
   /usr/bin/sh: line 1: /dev/null\: Not a directory
   process_begin: CreateProcess(D:\cygwin\bin\cc, cc -O2 -Wall 
-Wstrict-prototypes -Wshadow -DHAVE_STRTOK_C=1 -DHAVE_STRTOK_C=1 -o incdir 
incdir.c, ...) failed.
   make (e=5):
   make[1]: *** [incdir] Error 5
   tools/version.sh: line 19: $'\r': command not found
   tools/version.sh: line 21: $'\r': command not found
   tools/version.sh: line 23: $'\r': command not found
   tools/version.sh: line 26: $'\r': command not found
   tools/version.sh: line 30: $'\r': command not found
   tools/version.sh: line 32: syntax error near unexpected token `$'in\r''
   'ools/version.sh: line 32: `  case $1 in
   mv: cannot stat '.version.tmp': No such file or directory
   D:\cygwin\home\Mi\nuttxspace\nuttx\tools\unlink.sh: line 21: $'\r': command 
not found
   D:\cygwin\home\Mi\nuttxspace\nuttx\tools\unlink.sh: line 23: $'\r': command 
not found
   D:\cygwin\home\Mi\nuttxspace\nuttx\tools\unlink.sh: line 25: $'\r': command 
not found
   D:\cygwin\home\Mi\nuttxspace\nuttx\tools\unlink.sh: line 56: syntax error: 
unexpected end of file
   tools/[Unix.mk:406](http://unix.mk:406/): recipe for target 'clean_dirlinks' 
failed
   make[1]: *** [clean_dirlinks] Error 2
   tools/[Unix.mk:778](http://unix.mk:778/): recipe for target 'distclean' 
failed
   make: *** [distclean] Error 2
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to