xiaotailang commented on issue #9059: URL: https://github.com/apache/nuttx/issues/9059#issuecomment-1521242711
Hi@alancassis Thank you for your previous suggestion. Following your advice, I recompiled ftpc and it is now functioning properly. However, it can only be compiled and used in the flat build configuration. When compiling in the protected build configuration, an error occurs during the linking stage of generating the app executable program, stating that the watchdog-related function definitions cannot be found. After investigating, I discovered that these functions are implemented at the kernel layer, and cannot be directly used in the application layer in protected build mode. Besides implementing system calls and registering callback functions, are there any other methods within NuttX to allow application layer access to kernel-level function interfaces in protected build mode? problem as follows: staging//libapps.a(ftpc_connect.o): In function `ftpc_connect': apps/netutils/ftpc/ftpc_connect.c:124: undefined reference to `wd_create' apps/netutils/ftpc/ftpc_connect.c:171: undefined reference to `wd_start' netutils/ftpc/ftpc_connect.c:229: undefined reference to `wd_cancel' -- 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]
