CH32V307硬件浮點(diǎn)移植問題

加入硬件浮點(diǎn)后,使用wchnet網(wǎng)絡(luò)庫(kù),編譯報(bào)如下錯(cuò)誤問題,不使用網(wǎng)絡(luò)庫(kù)則不會(huì)報(bào)錯(cuò),我想和咨詢一下我的工程是不是哪里的配置沒弄對(duì)

d:/mounriver/mounriver_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: D:\work\AIT\AIT\ait1000_app_v1_1_6_20230518\lib\NetLib\libwchnet.a(eth_api.o): can't link soft-float modules with single-float modules

d:/mounriver/mounriver_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: failed to merge target specific data of file D:\work\AIT\AIT\ait1000_app_v1_1_6_20230518\lib\NetLib\libwchnet.a(eth_api.o)

d:/mounriver/mounriver_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: D:\work\AIT\AIT\ait1000_app_v1_1_6_20230518\lib\NetLib\libwchnet.a(ipcheck.o): can't link soft-float modules with single-float modules

d:/mounriver/mounriver_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: failed to merge target specific data of file D:\work\AIT\AIT\ait1000_app_v1_1_6_20230518\lib\NetLib\libwchnet.a(ipcheck.o)

d:/mounriver/mounriver_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: D:\work\AIT\AIT\ait1000_app_v1_1_6_20230518\lib\NetLib\libwchnet.a(net_dhcp.o): can't link soft-float modules with single-float modules

d:/mounriver/mounriver_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: failed to merge target specific data of file D:\work\AIT\AIT\ait1000_app_v1_1_6_20230518\lib\NetLib\libwchnet.a(net_dhcp.o)

d:/mounriver/mounriver_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: D:\work\AIT\AIT\ait1000_app_v1_1_6_20230518\lib\NetLib\libwchnet.a(net_dns.o): can't link soft-float modules with single-float modules

d:/mounriver/mounriver_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: failed to merge target specific data of file D:\work\AIT\AIT\ait1000_app_v1_1_6_20230518\lib\NetLib\libwchnet.a(net_dns.o)

d:/mounriver/mounriver_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: D:\work\AIT\AIT\ait1000_app_v1_1_6_20230518\lib\NetLib\libwchnet.a(socket.o): can't link soft-float modules with single-float modules

d:/mounriver/mounriver_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: failed to merge target specific data of file D:\work\AIT\AIT\ait1000_app_v1_1_6_20230518\lib\NetLib\libwchnet.a(socket.o)

d:/mounriver/mounriver_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: D:\work\AIT\AIT\ait1000_app_v1_1_6_20230518\lib\NetLib\libwchnet.a(etharp.o): can't link soft-float modules with single-float modules

d:/mounriver/mounriver_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: failed to merge target specific data of file D:\work\AIT\AIT\ait1000_app_v1_1_6_20230518\lib\NetLib\libwchnet.a(etharp.o)

d:/mounriver/mounriver_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: D:\work\AIT\AIT\ait1000_app_v1_1_6_20230518\lib\NetLib\libwchnet.a(ethernetif.o): can't link soft-float modules with single-float modules

d:/mounriver/mounriver_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: failed to merge target specific data of file D:\work\AIT\AIT\ait1000_app_v1_1_6_20230518\lib\NetLib\libwchnet.a(ethernetif.o)

d:/mounriver/mounriver_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: D:\work\AIT\AIT\ait1000_app_v1_1_6_20230518\lib\NetLib\libwchnet.a(inet.o): can't link soft-float modules with single-float modules

d:/mounriver/mounriver_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: failed to merge target specific data of file D:\work\AIT\AIT\ait1000_app_v1_1_6_20230518\lib\NetLib\libwchnet.a(inet.o)

d:/mounriver/mounriver_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: D:\work\AIT\AIT\ait1000_app_v1_1_6_20230518\lib\NetLib\libwchnet.a(ip.o): can't link soft-float modules with single-float modules

d:/mounriver/mounriver_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: failed to merge target specific data of file D:\work\AIT\AIT\ait1000_app_v1_1_6_20230518\lib\NetLib\libwchnet.a(ip.o)

d:/mounriver/mounriver_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: D:\work\AIT\AIT\ait1000_app_v1_1_6_20230518\lib\NetLib\libwchnet.a(ip_addr.o): can't link soft-float modules with single-float modules

d:/mounriver/mounriver_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: failed to merge target specific data of file D:\work\AIT\AIT\ait1000_app_v1_1_6_20230518\lib\NetLib\libwchnet.a(ip_addr.o)

d:/mounriver/mounriver_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: D:\work\AIT\AIT\ait1000_app_v1_1_6_20230518\lib\NetLib\libwchnet.a(ip_frag.o): can't link soft-float modules with single-float modules

d:/mounriver/mounriver_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: failed to merge target specific data of file D:\work\AIT\AIT\ait1000_app_v1_1_6_20230518\lib\NetLib\libwchnet.a(ip_frag.o)

d:/mounriver/mounriver_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: D:\work\AIT\AIT\ait1000_app_v1_1_6_20230518\lib\NetLib\libwchnet.a(dhcp.o): can't link soft-float modules with single-float modules

d:/mounriver/mounriver_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: failed to merge target specific data of file D:\work\AIT\AIT\ait1000_app_v1_1_6_20230518\lib\NetLib\libwchnet.a(dhcp.o)

d:/mounriver/mounriver_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: D:\work\AIT\AIT\ait1000_app_v1_1_6_20230518\lib\NetLib\libwchnet.a(dns.o): can't link soft-float modules with single-float modules

