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,需要等後續版本更新哈。

撰寫答案

請登錄後再發布答案,點擊登錄

發布
問題

分享
好友

手機
浏覽

掃碼手機浏覽