j-couch opened a new issue, #11442: URL: https://github.com/apache/nuttx/issues/11442
I am trying to build with a custom apps directory following this guide: https://nuttx.apache.org/docs/latest/guides/customapps.html#custom-apps-how-to Using NuttX Release 12.3.0 in WSL (Linux version 5.15.133.1-microsoft-standard-WSL2), I created the example files listed in the guide and try to build `> ./tools/configure.sh -E -a ../CustomApps sim:nsh` runs fine `> make` has a build error: ``` /usr/bin/ld: nuttx.rel: warning: relocation against `g_builtins' in read-only section `.text.builtin_for_index' /usr/bin/ld: nuttx.rel: in function `builtin_for_index': /nuttx/libs/libc/builtin/lib_builtin_forindex.c:54: undefined reference to `g_builtin_count' /usr/bin/ld: /nuttx/libs/libc/builtin/lib_builtin_forindex.c:56: undefined reference to `g_builtins' /usr/bin/ld: warning: creating DT_TEXTREL in a PIE collect2: error: ld returned 1 exit status ``` Looking in normal Apps directory `g_builtin_count` and `g_builtins` are defined in `builtin/builtin_list.c`, does this or something similar need to be added to custom apps directory as well? Or maybe I have a configuration issue unnecessarily requiring `g_builtin_count` and `g_builtins`? Also just tested with latest `master` @ 804f713 and see the same issue -- 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]
