matthijskooijman / arduino-lmic

:warning: This library is deprecated, see the README for alternatives.
705 stars 651 forks source link

Compilation problems #253

Closed jmszm-dev closed 4 years ago

jmszm-dev commented 4 years ago

Hi all, I've tried to use your LMIC librairy in order to use an SX1276 Lora client. I've downloaded your librairy on a fresh Arduino IDE install, and meet some compilations problems when using basically samples provided (ABP in my case) .

What was wrong ? below the end of compilation It seems that I'm not the sole guy that append but do not found the solution.

C:\Arduino_Croquis\libraries\LMIC-Arduino\src\lmic/lmic.c:405: undefined reference to `table_get_ostime'

C:\Arduino_Croquis\libraries\LMIC-Arduino\src\lmic/lmic.c:407: undefined reference to `table_get_ostime'

C:\Users\jms\AppData\Local\Temp\ccjxmQVb.ltrans0.ltrans.o: In function `initDefaultChannels':

C:\Arduino_Croquis\libraries\LMIC-Arduino\src\lmic/lmic.c:553: undefined reference to `table_get_u4'

C:\Users\jms\AppData\Local\Temp\ccjxmQVb.ltrans0.ltrans.o: In function `radio_irq_handler':

C:\Arduino_Croquis\libraries\LMIC-Arduino\src\lmic/radio.c:777: undefined reference to `table_get_u2'

C:\Users\jms\AppData\Local\Temp\ccjxmQVb.ltrans0.ltrans.o: In function `schedRx12':

C:\Arduino_Croquis\libraries\LMIC-Arduino\src\lmic/lmic.c:1354: undefined reference to `table_get_ostime'

collect2.exe: error: ld returned 1 exit status


Kind regards

matthijskooijman commented 4 years ago

I think this is a duplicate of #243, so I'm closing this issue. See the other issue for a workaround.