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,進(jìn)一步排查發(fā)現(xiàn)rt_config.h中開啟了宏RT_KSERVICE_USING_STDLIB

關(guān)了這個宏再編譯就沒有錯誤信息了。
-
gcc編譯器
+關(guān)注
關(guān)注
0文章
78瀏覽量
3924 -
RTThread
+關(guān)注
關(guān)注
8文章
133瀏覽量
42572
發(fā)布評論請先 登錄
“The command 'arduino-verify-sketch' cannot be executed.錯誤解決方案
RT-Thread Studio創(chuàng)建一個 Nano項目后,使用CubeMX進(jìn)行配置FMC總線后編譯報錯怎么解決?
通過rt_thread studio的setting加入CmBacktraceV1.4.1后編譯報鏈接錯誤,怎么解決?
移植Nano板報錯error: #20: identifier “va_list” is undefined怎么解決?
RT-Thread Studio 2.2.8創(chuàng)建新項目直接構(gòu)建編譯報錯怎么解決?
開啟POSIX支持后,編譯出錯的原因?怎么解決?
開啟ulog后編譯報錯uint8_t未定義是什么原因?
調(diào)用rt_timer_check函數(shù)就報錯怎么解決?
RT Studio編譯報錯error: unknown type name \'suseconds_t\'的原因?
安裝RT thread studio后創(chuàng)建RT thread 項目報錯怎么解決?
2K300 make uImage 報錯dts
rt_mb_send_wait中,為什么要重新計算一次timeout?
調(diào)用rt_timer_check函數(shù)就報錯,為什么?
一次消諧裝置與二次消諧裝置區(qū)別、一次消諧器與二次消諧器的區(qū)別

rthread記錄一次編譯報錯:undefined reference to `rt_strcmp'
評論