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

ttn.otaa compiling error #810

Closed
appsheld opened this issue Oct 20, 2021 · 5 comments
Closed

ttn.otaa compiling error #810

appsheld opened this issue Oct 20, 2021 · 5 comments
Assignees
Labels
duplicate enhancement trouble report not yet a bug, but definitely needs follow-up

Comments

@appsheld
Copy link

arduino compiling error of ttn-otaa with wemos lolin32 and 868MHz SX1276 LoRa Breakout Board (ean 4251551312302, ASIN‏ : ‎ B084NWDFH1):

c:/users/xxx/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r1/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:\Users\Andreas\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.0/tools/sdk/esp32/lib\libpp.a(hal_mac.o): in function hal_init': (.text.hal_init+0xc8): multiple definition of hal_init'; libraries\MCCI_LoRaWAN_LMIC_library\hal\hal.cpp.o:C:\Users\Andreas\OneDrive\Dokumente\Arduino\libraries\MCCI_LoRaWAN_LMIC_library\src\hal/hal.cpp:416: first defined here
collect2.exe: error: ld returned 1 exit status
exit status 1
Error compiling for board WEMOS LOLIN32.

@mdede439
Copy link

mdede439 commented Nov 3, 2021

I have the same issue using the TTGO LoRa32-OLED V1 board.

@mdede439
Copy link

mdede439 commented Nov 3, 2021

c:/users/---/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r1/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:\Users\Harley\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.0/tools/sdk/esp32/lib\libpp.a(hal_mac.o): in function hal_init': (.text.hal_init+0xc8): multiple definition of hal_init'; libraries\MCCI_LoRaWAN_LMIC_library\hal\hal.cpp.o:C:\1Projects\Arduino IDE Sketchbook LoRa\libraries\MCCI_LoRaWAN_LMIC_library\src\hal/hal.cpp:416: first defined here
collect2.exe: error: ld returned 1 exit status
exit status 1
Error compiling for board TTGO LoRa32-OLED V1.

@santaimpersonator
Copy link

Sounds like a duplicate of this issue: #714

@mdede439
Copy link

mdede439 commented Nov 8, 2021

Yes it is @santaimpersonator. I found that post after my initial comment here and was able to resolve my issue easily.

Thanks for your comment!

@terrillmoore terrillmoore added duplicate enhancement trouble report not yet a bug, but definitely needs follow-up and removed bug labels Nov 8, 2021
@terrillmoore
Copy link
Member

I'm going to close this issue; it's a duplicate of #714. Also, it's not a bug, strictly speaking, but I agree it needs attention.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate enhancement trouble report not yet a bug, but definitely needs follow-up
Projects
None yet
Development

No branches or pull requests

4 participants