Code: Select all
Błąd generowania
/root/.arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld: /tmp/arduino-sketch-B930872D266E0FE070994EE97BCF867C/libraries/SuplaDevice/supla/sensor/MAXThermocouple.cpp.o: in function `_ZN5Supla6Sensor15MAXThermocouple6onInitEv':
/var/www/html/code/lib/SuplaDevice/src/supla/sensor/MAXThermocouple.cpp:65: multiple definition of `_ZN5Supla6Sensor15MAXThermocouple6onInitEv'; /tmp/arduino-sketch-B930872D266E0FE070994EE97BCF867C/libraries/SuplaDeviceExtensions/supla/sensor/MAXThermocouple.cpp.o:/var/www/html/code/lib/SuplaDeviceExtensions/src/supla/sensor/MAXThermocouple.cpp:64: first defined here
/root/.arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld: /tmp/arduino-sketch-B930872D266E0FE070994EE97BCF867C/libraries/SuplaDevice/supla/sensor/MAXThermocouple.cpp.o: in function `_ZN5Supla6Sensor15MAXThermocoupleC2Ehhh':
/var/www/html/code/lib/SuplaDevice/src/supla/sensor/MAXThermocouple.cpp:22: multiple definition of `_ZN5Supla6Sensor15MAXThermocoupleC2Ehhh'; /tmp/arduino-sketch-B930872D266E0FE070994EE97BCF867C/libraries/SuplaDeviceExtensions/supla/sensor/MAXThermocouple.cpp.o:/var/www/html/code/lib/SuplaDeviceExtensions/src/supla/sensor/MAXThermocouple.cpp:21: first defined here
/root/.arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld: /tmp/arduino-sketch-B930872D266E0FE070994EE97BCF867C/libraries/SuplaDevice/supla/sensor/MAXThermocouple.cpp.o: in function `_ZN5Supla6Sensor15MAXThermocoupleC2Ehhh':
/var/www/html/code/lib/SuplaDevice/src/supla/sensor/MAXThermocouple.cpp:22: multiple definition of `_ZN5Supla6Sensor15MAXThermocoupleC1Ehhh'; /tmp/arduino-sketch-B930872D266E0FE070994EE97BCF867C/libraries/SuplaDeviceExtensions/supla/sensor/MAXThermocouple.cpp.o:/var/www/html/code/lib/SuplaDeviceExtensions/src/supla/sensor/MAXThermocouple.cpp:21: first defined here
/root/.arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld: /tmp/arduino-sketch-B930872D266E0FE070994EE97BCF867C/libraries/SuplaDevice/supla/sensor/MAXThermocouple.cpp.o: in function `_ZN5Supla6Sensor15MAXThermocouple7spiReadEv':
/var/www/html/code/lib/SuplaDevice/src/supla/sensor/MAXThermocouple.cpp:75: multiple definition of `_ZN5Supla6Sensor15MAXThermocouple7spiReadEv'; /tmp/arduino-sketch-B930872D266E0FE070994EE97BCF867C/libraries/SuplaDeviceExtensions/supla/sensor/MAXThermocouple.cpp.o:/var/www/html/code/lib/SuplaDeviceExtensions/src/supla/sensor/MAXThermocouple.cpp:74: first defined here
/root/.arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld: /tmp/arduino-sketch-B930872D266E0FE070994EE97BCF867C/libraries/SuplaDevice/supla/sensor/MAXThermocouple.cpp.o: in function `_ZN5Supla6Sensor15MAXThermocouple8getValueEv':
/var/www/html/code/lib/SuplaDevice/src/supla/sensor/MAXThermocouple.cpp:26: multiple definition of `_ZN5Supla6Sensor15MAXThermocouple8getValueEv'; /tmp/arduino-sketch-B930872D266E0FE070994EE97BCF867C/libraries/SuplaDeviceExtensions/supla/sensor/MAXThermocouple.cpp.o:/var/www/html/code/lib/SuplaDeviceExtensions/src/supla/sensor/MAXThermocouple.cpp:25: first defined here
collect2: error: ld returned 1 exit status
Error during build: exit status 1
xxxxxxxxxxxxxxxxxx
BOARD esp8266:esp8266:generic:eesz=1M64,xtal=160
BOARD_NAME
TEMPLATE_BOARD
TEMPLATE_JSON
JSON_DEFINITION
OPTIONS -DATOMIC_FS_UPDATE -DBEARSSL_SSL_BASIC -DSUPLA_CONFIG -DSUPLA_DHT11 -DSUPLA_ENABLE_GUI -DSUPLA_OTA