simbit18 commented on PR #18299:
URL: https://github.com/apache/nuttx/pull/18299#issuecomment-3834962448

   Hi @adwait-godbole every change must be tested with this 
esp32-devkitc/nxdiag.
   
   
   ```
   
========================================================================================================================================================================
   Configuration/Tool: esp32-devkitc/nxdiag
   2026-02-01 20:19:24
   
------------------------------------------------------------------------------------
     Cleaning...
     Configuring...
     Building NuttX...
   In file included from nxdiag.c:36:
   Error: sysinfo.h:17:293: error: 'github' undeclared here (not in a function)
      17 |   "-fno-common -Wall -Wstrict-prototypes -Wshadow -Wundef 
-Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing 
-fomit-frame-pointer -ffunction-sections -fdata-sections -mlongcalls -isystem 
/github/workspace/sources/nuttx/include -D__NuttX__ -DNDEBUG -Wno-cpp -Werror 
-I "/github/workspace/sources/apps/include"",
         |                                                                      
                                                                                
                                                                                
                                                               ^~~~~~
   Error: sysinfo.h:17:300: error: 'workspace' undeclared here (not in a 
function)
      17 |   "-fno-common -Wall -Wstrict-prototypes -Wshadow -Wundef 
-Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing 
-fomit-frame-pointer -ffunction-sections -fdata-sections -mlongcalls -isystem 
/github/workspace/sources/nuttx/include -D__NuttX__ -DNDEBUG -Wno-cpp -Werror 
-I "/github/workspace/sources/apps/include"",
         |                                                                      
                                                                                
                                                                                
                                                                      ^~~~~~~~~
   Error: sysinfo.h:17:310: error: 'sources' undeclared here (not in a function)
      17 |   "-fno-common -Wall -Wstrict-prototypes -Wshadow -Wundef 
-Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing 
-fomit-frame-pointer -ffunction-sections -fdata-sections -mlongcalls -isystem 
/github/workspace/sources/nuttx/include -D__NuttX__ -DNDEBUG -Wno-cpp -Werror 
-I "/github/workspace/sources/apps/include"",
         |                                                                      
                                                                                
                                                                                
                                                                                
^~~~~~~
   Error: sysinfo.h:17:318: error: 'apps' undeclared here (not in a function)
      17 |   "-fno-common -Wall -Wstrict-prototypes -Wshadow -Wundef 
-Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing 
-fomit-frame-pointer -ffunction-sections -fdata-sections -mlongcalls -isystem 
/github/workspace/sources/nuttx/include -D__NuttX__ -DNDEBUG -Wno-cpp -Werror 
-I "/github/workspace/sources/apps/include"",
         |                                                                      
                                                                                
                                                                                
                                                                                
        ^~~~
   Error: sysinfo.h:17:323: error: 'include' undeclared here (not in a 
function); did you mean 'inode'?
      17 |   "-fno-common -Wall -Wstrict-prototypes -Wshadow -Wundef 
-Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing 
-fomit-frame-pointer -ffunction-sections -fdata-sections -mlongcalls -isystem 
/github/workspace/sources/nuttx/include -D__NuttX__ -DNDEBUG -Wno-cpp -Werror 
-I "/github/workspace/sources/apps/include"",
         |                                                                      
                                                                                
                                                                                
                                                                                
             ^~~~~~~
         |                                                                      
                                                                                
                                                                                
                                                                                
             inode
   Error: sysinfo.h:17:330: error: expected '}' before string constant
      17 |   "-fno-common -Wall -Wstrict-prototypes -Wshadow -Wundef 
-Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing 
-fomit-frame-pointer -ffunction-sections -fdata-sections -mlongcalls -isystem 
/github/workspace/sources/nuttx/include -D__NuttX__ -DNDEBUG -Wno-cpp -Werror 
-I "/github/workspace/sources/apps/include"",
         |                                                                      
                                                                                
                                                                                
                                                                                
                    ^~
   sysinfo.h:16:1: note: to match this '{'
      16 | {
         | ^
   Error: sysinfo.h:23:105: error: expected '}' before 'gnu'
      23 |   "-fno-common -Wall -Wshadow -Wundef -Wno-attributes 
-Wno-unknown-pragmas -nostdinc++ -Wno-psabi -std="gnu++17" -fno-exceptions 
-fcheck-new -fno-rtti -Os -fno-strict-aliasing -fomit-frame-pointer 
-ffunction-sections -fdata-sections -mlongcalls -isystem 
/github/workspace/sources/nuttx/include/cxx -isystem 
/github/workspace/sources/nuttx/include -D__NuttX__ -DNDEBUG -Wno-cpp -Werror 
-I "/github/workspace/sources/apps/include"",
         |                                                                      
                                   ^~~
   sysinfo.h:22:1: note: to match this '{'
      22 | {
         | ^
   make[2]: *** [/github/workspace/sources/apps/Application.mk:330: 
nxdiag.c.github.workspace.sources.apps.system.nxdiag.o] Error 1
   make[2]: Target 'all' not remade because of errors.
   make[1]: *** [Makefile:54: /github/workspace/sources/apps/system/nxdiag_all] 
Error 2
   make[1]: Target 'all' not remade because of errors.
   make: *** [tools/LibTargets.mk:248: 
/github/workspace/sources/apps/libapps.a] Error 2
   make: Target 'all' not remade because of errors.
   /github/workspace/sources/nuttx/tools/testbuild.sh: line 385: 
/github/workspace/sources/nuttx/../nuttx/nuttx.manifest: No such file or 
directory
     [1/1] Normalize esp32-devkitc/nxdiag
   
====================================================================================
   
   Configuration/Tool: esp32-devkitc/nxdiag
   2026-02-01 20:19:24
   
------------------------------------------------------------------------------------
     Cleaning...
     Configuring...
     Building NuttX...
   In file included from nxdiag.c:36:
   Error: sysinfo.h:17:293: error: 'github' undeclared here (not in a function)
      17 |   "-fno-common -Wall -Wstrict-prototypes -Wshadow -Wundef 
-Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing 
-fomit-frame-pointer -ffunction-sections -fdata-sections -mlongcalls -isystem 
/github/workspace/sources/nuttx/include -D__NuttX__ -DNDEBUG -Wno-cpp -Werror 
-I "/github/workspace/sources/apps/include"",
         |                                                                      
                                                                                
                                                                                
                                                               ^~~~~~
   Error: sysinfo.h:17:300: error: 'workspace' undeclared here (not in a 
function)
      17 |   "-fno-common -Wall -Wstrict-prototypes -Wshadow -Wundef 
-Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing 
-fomit-frame-pointer -ffunction-sections -fdata-sections -mlongcalls -isystem 
/github/workspace/sources/nuttx/include -D__NuttX__ -DNDEBUG -Wno-cpp -Werror 
-I "/github/workspace/sources/apps/include"",
         |                                                                      
                                                                                
                                                                                
                                                                      ^~~~~~~~~
   Error: sysinfo.h:17:310: error: 'sources' undeclared here (not in a function)
      17 |   "-fno-common -Wall -Wstrict-prototypes -Wshadow -Wundef 
-Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing 
-fomit-frame-pointer -ffunction-sections -fdata-sections -mlongcalls -isystem 
/github/workspace/sources/nuttx/include -D__NuttX__ -DNDEBUG -Wno-cpp -Werror 
-I "/github/workspace/sources/apps/include"",
         |                                                                      
                                                                                
                                                                                
                                                                                
^~~~~~~
   Error: sysinfo.h:17:318: error: 'apps' undeclared here (not in a function)
      17 |   "-fno-common -Wall -Wstrict-prototypes -Wshadow -Wundef 
-Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing 
-fomit-frame-pointer -ffunction-sections -fdata-sections -mlongcalls -isystem 
/github/workspace/sources/nuttx/include -D__NuttX__ -DNDEBUG -Wno-cpp -Werror 
-I "/github/workspace/sources/apps/include"",
         |                                                                      
                                                                                
                                                                                
                                                                                
        ^~~~
   Error: sysinfo.h:17:323: error: 'include' undeclared here (not in a 
function); did you mean 'inode'?
      17 |   "-fno-common -Wall -Wstrict-prototypes -Wshadow -Wundef 
-Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing 
-fomit-frame-pointer -ffunction-sections -fdata-sections -mlongcalls -isystem 
/github/workspace/sources/nuttx/include -D__NuttX__ -DNDEBUG -Wno-cpp -Werror 
-I "/github/workspace/sources/apps/include"",
         |                                                                      
                                                                                
                                                                                
                                                                                
             ^~~~~~~
         |                                                                      
                                                                                
                                                                                
                                                                                
             inode
   Error: sysinfo.h:17:330: error: expected '}' before string constant
      17 |   "-fno-common -Wall -Wstrict-prototypes -Wshadow -Wundef 
-Wno-attributes -Wno-unknown-pragmas -Wno-psabi -Os -fno-strict-aliasing 
-fomit-frame-pointer -ffunction-sections -fdata-sections -mlongcalls -isystem 
/github/workspace/sources/nuttx/include -D__NuttX__ -DNDEBUG -Wno-cpp -Werror 
-I "/github/workspace/sources/apps/include"",
         |                                                                      
                                                                                
                                                                                
                                                                                
                    ^~
   sysinfo.h:16:1: note: to match this '{'
      16 | {
         | ^
   Error: sysinfo.h:23:105: error: expected '}' before 'gnu'
      23 |   "-fno-common -Wall -Wshadow -Wundef -Wno-attributes 
-Wno-unknown-pragmas -nostdinc++ -Wno-psabi -std="gnu++17" -fno-exceptions 
-fcheck-new -fno-rtti -Os -fno-strict-aliasing -fomit-frame-pointer 
-ffunction-sections -fdata-sections -mlongcalls -isystem 
/github/workspace/sources/nuttx/include/cxx -isystem 
/github/workspace/sources/nuttx/include -D__NuttX__ -DNDEBUG -Wno-cpp -Werror 
-I "/github/workspace/sources/apps/include"",
         |                                                                      
                                   ^~~
   sysinfo.h:22:1: note: to match this '{'
      22 | {
         | ^
   make[2]: *** [/github/workspace/sources/apps/Application.mk:330: 
nxdiag.c.github.workspace.sources.apps.system.nxdiag.o] Error 1
   make[2]: Target 'all' not remade because of errors.
   make[1]: *** [Makefile:54: /github/workspace/sources/apps/system/nxdiag_all] 
Error 2
   make[1]: Target 'all' not remade because of errors.
   make: *** [tools/LibTargets.mk:248: 
/github/workspace/sources/apps/libapps.a] Error 2
   make: Target 'all' not remade because of errors.
   /github/workspace/sources/nuttx/tools/testbuild.sh: line 385: 
/github/workspace/sources/nuttx/../nuttx/nuttx.manifest: No such file or 
directory
     [1/1] Normalize esp32-devkitc/nxdiag
   
====================================================================================
   
   ```


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