电子说
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
关了这个宏再编译就没有错误信息了。
全部0条评论
快来发表一下你的评论吧 !