You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2020/02/26 22:17:32 UTC

[GitHub] [incubator-nuttx] patacongo opened a new issue #386: Windows Configure Warnings

patacongo opened a new issue #386: Windows Configure Warnings
URL: https://github.com/apache/incubator-nuttx/issues/386
 
 
   For the past few weeks, I have bee seen new warnings when I configure any board under Cygwin or MSYS.  There are the warning I see right now on MSYS (same warnings on Cygwin):
   
       $ tools/configure.sh -g z20x:sdboot
         Copy files
         Select CONFIG_HOST_WINDOWS=y
         Select CONFIG_WINDOWS_MSYS=y
         Refreshing...
       .config:54:warning: override: reassigning to symbol HOST_WINDOWS
       .config:54:warning: override: HOST_WINDOWS changes choice state
   
   I think the first is caused by
   
       # CONFIG_HOST_WINDOWS is not set
   
   followed by
   
       CONFIG_HOST_WINDOWS=y
   
   That is invalid because CONFIG_HOST_WINDOWS is both disable and enabled.  The correctly solution would be either (2) use kconfig-tweak which will to both or (2) use sed to expicitly remove CONFIG_HOST_WINDOWS before adding CONFIG_HOST_WINDOWS=y

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-nuttx] patacongo commented on issue #386: Windows Configure Warnings

Posted by GitBox <gi...@apache.org>.
patacongo commented on issue #386:
URL: https://github.com/apache/incubator-nuttx/issues/386#issuecomment-620110570


   Issue #386 is still a problem.  I think this occurs when you configure on a Windows Cygwin or MSYS but the defconfig is Linux.  It will try to convert the configure to Windows Cygwin or MSY but the make oldconfig then generates warnings.
   
   This was not a problem in the past because kconfig-tweak was used to modify defconfig files.  That was replaced with sed.   kconfig-tweak is safe and always generates a correct configuration.  sed is not safe and creates invalid defconfig configurations that generate errors when we try to produce the .config (via make olddefconfig)


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-nuttx] patacongo commented on issue #386: Windows Configure Warnings

Posted by GitBox <gi...@apache.org>.
patacongo commented on issue #386:
URL: https://github.com/apache/incubator-nuttx/issues/386#issuecomment-620165228


   NOTE:  The macOS builds will fail.  The kconfig-frontends were not built correctly.  They need to build kconfig-frontends which must be enabled on the configure command line.


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org