[BUG] lMulticastRequest has incomplete type
Closed this issue · 1 comments
QuentinCaldeira-eaton commented
Reproduction steps
For a personal application, I try to develop an STM32 application on Zephyr OS. I've made some modification to the Zephyr platform, as discussed here #33471 (comment).
My issue is : when I use west tools to build my app, I've some issues with UDP :
../../../../connectedhomeip/src/inet/UDPEndPointImplSockets.cpp: In member function 'virtual CHIP_ERROR chip::Inet::UDPEndPointImplSockets::IPv4JoinLeaveMulticastGroupImpl(chip::Inet::InterfaceId, const chip::Inet::IPAddress&, bool)':
../../../../connectedhomeip/src/inet/UDPEndPointImplSockets.cpp:788:20: error: aggregate 'chip::Inet::UDPEndPointImplSockets::IPv4JoinLeaveMulticastGroupImpl(chip::Inet::InterfaceId, const chip::Inet::IPAddress&, bool)::ip_mreq lMulticastRequest' has incomplete type and cannot be defined
788 | struct ip_mreq lMulticastRequest;
| ^~~~~~~~~~~~~~~~~
I can't resolve this error and I don't understand why this appears. Did I miss something ?
Bug prevalence
Whenever I do this (with UDP)
GitHub hash of the SDK that was being used
latest
Platform
other
Platform Version(s)
No response
Anything else?
No response
QuentinCaldeira-eaton commented
I think it's because Zephyr socket.h doesn't implement struct ip_mreq but ip_mreqn