w80X开启ipv6报错

发布于 2023-01-09 11:25:22

w801开启ipv6报错
除了

define TLS_CONFIG_IPV6 CFG_OFF

改为

define TLS_CONFIG_IPV6 CFG_ON

还有哪里要改吗

错误有
../../../../../../../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))

                                   ^

等等

查看更多

关注者
0
被浏览
2.2k
1 个回答
isme
isme 认证专家 2023-01-10
冰镇大西瓜

问题我这边复现,反馈后得到的答复是,目前版本暂时不支持ipv6,需要等后续版本更新哈。

撰写答案

请登录后再发布答案,点击登录

发布
问题

分享
好友

手机
浏览

扫码手机浏览