From Log it seems there are problems with Hw pakages or sw dependencies
se some log below just to mention some
-I/home/hs/.arduino15/packages/Heltec-esp32/hardware/esp32/0.0.5/tools/sdk/include/fb_gfx -std=gnu++11 -Os -g3 -Wpointer-arith -fexceptions -fstack-protector -ffunction-sections -fdata-sections -fstrict-volatile-bitfields -mlongcalls -nostdlib -w -Wno-error=maybe-uninitialized -Wno-error=unused-function -Wno-error=unused-but-set-variable -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wno-unused-parameter -Wno-unused-but-set-parameter -Wno-missing-field-initializers -Wno-sign-compare -fno-rtti -c -w -x c++ -E -CC -DF_CPU=240000000L -DARDUINO=10810 -DARDUINO_WIRELESS_STICK -DARDUINO_ARCH_ESP32 “-DARDUINO_BOARD=“WIRELESS_STICK”” “-DARDUINO_VARIANT=“wireless_stick”” -DESP32 -DCORE_DEBUG_LEVEL=0 -I/home/hs/.arduino15/packages/Heltec-esp32/hardware/esp32/0.0.5/cores/esp32 -I/home/hs/.arduino15/packages/Heltec-esp32/hardware/esp32/0.0.5/variants/wireless_stick /tmp/arduino_build_660375/sketch/WAEEV-WIM-ION-BMR-L8.ino.cpp -o /dev/null
Alternatives for WiFiClient.h: [WiFi@1.2.7 WiFi@1.0]
ResolveLibrary(WiFiClient.h)
-> candidates: [WiFi@1.2.7 WiFi@1.0]
-Wpointer-arith -fexceptions -fstack-protector -ffunction-sections -fdata-sections -fstrict-volatile-bitfields -mlongcalls -nostdlib -w -Wno-error=maybe-uninitialized -Wno-error=unused-function -Wno-error=unused-but-set-variable -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wno-unused-parameter -Wno-unused-but-set-parameter -Wno-missing-field-initializers -Wno-sign-compare -fno-rtti -c -w -x c++ -E -CC -DF_CPU=240000000L -DARDUINO=10810 -DARDUINO_WIRELESS_STICK -DARDUINO_ARCH_ESP32 “-DARDUINO_BOARD=“WIRELESS_STICK”” “-DARDUINO_VARIANT=“wireless_stick”” -DESP32 -DCORE_DEBUG_LEVEL=0 -I/home/hs/.arduino15/packages/Heltec-esp32/hardware/esp32/0.0.5/cores/esp32 -I/home/hs/.arduino15/packages/Heltec-esp32/hardware/esp32/0.0.5/variants/wireless_stick -I/home/hs/.arduino15/packages/Heltec-esp32/hardware/esp32/0.0.5/libraries/WiFi/src /tmp/arduino_build_660375/sketch/WAEEV-WIM-ION-BMR-L8.ino.cpp -o /dev/null
Alternatives for PubSubClient.h: [PubSubClient@2.7]
ResolveLibrary(PubSubClient.h)
-> candidates: [PubSubClient@2.7]
/home/hs/.arduino15/packages/Heltec-esp32/tools/xtensa-esp32-elf-gcc/1.22.0-80-g6c4433a-5.2.0/bin/xtensa-esp32-elf-g++ -DESP_PLATFORM “-DMBEDTLS_CONFIG_FILE=“mbedtls/esp_config.h”” -DREGION_EU868 -DLoRaWAN_DEBUG_LEVEL=0 -DACTIVE_REGION=LORAMAC_REGION_EU868 -DHAVE_CONFIG_H -DGCC_NOT_5_2_0=0 -DWITH_POSIX