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

Compiling with PPP #15

Open
ovelhoandre opened this issue Apr 23, 2018 · 4 comments
Open

Compiling with PPP #15

ovelhoandre opened this issue Apr 23, 2018 · 4 comments

Comments

@ovelhoandre
Copy link

ovelhoandre commented Apr 23, 2018

First, thank you for your work!

I'm trying to compile with PPP, so I added the PPP defines in the "lwipopts.h" file in glue-lwip->arduino, I added $(patsubst %.c,$(BUILD)/%.o,$(wildcard netif/ppp/*.c)) \, $(patsubst %.c,$(BUILD)/%.o,$(wildcard netif/ppp/polarssl/*.c)) \, -include $(BUILD)/*/*/*/*/*.d and -include $(BUILD)/*/*/*/*/*/*.d to the Makefile.lwip2 file. But when I use liblwip2.a in the project, I get the Undefined reference for PPP functions, any ideia?

@d-a-v
Copy link
Owner

d-a-v commented Apr 25, 2018

Do you make clean / make install from arduino's tools/sdk/lwip2/ directory ?
In that case, can you see whether PPP is compiling in the logs ?

@ovelhoandre
Copy link
Author

ovelhoandre commented Apr 25, 2018 via email

@d-a-v
Copy link
Owner

d-a-v commented Apr 26, 2018

NAT is coming (it's waiting for fixes in a branch).

@ovelhoandre
Copy link
Author

Thanks so much, meanwhile I'll try this: https://github.com/ajaybhargav/lwip_nat.

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

2 participants