Error Compiling example ESP32 V2

Hello,

I have the same error as sav59, you sent him links to the documents, but I could not find any info regarding the error message, the board is registered, Heltec32 V2, did everything as described in your online docs and tutorials… :

/var/folders/vd/7hvqt0px6gsd1wc6dwn1jfg80000gp/T/arduino_build_902638/libraries/ESP32_LoRaWAN-master/rtc-board.S.o: in function TimerGetTimerValue': D:\/D:\\61722\\Documents\\Arduino\\libraries\\ESP32_LoRaWAN_VASR\\src\\rtc-board.c:95:(.text.TimerGetTimerValue+0x27): dangerous relocation: call8: call target out of range: __udivdi3 /var/folders/vd/7hvqt0px6gsd1wc6dwn1jfg80000gp/T/arduino_build_902638/libraries/ESP32_LoRaWAN-master/rtc-board.S.o: in functionTimerGetElapsedAlarmTime’:
D:/D:\61722\Documents\Arduino\libraries\ESP32_LoRaWAN_VASR\src\rtc-board.c:108:(.text.TimerGetElapsedAlarmTime+0x3a): dangerous relocation: call8: call target out of range: __udivdi3
/var/folders/vd/7hvqt0px6gsd1wc6dwn1jfg80000gp/T/arduino_build_902638/libraries/ESP32_LoRaWAN-master/rtc-board.S.o: in function `TimerComputeElapsedTime’:
D:/D:\61722\Documents\Arduino\libraries\ESP32_LoRaWAN_VASR\src\rtc-board.c:135:(.text.TimerComputeElapsedTime+0x32): dangerous relocation: call8: call target out of range: __udivdi3
collect2: error: ld returned 1 exit status

please help,

thanks

I have the same error, I have updated with the last version of the Platform Arduino to 4.2.0 and now I have too this error. I’m blocked

I don’t know why but when I go back to Espressif32 Framework 3.4.0 it works but for new version impossible same error.
I tried to add CFLAGS = mlongcalls ==> not better