undefined reference to `rt_thread_join'
时间: 2023-11-26 09:02:32 浏览: 38
This error message typically indicates that the linker is unable to find the definition of the function `rt_thread_join`.
The function `rt_thread_join` is typically part of the Real-Time Operating System (RTOS) library, which provides a set of functions for managing threads in real-time applications.
To resolve this error, you need to ensure that the RTOS library is properly linked to your application. This may involve updating your build configuration or modifying your linker script to include the necessary library files.
You should also verify that you have included the header file for the RTOS library in your source code. This header file typically contains the function prototypes and other declarations needed to use the RTOS library functions in your application.