w801开启ipv6报错
除了
改为
还有哪里要改吗
错误有
../../../../../../../app/spsta.c:87:57: error: 'ip_addr_t {aka struct ip_addr}' has no member named 'addr'; did you mean 'u_addr'?
../../../../../../../src/network/lwip2.0.3/core/udp.c:974:33: error: 'ip_addr_t {aka struct ip_addr}' has no member named 'addr'; did you mean 'u_addr'?
pcb->multicast_ip.addr = ipaddr->addr;
^~
../../../../../../../include/net/wm_sockets2.0.3.h:919:48: error: 'ip4_addr_t {aka const struct ip4_addr}' has no member named 'type'
#define IP_GET_TYPE(ipaddr) ((ipaddr)->type)
^
../../../../../../../include/net/wm_sockets2.0.3.h:927:39: error: 'ip4_addr_t {aka const struct ip4_addr}' has no member named 'u_addr'; did you mean 'addr'?
#define ip_2_ip6(ipaddr) (&((ipaddr)->u_addr.ip6))
^
../../../../../../../include/net/wm_sockets2.0.3.h:927:39: error: 'ip4_addr_t {aka const struct ip4_addr}' has no member named 'u_addr'; did you mean 'addr'?
#define ip_2_ip6(ipaddr) (&((ipaddr)->u_addr.ip6))
^
等等
收到,谢谢你的回复