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

lwip update breaks mini-apps/daytime build #6

Open
razvancojocaru opened this issue Feb 21, 2018 · 0 comments
Open

lwip update breaks mini-apps/daytime build #6

razvancojocaru opened this issue Feb 21, 2018 · 0 comments

Comments

@razvancojocaru
Copy link

After having built the toolchain, i tried to build the daytime app from mini-apps noxs branch.

Building the daytime app was unsuccessful, with errors referring to lwip headers:

[...]
/home/razvan/minios/mini-apps/daytime/daytime.c:17:20: error: storage size of ‘listenaddr’ isn’t known
     struct ip_addr listenaddr = { 0 };
                    ^
/home/razvan/minios/mini-apps/daytime/daytime.c:26:16: error: variable ‘ipaddr’ has initializer but incomplete type
         struct ip_addr ipaddr = { htonl(0x0a000001) };
                ^
/home/razvan/minios/mini-apps/daytime/daytime.c:26:24: error: storage size of ‘ipaddr’ isn’t known
         struct ip_addr ipaddr = { htonl(0x0a000001) };
[...]

After reverting the lwIP: Point to CNPLAB's clone of lwIP commit, the daytime build was successful.
I'm not sure why the CNPLAB clone breaks daytime or if any other apps are affected by the same change.

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