Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] lMulticastRequest has incomplete type #34053

Closed
QuentinCaldeira-eaton opened this issue Jun 24, 2024 · 1 comment
Closed

[BUG] lMulticastRequest has incomplete type #34053

QuentinCaldeira-eaton opened this issue Jun 24, 2024 · 1 comment
Labels
bug Something isn't working needs triage

Comments

@QuentinCaldeira-eaton
Copy link
Contributor

QuentinCaldeira-eaton commented Jun 24, 2024

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 QuentinCaldeira-eaton added bug Something isn't working needs triage labels Jun 24, 2024
@QuentinCaldeira-eaton
Copy link
Contributor Author

I think it's because Zephyr socket.h doesn't implement struct ip_mreq but ip_mreqn

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs triage
Projects
None yet
Development

No branches or pull requests

1 participant