mirror of
https://github.com/apache/nuttx.git
synced 2026-05-18 17:18:28 +08:00
9503d57634
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': ``` Signed-off-by: guoshichao <guoshichao@xiaomi.com>