Processing esp32-MQTTGateway-NoSSL (platform: espressif32; board: esp32dev; framework: arduino) ----------------------------------------------------------------------------------------------------------------------------------Verbose mode can be enabled via `-v, --verbose` option CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32dev.html PLATFORM: Espressif 32 (3.3.0) > Espressif ESP32 Dev Module HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash DEBUG: Current (esp-prog) External (esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa) PACKAGES: - framework-arduinoespressif32 3.10006.210326 (1.0.6) - tool-esptoolpy 1.30100.210531 (3.1.0) - toolchain-xtensa32 2.50200.97 (5.2.0) LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf LDF Modes: Finder ~ chain, Compatibility ~ soft Found 47 compatible libraries Scanning dependencies... Dependency Graph |-- 6.18.1 |-- 2.8.0 |-- 0.24.0 | |-- 1.1.0 | | |-- 1.0 | |-- 1.2.3 | | |-- 1.1.1 | | |-- 1.0 | | |-- 1.0 | | |-- 6.18.1 | |-- 1.0 |-- 1.2.3 | |-- 1.1.1 | |-- 1.0 | |-- 1.0 | |-- 6.18.1 |-- 1.1.0 | |-- 6.18.1 |-- 2.0.5 |-- 0.2.0+sha.a8f4534 |-- | |-- | | |-- 1.0 | | |-- 1.0 | | | |-- 1.0 | | |-- 1.2.3 | | | |-- 1.1.1 | | | |-- 1.0 | | | |-- 1.0 | | | |-- 6.18.1 | | |-- 0.2.0+sha.a8f4534 | | |-- 1.1.0 | | | |-- 1.0 | | |-- 0.24.0 | | | |-- 1.1.0 | | | | |-- 1.0 | | | |-- 1.2.3 | | | | |-- 1.1.1 | | | | |-- 1.0 | | | | |-- 1.0 | | | | |-- 6.18.1 | | | |-- 1.0 | | |-- 6.18.1 | | |-- 1.0 | | |-- 1.0 | |-- 0.24.0 | | |-- 1.1.0 | | | |-- 1.0 | | |-- 1.2.3 | | | |-- 1.1.1 | | | |-- 1.0 | | | |-- 1.0 | | | |-- 6.18.1 | | |-- 1.0 | |-- 2.8.0 | |-- 1.0 | |-- 1.0 | | |-- 1.0 | |-- 6.18.1 | |-- 1.1.1 | |-- 1.2.3 | | |-- 1.1.1 | | |-- 1.0 | | |-- 1.0 | | |-- 6.18.1 | |-- 1.0 | |-- 1.0 |-- 1.1.1 |-- | |-- 1.0 | |-- 1.0 | | |-- 1.0 | |-- 1.2.3 | | |-- 1.1.1 | | |-- 1.0 | | |-- 1.0 | | |-- 6.18.1 | |-- 0.2.0+sha.a8f4534 | |-- 1.1.0 | | |-- 1.0 | |-- 0.24.0 | | |-- 1.1.0 | | | |-- 1.0 | | |-- 1.2.3 | | | |-- 1.1.1 | | | |-- 1.0 | | | |-- 1.0 | | | |-- 6.18.1 | | |-- 1.0 | |-- 6.18.1 | |-- 1.0 | |-- 1.0 |-- 1.0 |-- 1.0 |-- 1.0 |-- 1.0 | |-- 1.0 Building in release mode Archiving .pio\build\esp32-MQTTGateway-NoSSL\lib7de\libPubSubClient.a Archiving .pio\build\esp32-MQTTGateway-NoSSL\lib11b\libWiFi.a Archiving .pio\build\esp32-MQTTGateway-NoSSL\libb7d\libDNSServer.a Compiling .pio\build\esp32-MQTTGateway-NoSSL\lib4a5\AsyncTCP\AsyncTCP.cpp.o Compiling .pio\build\esp32-MQTTGateway-NoSSL\lib748\FS\FS.cpp.o Compiling .pio\build\esp32-MQTTGateway-NoSSL\lib748\FS\vfs_api.cpp.o Compiling .pio\build\esp32-MQTTGateway-NoSSL\libfdc\ESP Async WebServer\AsyncEventSource.cpp.o Compiling .pio\build\esp32-MQTTGateway-NoSSL\libfdc\ESP Async WebServer\WebRequest.cpp.o Archiving .pio\build\esp32-MQTTGateway-NoSSL\lib748\libFS.a Compiling .pio\build\esp32-MQTTGateway-NoSSL\libfdc\ESP Async WebServer\WebResponses.cpp.o Compiling .pio\build\esp32-MQTTGateway-NoSSL\libfdc\ESP Async WebServer\WebServer.cpp.o Compiling .pio\build\esp32-MQTTGateway-NoSSL\lib540\ESPAsyncWiFiManager\ESPAsyncWiFiManager.cpp.o Compiling .pio\build\esp32-MQTTGateway-NoSSL\lib5cf\CayenneLPP\CayenneLPP.cpp.o .pio\libdeps\esp32-MQTTGateway-NoSSL\ESPAsyncWiFiManager\ESPAsyncWiFiManager.cpp: In member function 'void AsyncWiFiManager::copySSIDInfo(wifi_ssid_count_t)': .pio\libdeps\esp32-MQTTGateway-NoSSL\ESPAsyncWiFiManager\ESPAsyncWiFiManager.cpp:316:12: warning: unused variable 'res' [-Wunused-variable] bool res=WiFi.getNetworkInfo(i, wifiSSIDs[i].SSID, wifiSSIDs[i].encryptionType, wifiSSIDs[i].RSSI, wifiSSIDs[i].BSSID, wifiSSIDs[i].channel); ^ Compiling .pio\build\esp32-MQTTGateway-NoSSL\libb3a\DebounceEvent\DebounceEvent.cpp.o Archiving .pio\build\esp32-MQTTGateway-NoSSL\libb3a\libDebounceEvent.a Compiling .pio\build\esp32-MQTTGateway-NoSSL\libb8c\Crypto\AES128.cpp.o Compiling .pio\build\esp32-MQTTGateway-NoSSL\libb8c\Crypto\AES192.cpp.o Compiling .pio\build\esp32-MQTTGateway-NoSSL\libb8c\Crypto\AES256.cpp.o Archiving .pio\build\esp32-MQTTGateway-NoSSL\lib540\libESPAsyncWiFiManager.a Archiving .pio\build\esp32-MQTTGateway-NoSSL\lib5cf\libCayenneLPP.a Compiling .pio\build\esp32-MQTTGateway-NoSSL\libb8c\Crypto\AESCommon.cpp.o Compiling .pio\build\esp32-MQTTGateway-NoSSL\libb8c\Crypto\AESEsp32.cpp.o Compiling .pio\build\esp32-MQTTGateway-NoSSL\libb8c\Crypto\AuthenticatedCipher.cpp.o Compiling .pio\build\esp32-MQTTGateway-NoSSL\libb8c\Crypto\BLAKE2b.cpp.o Compiling .pio\build\esp32-MQTTGateway-NoSSL\libb8c\Crypto\BLAKE2s.cpp.o Compiling .pio\build\esp32-MQTTGateway-NoSSL\libb8c\Crypto\BigNumberUtil.cpp.o Archiving .pio\build\esp32-MQTTGateway-NoSSL\libfdc\libESP Async WebServer.a Compiling .pio\build\esp32-MQTTGateway-NoSSL\libb8c\Crypto\BlockCipher.cpp.o Compiling .pio\build\esp32-MQTTGateway-NoSSL\libb8c\Crypto\CTR.cpp.o Compiling .pio\build\esp32-MQTTGateway-NoSSL\libb8c\Crypto\ChaCha.cpp.o Compiling .pio\build\esp32-MQTTGateway-NoSSL\libb8c\Crypto\ChaChaPoly.cpp.o Compiling .pio\build\esp32-MQTTGateway-NoSSL\libb8c\Crypto\Cipher.cpp.o Compiling .pio\build\esp32-MQTTGateway-NoSSL\libb8c\Crypto\Crypto.cpp.o Compiling .pio\build\esp32-MQTTGateway-NoSSL\libb8c\Crypto\CryptoHash.cpp.o Compiling .pio\build\esp32-MQTTGateway-NoSSL\libb8c\Crypto\Curve25519.cpp.o Compiling .pio\build\esp32-MQTTGateway-NoSSL\libb8c\Crypto\EAX.cpp.o Compiling .pio\build\esp32-MQTTGateway-NoSSL\libb8c\Crypto\Ed25519.cpp.o Compiling .pio\build\esp32-MQTTGateway-NoSSL\libb8c\Crypto\GCM.cpp.o Compiling .pio\build\esp32-MQTTGateway-NoSSL\libb8c\Crypto\GF128.cpp.o Compiling .pio\build\esp32-MQTTGateway-NoSSL\libb8c\Crypto\GHASH.cpp.o Compiling .pio\build\esp32-MQTTGateway-NoSSL\libb8c\Crypto\KeccakCore.cpp.o Compiling .pio\build\esp32-MQTTGateway-NoSSL\libb8c\Crypto\NoiseSource.cpp.o Compiling .pio\build\esp32-MQTTGateway-NoSSL\libb8c\Crypto\OMAC.cpp.o Compiling .pio\build\esp32-MQTTGateway-NoSSL\libb8c\Crypto\P521.cpp.o Compiling .pio\build\esp32-MQTTGateway-NoSSL\libb8c\Crypto\Poly1305.cpp.o Compiling .pio\build\esp32-MQTTGateway-NoSSL\libb8c\Crypto\RNG.cpp.o Compiling .pio\build\esp32-MQTTGateway-NoSSL\libb8c\Crypto\SHA1.cpp.o Compiling .pio\build\esp32-MQTTGateway-NoSSL\libb8c\Crypto\SHA256.cpp.o Compiling .pio\build\esp32-MQTTGateway-NoSSL\libb8c\Crypto\SHA3.cpp.o Compiling .pio\build\esp32-MQTTGateway-NoSSL\libb8c\Crypto\SHA512.cpp.o Compiling .pio\build\esp32-MQTTGateway-NoSSL\libb8c\Crypto\SHAKE.cpp.o Compiling .pio\build\esp32-MQTTGateway-NoSSL\libb8c\Crypto\XOF.cpp.o Compiling .pio\build\esp32-MQTTGateway-NoSSL\libb8c\Crypto\XTS.cpp.o Compiling .pio\build\esp32-MQTTGateway-NoSSL\lib103\SPIFFS\SPIFFS.cpp.o Compiling .pio\build\esp32-MQTTGateway-NoSSL\libcb2\Update\HttpsOTAUpdate.cpp.o Compiling .pio\build\esp32-MQTTGateway-NoSSL\libcb2\Update\Updater.cpp.o Archiving .pio\build\esp32-MQTTGateway-NoSSL\libb8c\libCrypto.a Compiling .pio\build\esp32-MQTTGateway-NoSSL\libab5\src\EnigmaIOTGateway.cpp.o Compiling .pio\build\esp32-MQTTGateway-NoSSL\libab5\src\EnigmaIOTNode.cpp.o Archiving .pio\build\esp32-MQTTGateway-NoSSL\lib103\libSPIFFS.a Compiling .pio\build\esp32-MQTTGateway-NoSSL\libab5\src\Filter.cpp.o Archiving .pio\build\esp32-MQTTGateway-NoSSL\libcb2\libUpdate.a Compiling .pio\build\esp32-MQTTGateway-NoSSL\libab5\src\GatewayAPI.cpp.o Compiling .pio\build\esp32-MQTTGateway-NoSSL\libab5\src\NodeList.cpp.o Compiling .pio\build\esp32-MQTTGateway-NoSSL\libab5\src\cryptModule.cpp.o Compiling .pio\build\esp32-MQTTGateway-NoSSL\libab5\src\espnow_hal.cpp.o src\espnow_hal.cpp: In member function 'virtual void Espnow_halClass::initComms(peerType_t)': src\espnow_hal.cpp:39:19: warning: unused variable 'result' [-Wunused-variable] esp_err_t result = esp_now_add_peer (&networkGw); ^ Compiling .pio\build\esp32-MQTTGateway-NoSSL\libab5\src\helperFunctions.cpp.o Compiling .pio\build\esp32-MQTTGateway-NoSSL\libab5\src\timeManager.cpp.o Compiling .pio\build\esp32-MQTTGateway-NoSSL\lib21a\WiFiClientSecure\WiFiClientSecure.cpp.o Compiling .pio\build\esp32-MQTTGateway-NoSSL\lib21a\WiFiClientSecure\ssl_client.cpp.o Compiling .pio\build\esp32-MQTTGateway-NoSSL\lib1fe\SPI\SPI.cpp.o Archiving .pio\build\esp32-MQTTGateway-NoSSL\lib1fe\libSPI.a Archiving .pio\build\esp32-MQTTGateway-NoSSL\lib446\libexamples.a Archiving .pio\build\esp32-MQTTGateway-NoSSL\libFrameworkArduinoVariant.a Compiling .pio\build\esp32-MQTTGateway-NoSSL\FrameworkArduino\Esp.cpp.o Archiving .pio\build\esp32-MQTTGateway-NoSSL\libab5\libsrc.a Compiling .pio\build\esp32-MQTTGateway-NoSSL\FrameworkArduino\FunctionalInterrupt.cpp.o Compiling .pio\build\esp32-MQTTGateway-NoSSL\FrameworkArduino\HardwareSerial.cpp.o Archiving .pio\build\esp32-MQTTGateway-NoSSL\lib21a\libWiFiClientSecure.a Compiling .pio\build\esp32-MQTTGateway-NoSSL\FrameworkArduino\IPAddress.cpp.o Compiling .pio\build\esp32-MQTTGateway-NoSSL\FrameworkArduino\IPv6Address.cpp.o Compiling .pio\build\esp32-MQTTGateway-NoSSL\FrameworkArduino\MD5Builder.cpp.o Compiling .pio\build\esp32-MQTTGateway-NoSSL\FrameworkArduino\Print.cpp.o Compiling .pio\build\esp32-MQTTGateway-NoSSL\FrameworkArduino\Stream.cpp.o Compiling .pio\build\esp32-MQTTGateway-NoSSL\FrameworkArduino\StreamString.cpp.o Compiling .pio\build\esp32-MQTTGateway-NoSSL\FrameworkArduino\WMath.cpp.o Compiling .pio\build\esp32-MQTTGateway-NoSSL\FrameworkArduino\WString.cpp.o Compiling .pio\build\esp32-MQTTGateway-NoSSL\FrameworkArduino\base64.cpp.o Compiling .pio\build\esp32-MQTTGateway-NoSSL\FrameworkArduino\cbuf.cpp.o Compiling .pio\build\esp32-MQTTGateway-NoSSL\FrameworkArduino\esp32-hal-adc.c.o Compiling .pio\build\esp32-MQTTGateway-NoSSL\FrameworkArduino\esp32-hal-bt.c.o Compiling .pio\build\esp32-MQTTGateway-NoSSL\FrameworkArduino\esp32-hal-cpu.c.o Compiling .pio\build\esp32-MQTTGateway-NoSSL\FrameworkArduino\esp32-hal-dac.c.o Compiling .pio\build\esp32-MQTTGateway-NoSSL\FrameworkArduino\esp32-hal-gpio.c.o Compiling .pio\build\esp32-MQTTGateway-NoSSL\FrameworkArduino\esp32-hal-i2c.c.o Compiling .pio\build\esp32-MQTTGateway-NoSSL\FrameworkArduino\esp32-hal-ledc.c.o Compiling .pio\build\esp32-MQTTGateway-NoSSL\FrameworkArduino\esp32-hal-log.c.o Compiling .pio\build\esp32-MQTTGateway-NoSSL\FrameworkArduino\esp32-hal-matrix.c.o Compiling .pio\build\esp32-MQTTGateway-NoSSL\FrameworkArduino\esp32-hal-misc.c.o Compiling .pio\build\esp32-MQTTGateway-NoSSL\FrameworkArduino\esp32-hal-psram.c.o Compiling .pio\build\esp32-MQTTGateway-NoSSL\FrameworkArduino\esp32-hal-rmt.c.o Compiling .pio\build\esp32-MQTTGateway-NoSSL\FrameworkArduino\esp32-hal-sigmadelta.c.o Compiling .pio\build\esp32-MQTTGateway-NoSSL\FrameworkArduino\esp32-hal-spi.c.o Compiling .pio\build\esp32-MQTTGateway-NoSSL\FrameworkArduino\esp32-hal-time.c.o Compiling .pio\build\esp32-MQTTGateway-NoSSL\FrameworkArduino\esp32-hal-timer.c.o C:\Users\gam\.platformio\packages\framework-arduinoespressif32\cores\esp32\esp32-hal-spi.c: In function 'spiTransferBytesNL': C:\Users\gam\.platformio\packages\framework-arduinoespressif32\cores\esp32\esp32-hal-spi.c:922:39: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] uint8_t * last_out8 = &result[c_longs-1]; ^ C:\Users\gam\.platformio\packages\framework-arduinoespressif32\cores\esp32\esp32-hal-spi.c:923:40: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] uint8_t * last_data8 = &last_data; ^ Compiling .pio\build\esp32-MQTTGateway-NoSSL\FrameworkArduino\esp32-hal-touch.c.o Compiling .pio\build\esp32-MQTTGateway-NoSSL\FrameworkArduino\esp32-hal-uart.c.o Compiling .pio\build\esp32-MQTTGateway-NoSSL\FrameworkArduino\libb64\cdecode.c.o Compiling .pio\build\esp32-MQTTGateway-NoSSL\FrameworkArduino\libb64\cencode.c.o Compiling .pio\build\esp32-MQTTGateway-NoSSL\FrameworkArduino\main.cpp.o Compiling .pio\build\esp32-MQTTGateway-NoSSL\FrameworkArduino\stdlib_noniso.c.o Compiling .pio\build\esp32-MQTTGateway-NoSSL\FrameworkArduino\wiring_pulse.c.o Compiling .pio\build\esp32-MQTTGateway-NoSSL\FrameworkArduino\wiring_shift.c.o Archiving .pio\build\esp32-MQTTGateway-NoSSL\libFrameworkArduino.a Linking .pio\build\esp32-MQTTGateway-NoSSL\firmware.elf .pio\build\esp32-MQTTGateway-NoSSL\libFrameworkArduino.a(main.cpp.o):(.literal._Z8loopTaskPv+0x8): undefined reference to `setup()' .pio\build\esp32-MQTTGateway-NoSSL\libFrameworkArduino.a(main.cpp.o):(.literal._Z8loopTaskPv+0xc): undefined reference to `loop()'.pio\build\esp32-MQTTGateway-NoSSL\libFrameworkArduino.a(main.cpp.o): In function `loopTask(void*)': C:\Users\gam\.platformio\packages\framework-arduinoespressif32\cores\esp32/main.cpp:18: undefined reference to `setup()' C:\Users\gam\.platformio\packages\framework-arduinoespressif32\cores\esp32/main.cpp:21: undefined reference to `loop()' collect2.exe: error: ld returned 1 exit status *** [.pio\build\esp32-MQTTGateway-NoSSL\firmware.elf] Error 1