同时启使用wchnet和FUP提示报错
h:/mounriver/mounriver_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: C:\MRS_DATA\workspace\CH32V307VCT6\ETH_NET\libwchnet.a(eth_api.o): can't link soft-float modules with single-float modules
h:/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 C:\MRS_DATA\workspace\CH32V307VCT6\ETH_NET\libwchnet.a(eth_api.o)
h:/mounriver/mounriver_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: C:\MRS_DATA\workspace\CH32V307VCT6\ETH_NET\libwchnet.a(ipcheck.o): can't link soft-float modules with single-float modules
h:/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 C:\MRS_DATA\workspace\CH32V307VCT6\ETH_NET\libwchnet.a(ipcheck.o)
h:/mounriver/mounriver_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: C:\MRS_DATA\workspace\CH32V307VCT6\ETH_NET\libwchnet.a(net_dhcp.o): can't link soft-float modules with single-float modules
h:/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 C:\MRS_DATA\workspace\CH32V307VCT6\ETH_NET\libwchnet.a(net_dhcp.o)
h:/mounriver/mounriver_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: C:\MRS_DATA\workspace\CH32V307VCT6\ETH_NET\libwchnet.a(net_dns.o): can't link soft-float modules with single-float modules
h:/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 C:\MRS_DATA\workspace\CH32V307VCT6\ETH_NET\libwchnet.a(net_dns.o)
h:/mounriver/mounriver_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: C:\MRS_DATA\workspace\CH32V307VCT6\ETH_NET\libwchnet.a(socket.o): can't link soft-float modules with single-float modules
h:/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 C:\MRS_DATA\workspace\CH32V307VCT6\ETH_NET\libwchnet.a(socket.o)
h:/mounriver/mounriver_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: C:\MRS_DATA\workspace\CH32V307VCT6\ETH_NET\libwchnet.a(etharp.o): can't link soft-float modules with single-float modules
h:/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 C:\MRS_DATA\workspace\CH32V307VCT6\ETH_NET\libwchnet.a(etharp.o)
h:/mounriver/mounriver_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: C:\MRS_DATA\workspace\CH32V307VCT6\ETH_NET\libwchnet.a(ethernetif.o): can't link soft-float modules with single-float modules
h:/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 C:\MRS_DATA\workspace\CH32V307VCT6\ETH_NET\libwchnet.a(ethernetif.o)
h:/mounriver/mounriver_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: C:\MRS_DATA\workspace\CH32V307VCT6\ETH_NET\libwchnet.a(inet.o): can't link soft-float modules with single-float modules
h:/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 C:\MRS_DATA\workspace\CH32V307VCT6\ETH_NET\libwchnet.a(inet.o)
h:/mounriver/mounriver_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: C:\MRS_DATA\workspace\CH32V307VCT6\ETH_NET\libwchnet.a(ip.o): can't link soft-float modules with single-float modules
h:/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 C:\MRS_DATA\workspace\CH32V307VCT6\ETH_NET\libwchnet.a(ip.o)
h:/mounriver/mounriver_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: C:\MRS_DATA\workspace\CH32V307VCT6\ETH_NET\libwchnet.a(ip_addr.o): can't link soft-float modules with single-float modules
h:/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 C:\MRS_DATA\workspace\CH32V307VCT6\ETH_NET\libwchnet.a(ip_addr.o)
h:/mounriver/mounriver_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: C:\MRS_DATA\workspace\CH32V307VCT6\ETH_NET\libwchnet.a(ip_frag.o): can't link soft-float modules with single-float modules
h:/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 C:\MRS_DATA\workspace\CH32V307VCT6\ETH_NET\libwchnet.a(ip_frag.o)
h:/mounriver/mounriver_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: C:\MRS_DATA\workspace\CH32V307VCT6\ETH_NET\libwchnet.a(dhcp.o): can't link soft-float modules with single-float modules
h:/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 C:\MRS_DATA\workspace\CH32V307VCT6\ETH_NET\libwchnet.a(dhcp.o)
h:/mounriver/mounriver_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: C:\MRS_DATA\workspace\CH32V307VCT6\ETH_NET\libwchnet.a(dns.o): can't link soft-float modules with single-float modules
h:/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 C:\MRS_DATA\workspace\CH32V307VCT6\ETH_NET\libwchnet.a(dns.o)
h:/mounriver/mounriver_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: C:\MRS_DATA\workspace\CH32V307VCT6\ETH_NET\libwchnet.a(init.o): can't link soft-float modules with single-float modules
h:/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 C:\MRS_DATA\workspace\CH32V307VCT6\ETH_NET\libwchnet.a(init.o)
h:/mounriver/mounriver_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: C:\MRS_DATA\workspace\CH32V307VCT6\ETH_NET\libwchnet.a(mem.o): can't link soft-float modules with single-float modules
h:/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 C:\MRS_DATA\workspace\CH32V307VCT6\ETH_NET\libwchnet.a(mem.o)
h:/mounriver/mounriver_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: C:\MRS_DATA\workspace\CH32V307VCT6\ETH_NET\libwchnet.a(memp.o): can't link soft-float modules with single-float modules
h:/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 C:\MRS_DATA\workspace\CH32V307VCT6\ETH_NET\libwchnet.a(memp.o)
h:/mounriver/mounriver_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: C:\MRS_DATA\workspace\CH32V307VCT6\ETH_NET\libwchnet.a(netif.o): can't link soft-float modules with single-float modules
h:/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 C:\MRS_DATA\workspace\CH32V307VCT6\ETH_NET\libwchnet.a(netif.o)
h:/mounriver/mounriver_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: C:\MRS_DATA\workspace\CH32V307VCT6\ETH_NET\libwchnet.a(pbuf.o): can't link soft-float modules with single-float modules
h:/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 C:\MRS_DATA\workspace\CH32V307VCT6\ETH_NET\libwchnet.a(pbuf.o)
h:/mounriver/mounriver_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: C:\MRS_DATA\workspace\CH32V307VCT6\ETH_NET\libwchnet.a(raw.o): can't link soft-float modules with single-float modules
h:/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 C:\MRS_DATA\workspace\CH32V307VCT6\ETH_NET\libwchnet.a(raw.o)
h:/mounriver/mounriver_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: C:\MRS_DATA\workspace\CH32V307VCT6\ETH_NET\libwchnet.a(tcp.o): can't link soft-float modules with single-float modules
h:/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 C:\MRS_DATA\workspace\CH32V307VCT6\ETH_NET\libwchnet.a(tcp.o)
h:/mounriver/mounriver_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: C:\MRS_DATA\workspace\CH32V307VCT6\ETH_NET\libwchnet.a(tcp_in.o): can't link soft-float modules with single-float modules
h:/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 C:\MRS_DATA\workspace\CH32V307VCT6\ETH_NET\libwchnet.a(tcp_in.o)
h:/mounriver/mounriver_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: C:\MRS_DATA\workspace\CH32V307VCT6\ETH_NET\libwchnet.a(tcp_out.o): can't link soft-float modules with single-float modules
h:/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 C:\MRS_DATA\workspace\CH32V307VCT6\ETH_NET\libwchnet.a(tcp_out.o)
h:/mounriver/mounriver_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: C:\MRS_DATA\workspace\CH32V307VCT6\ETH_NET\libwchnet.a(udp.o): can't link soft-float modules with single-float modules
h:/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 C:\MRS_DATA\workspace\CH32V307VCT6\ETH_NET\libwchnet.a(udp.o)
h:/mounriver/mounriver_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: C:\MRS_DATA\workspace\CH32V307VCT6\ETH_NET\libwchnet.a(icmp.o): can't link soft-float modules with single-float modules
h:/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 C:\MRS_DATA\workspace\CH32V307VCT6\ETH_NET\libwchnet.a(icmp.o)
h:/mounriver/mounriver_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: C:\MRS_DATA\workspace\CH32V307VCT6\ETH_NET\libwchnet.a(inet_chksum.o): can't link soft-float modules with single-float modules
h:/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 C:\MRS_DATA\workspace\CH32V307VCT6\ETH_NET\libwchnet.a(inet_chksum.o)

请问此问题应该如何解决

您好,需要使用以太网浮点库,首先右键该库,将这个浮点库参与编译,然后再添加相应路径即可

image.pngimage.png


只有登录才能回复,可以选择微信账号登录