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

Compile error. Version 0.5.3 #126

Open
Omnn82 opened this issue Mar 11, 2024 · 5 comments
Open

Compile error. Version 0.5.3 #126

Omnn82 opened this issue Mar 11, 2024 · 5 comments

Comments

@Omnn82
Copy link

Omnn82 commented Mar 11, 2024

Can you tell me what causes the following error when compiling the firmware (version 0.5.3)? On version 0.5.2 there is no such problem.

collect2.exe: error: ld returned 1 exit status
*** [.piobuilddistillingfirmware.elf] Error 1

*  Executing task in folder BrewManiacEsp8266: C:\Users\user\.platformio\penv\Scripts\platformio.exe run 

Processing distilling (platform: espressif8266@~4.2.1; board: nodemcuv2; framework: arduino)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif8266/nodemcuv2.html
PLATFORM: Espressif 8266 (4.2.1) > NodeMCU 1.0 (ESP-12E Module)
HARDWARE: ESP8266 80MHz, 80KB RAM, 4MB Flash
PACKAGES: 
 - framework-arduinoespressif8266 @ 3.30102.0 (3.1.2) 
 - tool-esptool @ 1.413.0 (4.13) 
 - tool-esptoolpy @ 1.30000.201119 (3.0.0) 
 - toolchain-xtensa @ 2.100300.220621 (10.3.0)
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 47 compatible libraries
Scanning dependencies...
Dependency Graph
|-- ArduinoJson @ 6.19.3
|-- ESP Async WebServer @ 1.2.3+sha.43381ab
|-- EEPROM @ 1.0
|-- OneWire @ 2.3.2
|-- PID_AutoTune_v0
|-- PID_v2
|-- ArduinoOTA @ 1.0
|-- ESP8266mDNS @ 1.2
|-- ESP8266WiFi @ 1.0
|-- ESPAsyncTCP @ 1.1.3
|-- Hash @ 1.0
|-- LittleFS @ 0.1.0
|-- EspSoftwareSerial @ 8.0.1
|-- Wire @ 1.0
|-- ESP8266HTTPUpdateServer @ 1.0
|-- ESP8266WebServer @ 1.0
|-- DNSServer @ 1.1.1
|-- PCF8574 - library for ESP8266 @ 1.0.0
|-- ESP8266_SSD1306 @ 4.0.0
|-- LiquidCrystal_I2C_V3-master
|-- ESP8266HTTPClient @ 1.2
|-- ESP8266httpUpdate @ 1.3
Building in release mode
Warning! '-Wl,-T' option for specifying linker scripts is deprecated. Please use 'board_build.ldscript' option in your 'platformio.ini' file.
Linking .pio\build\distilling\firmware.elf
c:/users/user/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: .pio\build\distilling\src\BrewManiac.cpp.o:(.text._Z11pidGetValuei+0x8): undefined reference to `_Z15readSettingWordi'
c:/users/user/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: .pio\build\distilling\src\BrewManiac.cpp.o:(.text._Z11pidGetValuei+0xc): undefined reference to `_Z11readSettingi'
c:/users/user/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: .pio\build\distilling\src\BrewManiac.cpp.o: in function `_Z11pidGetValuei':
BrewManiac.cpp:(.text._Z11pidGetValuei+0x52): undefined reference to `_Z15readSettingWordi'
c:/users/user/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: BrewManiac.cpp:(.text._Z11pidGetValuei+0x96): undefined reference to `_Z11readSettingi'
c:/users/user/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: .pio\build\distilling\src\BrewManiac.cpp.o:(.text._Z21wiUpdatePrimarySensorhh+0x0): undefined reference to `_Z13updateSettingih'
c:/users/user/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: .pio\build\distilling\src\BrewManiac.cpp.o: in function `_Z14btnReadButtonsv':
BrewManiac.cpp:(.text._Z14btnReadButtonsv+0xd9): undefined reference to `_Z11readSettingi'
c:/users/user/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: .pio\build\distilling\src\BrewManiac.cpp.o:(.text._Z25calTemperatureCalibrationv+0x20): undefined reference to `_Z11readSettingi'
c:/users/user/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: .pio\build\distilling\src\BrewManiac.cpp.o:(.text._Z25calTemperatureCalibrationv+0x43): undefined reference to `_Z15readSettingWordi'
c:/users/user/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: .pio\build\distilling\src\BrewManiac.cpp.o:(.text._Z25calTemperatureCalibrationv+0x5c): undefined reference to `_Z15readSettingWordi'
c:/users/user/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: .pio\build\distilling\src\BrewManiac.cpp.o: in function `_Z25calTemperatureCalibrationv':
BrewManiac.cpp:(.text._Z25calTemperatureCalibrationv+0x68): undefined reference to `_Z15readSettingWordi'
c:/users/user/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: BrewManiac.cpp:(.text._Z25calTemperatureCalibrationv+0x72): undefined reference to `_Z15readSettingWordi'
c:/users/user/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: BrewManiac.cpp:(.text._Z25calTemperatureCalibrationv+0x128): undefined reference to `_Z11readSettingi'
c:/users/user/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: .pio\build\distilling\src\BrewManiac.cpp.o:(.text._Z19wiUpdateSettingWordis+0x0): undefined reference to `_Z17updateSettingWordit'
c:/users/user/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: .pio\build\distilling\src\BrewManiac.cpp.o: in function `_Z19wiUpdateSettingWordis':
BrewManiac.cpp:(.text._Z19wiUpdateSettingWordis+0x16): undefined reference to `_Z17updateSettingWordit'
c:/users/user/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: .pio\build\distilling\src\BrewManiac.cpp.o: in function `_Z27wiUpdateCalibrationOfSensorhh':
BrewManiac.cpp:(.text._Z27wiUpdateCalibrationOfSensorhh+0x25): undefined reference to `_Z13updateSettingih'
c:/users/user/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: .pio\build\distilling\src\BrewManiac.cpp.o: in function `_Z17loadSensorSettingv':
BrewManiac.cpp:(.text._Z17loadSensorSettingv+0x3a): undefined reference to `_Z11readSettingi'
c:/users/user/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: .pio\build\distilling\src\BrewManiac.cpp.o:(.text._Z11loadLpfBetav+0xf): undefined reference to `_Z11readSettingi'
c:/users/user/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: .pio\build\distilling\src\BrewManiac.cpp.o: in function `_Z15wiUpdateSettingih':
BrewManiac.cpp:(.text._Z15wiUpdateSettingih+0x1a): undefined reference to `_Z13updateSettingih'
c:/users/user/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: .pio\build\distilling\src\BrewManiac.cpp.o:(.text._Z12tpInitializev+0x21): undefined reference to `_Z11readSettingi'
c:/users/user/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: .pio\build\distilling\src\BrewManiac.cpp.o:(.text._Z17setSensorForStageh+0x10): undefined reference to `_Z11readSettingi'
c:/users/user/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: .pio\build\distilling\src\BrewManiac.cpp.o: in function `_Z17setSensorForStageh':
BrewManiac.cpp:(.text._Z17setSensorForStageh+0x1b): undefined reference to `_Z11readSettingi'
c:/users/user/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: .pio\build\distilling\src\BrewManiac.cpp.o:(.text._Z11saveTunningv+0x8): undefined reference to `_Z13commitSettingv'
c:/users/user/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: .pio\build\distilling\src\BrewManiac.cpp.o: in function `_Z11saveTunningv':
BrewManiac.cpp:(.text._Z11saveTunningv+0x66): undefined reference to `_Z13updateSettingih'
c:/users/user/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: BrewManiac.cpp:(.text._Z11saveTunningv+0x92): undefined reference to `_Z13updateSettingih'
c:/users/user/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: BrewManiac.cpp:(.text._Z11saveTunningv+0xb5): undefined reference to `_Z13updateSettingih'
c:/users/user/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: .pio\build\distilling\src\BrewManiac.cpp.o:(.text._Z18heatLoadParametersv+0x23): undefined reference to `_Z11readSettingi'
c:/users/user/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: .pio\build\distilling\src\BrewManiac.cpp.o:(.text._Z18heatLoadParametersv+0x2d): undefined reference to `_Z11readSettingi'
c:/users/user/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: .pio\build\distilling\src\BrewManiac.cpp.o:(.text._Z18heatLoadParametersv+0x37): undefined reference to `_Z11readSettingi'
c:/users/user/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: .pio\build\distilling\src\BrewManiac.cpp.o:(.text._Z18heatLoadParametersv+0x41): undefined reference to `_Z11readSettingi'
c:/users/user/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: .pio\build\distilling\src\BrewManiac.cpp.o: in function `_Z18heatLoadParametersv':
BrewManiac.cpp:(.text._Z18heatLoadParametersv+0xba): undefined reference to `_Z11readSettingi'
c:/users/user/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: .pio\build\distilling\src\BrewManiac.cpp.o:BrewManiac.cpp:(.text._Z18heatLoadParametersv+0xcb): more undefined references to `_Z11readSettingi' follow
c:/users/user/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: .pio\build\distilling\src\BrewManiac.cpp.o: in function `_Z18changeSettingValueih':
BrewManiac.cpp:(.text._Z18changeSettingValueih+0x14): undefined reference to `_Z13updateSettingih'
c:/users/user/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: .pio\build\distilling\src\BrewManiac.cpp.o: in function `_ZN13SettingEditor13getItemDetailEv':
BrewManiac.cpp:(.text._ZN13SettingEditor13getItemDetailEv[_ZN13SettingEditor13getItemDetailEv]+0x44): undefined reference to `_Z11readSettingi'
c:/users/user/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: .pio\build\distilling\src\BrewManiac.cpp.o: in function `_ZN13DistillRecipe4loadEv':
BrewManiac.cpp:(.text._ZN13DistillRecipe4loadEv[_ZN13DistillRecipe4loadEv]+0x17): undefined reference to `_Z11readSettingi'
c:/users/user/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: BrewManiac.cpp:(.text._ZN13DistillRecipe4loadEv[_ZN13DistillRecipe4loadEv]+0x23): undefined reference to `_Z11readSettingi'
c:/users/user/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: BrewManiac.cpp:(.text._ZN13DistillRecipe4loadEv[_ZN13DistillRecipe4loadEv]+0x2f): undefined reference to `_Z11readSettingi'
c:/users/user/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: BrewManiac.cpp:(.text._ZN13DistillRecipe4loadEv[_ZN13DistillRecipe4loadEv]+0x3e): undefined reference to `_Z11readSettingi'
c:/users/user/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: .pio\build\distilling\src\BrewManiac.cpp.o: in function `_Z10saveSensorhPh':
BrewManiac.cpp:(.text._Z10saveSensorhPh+0x22): undefined reference to `_Z13updateSettingih'
c:/users/user/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: .pio\build\distilling\src\BrewManiac.cpp.o:(.text._Z18loadBrewParametersv+0x12): undefined reference to `_Z11readSettingi'
c:/users/user/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: .pio\build\distilling\src\BrewManiac.cpp.o: in function `_Z18loadBrewParametersv':
BrewManiac.cpp:(.text._Z18loadBrewParametersv+0x2a): undefined reference to `_Z11readSettingi'
c:/users/user/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: BrewManiac.cpp:(.text._Z18loadBrewParametersv+0x3c): undefined reference to `_Z11readSettingi'
c:/users/user/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: BrewManiac.cpp:(.text._Z18loadBrewParametersv+0x46): undefined reference to `_Z11readSettingi'
c:/users/user/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: .pio\build\distilling\src\BrewManiac.cpp.o: in function `_Z10saveStatusht':
BrewManiac.cpp:(.text._Z10saveStatusht+0x12): undefined reference to `_Z11readSettingi'
c:/users/user/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: BrewManiac.cpp:(.text._Z10saveStatusht+0x1e): undefined reference to `_Z13updateSettingih'
c:/users/user/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: BrewManiac.cpp:(.text._Z10saveStatusht+0x28): undefined reference to `_Z17updateSettingWordit'
c:/users/user/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: .pio\build\distilling\src\BrewManiac.cpp.o:(.text._Z11clearStatusv+0x8): undefined reference to `_Z11readSettingi'
c:/users/user/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: .pio\build\distilling\src\BrewManiac.cpp.o: in function `_Z11clearStatusv':
BrewManiac.cpp:(.text._Z11clearStatusv+0x12): undefined reference to `_Z11readSettingi'
c:/users/user/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: BrewManiac.cpp:(.text._Z11clearStatusv+0x20): undefined reference to `_Z13updateSettingih'
c:/users/user/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: .pio\build\distilling\src\BrewManiac.cpp.o:(.text._Z11checkResumev+0x10): undefined reference to `_Z11readSettingi'
c:/users/user/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: .pio\build\distilling\src\BrewManiac.cpp.o: in function `_Z11checkResumev':
BrewManiac.cpp:(.text._Z11checkResumev+0x1f): undefined reference to `_Z11readSettingi'
c:/users/user/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: .pio\build\distilling\src\BrewManiac.cpp.o:(.text._Z13heaterControlv+0x5e): undefined reference to `_Z11readSettingi'
c:/users/user/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: .pio\build\distilling\src\BrewManiac.cpp.o: in function `_Z26autoModeEnterAskRemoveMaltv':
BrewManiac.cpp:(.text._Z26autoModeEnterAskRemoveMaltv+0x39): undefined reference to `_Z11readSettingi'
c:/users/user/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: .pio\build\distilling\src\BrewManiac.cpp.o: in function `_Z22sensorMenuEventHandlerh':
BrewManiac.cpp:(.text._Z22sensorMenuEventHandlerh+0x9f): undefined reference to `_Z13updateSettingih'
c:/users/user/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: BrewManiac.cpp:(.text._Z22sensorMenuEventHandlerh+0x188): undefined reference to `_Z13commitSettingv'
c:/users/user/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: .pio\build\distilling\src\BrewManiac.cpp.o: in function `_Z22settingPidEventHandlerh':
BrewManiac.cpp:(.text._Z22settingPidEventHandlerh+0x84): undefined reference to `_Z11readSettingi'
c:/users/user/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: .pio\build\distilling\src\BrewManiac.cpp.o: in function `_Z23settingUnitEventHandlerh':
BrewManiac.cpp:(.text._Z23settingUnitEventHandlerh+0x30): undefined reference to `_Z11readSettingi'
c:/users/user/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: .pio\build\distilling\src\BrewManiac.cpp.o:(.text._Z25distillRecipeEventHandlerh+0x26): undefined reference to `_Z13updateSettingih'
c:/users/user/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: .pio\build\distilling\src\BrewManiac.cpp.o: in function `_Z25distillRecipeEventHandlerh':
BrewManiac.cpp:(.text._Z25distillRecipeEventHandlerh+0x32): undefined reference to `_Z13updateSettingih'
c:/users/user/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: BrewManiac.cpp:(.text._Z25distillRecipeEventHandlerh+0x3d): undefined reference to `_Z13updateSettingih'
c:/users/user/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: BrewManiac.cpp:(.text._Z25distillRecipeEventHandlerh+0x4d): undefined reference to `_Z13updateSettingih'
c:/users/user/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: .pio\build\distilling\src\BrewManiac.cpp.o: in function `_Z24autoModeEnterPumpPrimingv':
BrewManiac.cpp:(.text._Z24autoModeEnterPumpPrimingv+0x3a): undefined reference to `_Z11readSettingi'
c:/users/user/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: .pio\build\distilling\src\BrewManiac.cpp.o:(.text._Z26autoModeCoolingOrWhirlpoolv+0x13): undefined reference to `_Z11readSettingi'
c:/users/user/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: .pio\build\distilling\src\BrewManiac.cpp.o:(.text._Z21autoModeCoolingFinishv+0xb): undefined reference to `_Z11readSettingi'
c:/users/user/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: .pio\build\distilling\src\BrewManiac.cpp.o:(.text._Z23autoModeWhirlpoolFinishv+0xf): undefined reference to `_Z11readSettingi'
c:/users/user/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: .pio\build\distilling\src\BrewManiac.cpp.o:(.text._Z16brewmaniac_setupv+0x0): undefined reference to `_Z10EepromInitv'
c:/users/user/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: .pio\build\distilling\src\BrewManiac.cpp.o:(.text._Z16brewmaniac_setupv+0x11): undefined reference to `_Z10EepromInitv'
c:/users/user/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: .pio\build\distilling\src\BrewManiac.cpp.o:(.text._Z16brewmaniac_setupv+0x2f): undefined reference to `_Z11readSettingi'
c:/users/user/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: .pio\build\distilling\src\BrewManiac.cpp.o:(.text._Z13autoModeSetupv+0x3f): undefined reference to `_Z11readSettingi'
c:/users/user/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: .pio\build\distilling\src\BrewManiac.cpp.o:(.text._Z20autoModeEnterDoughInv+0x5a): undefined reference to `_Z11readSettingi'
c:/users/user/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: .pio\build\distilling\src\BrewManiac.cpp.o:(.text._Z20autoModeEnterDoughInv+0x7d): undefined reference to `_Z11readSettingi'
c:/users/user/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: .pio\build\distilling\src\BrewManiac.cpp.o: in function `_Z10backToMainv':
BrewManiac.cpp:(.text._Z10backToMainv+0x41): undefined reference to `_Z13commitSettingv'
c:/users/user/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: .pio\build\distilling\src\BrewManiac.cpp.o:(.text._Z17autoModeWhirlpoolm+0x42): undefined reference to `_Z11readSettingi'
c:/users/user/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: .pio\build\distilling\src\BrewManiac.cpp.o:(.text._Z26autoModePumpPrimingHandlerh+0x25): undefined reference to `_Z11readSettingi'
c:/users/user/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: .pio\build\distilling\src\BrewManiac.cpp.o: in function `_Z26autoModePumpPrimingHandlerh':
BrewManiac.cpp:(.text._Z26autoModePumpPrimingHandlerh+0x50): undefined reference to `_Z11readSettingi'
c:/users/user/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: BrewManiac.cpp:(.text._Z26autoModePumpPrimingHandlerh+0x63): undefined reference to `_Z11readSettingi'
c:/users/user/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: .pio\build\distilling\src\BrewManiac.cpp.o:(.text._Z20autoModeEnterBoilingv+0x21): undefined reference to `_Z11readSettingi'
c:/users/user/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: .pio\build\distilling\src\BrewManiac.cpp.o:(.text._Z20autoModeEnterBoilingv+0x65): more undefined references to `_Z11readSettingi' follow
c:/users/user/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: .pio\build\distilling\src\BrewManiac.cpp.o:(.text._Z18autoModeAutoResumev+0x28): undefined reference to `_Z15readSettingWordi'
c:/users/user/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: .pio\build\distilling\src\BrewManiac.cpp.o: in function `_Z28autoModeMashingStageFinishedv':
BrewManiac.cpp:(.text._Z28autoModeMashingStageFinishedv+0x2a): undefined reference to `_Z11readSettingi'
c:/users/user/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: BrewManiac.cpp:(.text._Z28autoModeMashingStageFinishedv+0x54): undefined reference to `_Z11readSettingi'
c:/users/user/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: .pio\build\distilling\src\BrewManiac.cpp.o:(.text._Z32autoModeMashInAskContinueHandlerh+0x19): undefined reference to `_Z11readSettingi'
c:/users/user/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: .pio\build\distilling\src\BrewManiac.cpp.o:(.text._Z32autoModeMashInAskContinueHandlerh+0x26): undefined reference to `_Z11readSettingi'
c:/users/user/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: .pio\build\distilling\src\BrewManiacWeb.cpp.o:(.text._ZN13BrewManiacWeb11getSettingsER6String+0xa0): undefined reference to `_Z11readSettingi'
c:/users/user/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: .pio\build\distilling\src\BrewManiacWeb.cpp.o:(.text._ZN13BrewManiacWeb11getSettingsER6String+0x102): more undefined references to `_Z11readSettingi' follow
c:/users/user/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: .pio\build\distilling\src\BrewManiacWeb.cpp.o:(.text._ZN13BrewManiacWeb11getSettingsER6String+0x114): undefined reference to `_Z15readSettingWordi'
c:/users/user/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: .pio\build\distilling\src\BrewManiacWeb.cpp.o: in function `_ZN13BrewManiacWeb14updateSettingsER6String':
BrewManiacWeb.cpp:(.text._ZN13BrewManiacWeb14updateSettingsER6String+0x354): undefined reference to `_Z13commitSettingv'
collect2.exe: error: ld returned 1 exit status
*** [.pio\build\distilling\firmware.elf] Error 1
================================================================================== [FAILED] Took 3.92 seconds ==================================================================================

Environment    Status    Duration
-------------  --------  ------------
distilling     FAILED    00:00:03.924
============================================================================ 1 failed, 0 succeeded in 00:00:03.924 ============================================================================ 

 *  The terminal process "C:\Users\user\.platformio\penv\Scripts\platformio.exe 'run'" terminated with exit code: 1. 
 *  Terminal will be reused by tasks, press any key to close it. 
@dmcaetano1
Copy link

I'm facing exactly same problem, with the same result...

@vitotai
Copy link
Owner

vitotai commented Mar 24, 2024

I couldn't reproduce.
It seems like a compiler relate issue. There is no '_Z13commitSettingv' function but 'commitSetting'. The compiler seems to generates another symbol for some reasons.

@Omnn82
Copy link
Author

Omnn82 commented Mar 27, 2024

On version 0.5.2 there is no such problem...
Visual Studio version - 1.87.1

@vitotai
Copy link
Owner

vitotai commented Mar 30, 2024

my bad. One file was missed.

@dmcaetano1
Copy link

Now, everything is fine here. Thanks Vitotai!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants