求ch32v307使用freertos系統(tǒng)移植TcpClient的例程

求ch32v307使用freertos系統(tǒng)移植TcpClient的例程,將網(wǎng)絡(luò)單獨(dú)作為任務(wù)編譯時(shí)出現(xiàn)以下錯(cuò)誤

16:21:33 **** 構(gòu)建 of configuration obj for project FreeRTOS-V307 ****

make -j20 all?

c:/mounriver/mounriver_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: ./User/Tcp.o: in function `WCHNET_CreateTcpSocket':

D:\開發(fā)\3-CH32V307\FreeRTOS-V307\obj/../User/Tcp.c:78: undefined reference to `WCHNET_SocketCreat'

c:/mounriver/mounriver_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: D:\開發(fā)\3-CH32V307\FreeRTOS-V307\obj/../User/Tcp.c:81: undefined reference to `WCHNET_SocketConnect'

c:/mounriver/mounriver_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: D:\開發(fā)\3-CH32V307\FreeRTOS-V307\obj/../User/Tcp.c:84: undefined reference to `WCHNET_GetVer'

c:/mounriver/mounriver_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: ./NetLib/eth_driver.o: in function `ETH_LibInit':

D:\開發(fā)\3-CH32V307\FreeRTOS-V307\obj/../NetLib/eth_driver.c:631: undefined reference to `WCHNET_ConfigLIB'

c:/mounriver/mounriver_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: D:\開發(fā)\3-CH32V307\FreeRTOS-V307\obj/../NetLib/eth_driver.c:635: undefined reference to `WCHNET_Init'

collect2.exe: error: ld returned 1 exit status

make: *** [makefile:60: FreeRTOS-V307.elf] Error 1


您好,可以對照檢查一下工程中有沒有添加網(wǎng)絡(luò)庫的路徑,如下圖

image.png


謝謝,已解決,是沒有添加網(wǎng)絡(luò)庫。


只有登錄才能回復(fù),可以選擇微信賬號(hào)登錄

国产91精品新入口,国产成人综合网在线播放,九热这里只有精品,本道在线观看,美女视频a美女视频,韩国美女激情视频,日本美女pvp视频