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

Definition of protocols in ESPiLight.cpp conflicts with ESP32 liblwip #34

Closed
drschlaumeier opened this issue Sep 5, 2018 · 1 comment

Comments

@drschlaumeier
Copy link

It seems that in ESP32 lib is a new definition of "protocols" which conflicts with the definition in ESPiLight.cpp: "protocols_t *protocols = nullptr;"

liblwip.a(ppp.o)*: (.rodata.protocols+0x0): multiple definition of protocols
ESPiLight.cpp.o*: (.bss.protocols+0x0): first defined here

renaming "protocols" to "protocols_t *esplightprotocols = nullptr;" etc. and changing the rest of code in ESPiLight.cpp resolves the problem.

Rgds

@puuu
Copy link
Owner

puuu commented Nov 6, 2018

Thanks for reporting, fixed in c823d77.

Some more fixes to make ESPiLight compile against esp32 are introduced in master. If you have any success or problem with esp32 boards, please report to #23.

@puuu puuu closed this as completed Nov 6, 2018
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