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

'hal_init' multiple definition on arduino-espressif32 v2.0.0 framework #855

Closed
cyberman54 opened this issue Feb 19, 2022 · 1 comment
Closed
Assignees
Labels

Comments

@cyberman54
Copy link

Lmic compiles on arduino-espressif32 v1.0.6 framework. But with the current v2.0.0 i get a linker error:

/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: /.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/lib\libpp.a(hal_mac.o): in function hal_init:
(.text.hal_init+0xc8): multiple definition of `hal_init';

It seems there are concurrent definitions for hal_init, one in lmic (src/hal/hal.cpp:416) and one in libpp.

Not sure what i can do to avoid or fix this.

@cyberman54
Copy link
Author

Same as #714, sorry didn't see this before. Closed.

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

No branches or pull requests

2 participants