extinguish opened a new pull request, #17924: URL: https://github.com/apache/nuttx/pull/17924
## Summary Add CONFIG_NET, CONFIG_NET_SOCKOPTS, and CONFIG_SYSTEM_SYSTEM to posix_test configuration to provide the network socket options and NXsystem() API required by LTP testcases, resolving undefined reference errors during linking. the following are the detailed link error: ``` /home/testing/apps/testing/ltp/ltp/testcases/kernel/device-drivers/zram/zram03.c:175: undefined reference to `NXsystem' /usr/bin/ld: nuttx.rel: in function `setup': /home/testing/apps/testing/ltp/ltp/testcases/kernel/device-drivers/zram/zram03.c:158: undefined reference to `NXsystem' /usr/bin/ld: nuttx.rel: in function `setup': /home/testing/apps/testing/ltp/ltp/testcases/kernel/syscalls/sendmsg/sendmsg01.c:554: undefined reference to `NXsystem' /usr/bin/ld: /home/testing/apps/testing/ltp/ltp/testcases/kernel/syscalls/sendmsg/sendmsg01.c:556: undefined reference to `NXsystem' /usr/bin/ld: nuttx.rel: in function `ltp_fs_inode_inode01_main': /home/testing/apps/testing/ltp/ltp/ltp/lib/safe_net.c:511: undefined reference to `NXsetsocket' /usr/bin/ld: nuttx.rel: in function `safe_getsockopt': ``` ## Impact 1. Allows LTP test suites that depend on network and system‑call functionality to build and run. 2. No impact on existing posix_test functionality—only enables additional subsystems that were previously missing. ## Testing Verified that the modified posix_test configuration builds without errors. -- 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]
