RT-Studio 報錯信息如下:
14:42:55 **** Incremental Build of configuration Debug for project art_pi_lvgl ****
make -j8 all
linking...
E:RT-ThreadStudioworkspaceart_pi_lvgllibrarieswlan_wiced_liblibwifi_6212_armcm7_2.1.2_gcc.a(board_wifi.o): In function wifi_hw_init': E:current_workdakuart-pi-sdkprojectsart_pi_blink_led/packageswlan-wiced-src-latestwiced-3.3.1board/board_wifi.c:158: undefined reference to rt_strcmp'
collect2.exe: error: ld returned 1 exit status
make: *** [makefile:151: rtthread.elf] Error 1
"make -j8 all" terminated with exit code 2. Build might be incomplete.
14:43:01 Build Failed. 2 errors, 0 warnings. (took 6s.526ms)
提示找不到rt_strcmp,進一步排查發現rt_config.h中開啟了宏RT_KSERVICE_USING_STDLIB

關了這個宏再編譯就沒有錯誤信息了。
-
gcc編譯器
+關注
關注
0文章
78瀏覽量
3989 -
RTThread
+關注
關注
8文章
132瀏覽量
42721
發布評論請先 登錄
“The command 'arduino-verify-sketch' cannot be executed.錯誤解決方案
RT-Thread Studio創建一個 Nano項目后,使用CubeMX進行配置FMC總線后編譯報錯怎么解決?
通過rt_thread studio的setting加入CmBacktraceV1.4.1后編譯報鏈接錯誤,怎么解決?
移植Nano板報錯error: #20: identifier “va_list” is undefined怎么解決?
RT-Thread Studio 2.2.8創建新項目直接構建編譯報錯怎么解決?
開啟POSIX支持后,編譯出錯的原因?怎么解決?
調用rt_timer_check函數就報錯怎么解決?
RT Studio編譯報錯error: unknown type name \'suseconds_t\'的原因?
安裝RT thread studio后創建RT thread 項目報錯怎么解決?
2K300 make uImage 報錯dts
rt_mb_send_wait中,為什么要重新計算一次timeout?
調用rt_timer_check函數就報錯,為什么?
一次消諧裝置與二次消諧裝置區別、一次消諧器與二次消諧器的區別
rthread記錄一次編譯報錯:undefined reference to `rt_strcmp'
評論