d:/mounriver/mounriver_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: failed to merge target specific data of file D:\work\AIT\AIT\ait1000_app_v1_1_6_20230518\lib\NetLib\libwchnet.a(dns.o)

d:/mounriver/mounriver_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: D:\work\AIT\AIT\ait1000_app_v1_1_6_20230518\lib\NetLib\libwchnet.a(init.o): can't link soft-float modules with single-float modules

d:/mounriver/mounriver_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: failed to merge target specific data of file D:\work\AIT\AIT\ait1000_app_v1_1_6_20230518\lib\NetLib\libwchnet.a(init.o)

d:/mounriver/mounriver_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: D:\work\AIT\AIT\ait1000_app_v1_1_6_20230518\lib\NetLib\libwchnet.a(mem.o): can't link soft-float modules with single-float modules

d:/mounriver/mounriver_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: failed to merge target specific data of file D:\work\AIT\AIT\ait1000_app_v1_1_6_20230518\lib\NetLib\libwchnet.a(mem.o)

d:/mounriver/mounriver_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: D:\work\AIT\AIT\ait1000_app_v1_1_6_20230518\lib\NetLib\libwchnet.a(memp.o): can't link soft-float modules with single-float modules

d:/mounriver/mounriver_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: failed to merge target specific data of file D:\work\AIT\AIT\ait1000_app_v1_1_6_20230518\lib\NetLib\libwchnet.a(memp.o)

d:/mounriver/mounriver_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: D:\work\AIT\AIT\ait1000_app_v1_1_6_20230518\lib\NetLib\libwchnet.a(netif.o): can't link soft-float modules with single-float modules

d:/mounriver/mounriver_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: failed to merge target specific data of file D:\work\AIT\AIT\ait1000_app_v1_1_6_20230518\lib\NetLib\libwchnet.a(netif.o)

d:/mounriver/mounriver_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: D:\work\AIT\AIT\ait1000_app_v1_1_6_20230518\lib\NetLib\libwchnet.a(pbuf.o): can't link soft-float modules with single-float modules

d:/mounriver/mounriver_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: failed to merge target specific data of file D:\work\AIT\AIT\ait1000_app_v1_1_6_20230518\lib\NetLib\libwchnet.a(pbuf.o)

d:/mounriver/mounriver_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: D:\work\AIT\AIT\ait1000_app_v1_1_6_20230518\lib\NetLib\libwchnet.a(raw.o): can't link soft-float modules with single-float modules

d:/mounriver/mounriver_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: failed to merge target specific data of file D:\work\AIT\AIT\ait1000_app_v1_1_6_20230518\lib\NetLib\libwchnet.a(raw.o)

d:/mounriver/mounriver_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: D:\work\AIT\AIT\ait1000_app_v1_1_6_20230518\lib\NetLib\libwchnet.a(tcp.o): can't link soft-float modules with single-float modules

d:/mounriver/mounriver_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: failed to merge target specific data of file D:\work\AIT\AIT\ait1000_app_v1_1_6_20230518\lib\NetLib\libwchnet.a(tcp.o)

d:/mounriver/mounriver_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: D:\work\AIT\AIT\ait1000_app_v1_1_6_20230518\lib\NetLib\libwchnet.a(tcp_in.o): can't link soft-float modules with single-float modules

d:/mounriver/mounriver_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: failed to merge target specific data of file D:\work\AIT\AIT\ait1000_app_v1_1_6_20230518\lib\NetLib\libwchnet.a(tcp_in.o)

d:/mounriver/mounriver_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: D:\work\AIT\AIT\ait1000_app_v1_1_6_20230518\lib\NetLib\libwchnet.a(tcp_out.o): can't link soft-float modules with single-float modules

d:/mounriver/mounriver_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: failed to merge target specific data of file D:\work\AIT\AIT\ait1000_app_v1_1_6_20230518\lib\NetLib\libwchnet.a(tcp_out.o)

d:/mounriver/mounriver_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: D:\work\AIT\AIT\ait1000_app_v1_1_6_20230518\lib\NetLib\libwchnet.a(udp.o): can't link soft-float modules with single-float modules

d:/mounriver/mounriver_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: failed to merge target specific data of file D:\work\AIT\AIT\ait1000_app_v1_1_6_20230518\lib\NetLib\libwchnet.a(udp.o)

d:/mounriver/mounriver_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: D:\work\AIT\AIT\ait1000_app_v1_1_6_20230518\lib\NetLib\libwchnet.a(icmp.o): can't link soft-float modules with single-float modules

d:/mounriver/mounriver_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: failed to merge target specific data of file D:\work\AIT\AIT\ait1000_app_v1_1_6_20230518\lib\NetLib\libwchnet.a(icmp.o)

d:/mounriver/mounriver_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: D:\work\AIT\AIT\ait1000_app_v1_1_6_20230518\lib\NetLib\libwchnet.a(inet_chksum.o): can't link soft-float modules with single-float modules

d:/mounriver/mounriver_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: failed to merge target specific data of file D:\work\AIT\AIT\ait1000_app_v1_1_6_20230518\lib\NetLib\libwchnet.a(inet_chksum.o)

collect2.exe: error: ld returned 1 exit status

make: *** [makefile:65: ait1000_pmu_app.elf] Error 1


您好,需要使用以太網(wǎng)浮點(diǎn)庫(kù),先將以太網(wǎng)浮點(diǎn)庫(kù)參與編譯,然后在工程屬性中添加以太網(wǎng)浮點(diǎn)庫(kù)即可

image.pngimage.png


感謝,已解決


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

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