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

struct ip_addr undefined #12

Open
myrashidi opened this issue Aug 5, 2022 · 0 comments
Open

struct ip_addr undefined #12

myrashidi opened this issue Aug 5, 2022 · 0 comments

Comments

@myrashidi
Copy link

Hey everybody,
making the latest code, having some errors on `struct ip_addr'
seems some files are missing on my system (Linux Ubuntu 20.04) or some package need to be installed that is not on my Ubuntu.
some erros I got:
session.c:45:13: error: dereferencing pointer to incomplete type ‘const struct ip_addr’
45 | b = ipaddr->addr.a4b;
session.c:66:6: error: conflicting types for ‘AddressToString’
66 | void AddressToString( const struct ip_addr ipaddr, uint16_t port, char buff )
session.c:117:25: error: storage size of ‘ip_dst’ isn’t known
117 | struct ip_addr ip_src, ip_dst;
| ^~~~~~

Any help would be appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant