mirror of
https://github.com/apache/nuttx.git
synced 2026-10-10 15:50:23 +00:00
With CONFIG_EXECFUNCS_SYSTEM_SYMTAB, the make build generates exec_symtab.c from libc.csv, libm.csv and syscall.csv with the host tool mksymtab. CONFIG_LIBC_ELF_SYSTEM_SYMTAB does the same for elf_sys_symtab.c. The CMake build did neither, so a CMake configuration with one of these options did not link: binfmt_execsymtab.c: undefined reference to `g_symtab' Do the same in libs/libc/CMakeLists.txt: build mksymtab as a host tool, sort the three lists by name, generate the table with the configured array and count names, and add it to the C library. mksymtab runs in the build directory with relative names, so the output is the same as from the make build. Assisted-by: Claude Code:claude-opus-5-5 Signed-off-by: Marco Casaroli <marco.casaroli@gmail.com> |
||
|---|---|---|
| .. | ||
| libbuiltin | ||
| libc | ||
| libdsp | ||
| libm | ||
| libnx | ||
| libxx | ||
| CMakeLists.txt | ||