Skip to content

Instantly share code, notes, and snippets.

@karanjamutahi
Last active September 11, 2019 23:02
Show Gist options
  • Save karanjamutahi/593c5addb40358c2a5f63a197cf7dcb1 to your computer and use it in GitHub Desktop.
Save karanjamutahi/593c5addb40358c2a5f63a197cf7dcb1 to your computer and use it in GitHub Desktop.
Arduino: 1.8.9 (Linux), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"
/home/thorin/Downloads/arduino-1.8.9/arduino-builder -dump-prefs -logger=machine -hardware /home/thorin/Downloads/arduino-1.8.9/hardware -hardware /home/thorin/.arduino15/packages -tools /home/thorin/Downloads/arduino-1.8.9/tools-builder -tools /home/thorin/Downloads/arduino-1.8.9/hardware/tools/avr -tools /home/thorin/.arduino15/packages -built-in-libraries /home/thorin/Downloads/arduino-1.8.9/libraries -libraries /home/thorin/Arduino/libraries -fqbn=arduino:avr:mega:cpu=atmega2560 -vid-pid=0X2341_0X0042 -ide-version=10809 -build-path /tmp/arduino_build_727343 -warnings=all -build-cache /tmp/arduino_cache_771255 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=/home/thorin/Downloads/arduino-1.8.9/hardware/tools/avr -prefs=runtime.tools.avr-gcc-5.4.0-atmel3.6.1-arduino2.path=/home/thorin/Downloads/arduino-1.8.9/hardware/tools/avr -prefs=runtime.tools.avrdude.path=/home/thorin/Downloads/arduino-1.8.9/hardware/tools/avr -prefs=runtime.tools.avrdude-6.3.0-arduino14.path=/home/thorin/Downloads/arduino-1.8.9/hardware/tools/avr -prefs=runtime.tools.arduinoOTA.path=/home/thorin/Downloads/arduino-1.8.9/hardware/tools/avr -prefs=runtime.tools.arduinoOTA-1.2.1.path=/home/thorin/Downloads/arduino-1.8.9/hardware/tools/avr -verbose /home/thorin/projects/jobs/Brainverse/Brainverse1/Brainverse1.ino
/home/thorin/Downloads/arduino-1.8.9/arduino-builder -compile -logger=machine -hardware /home/thorin/Downloads/arduino-1.8.9/hardware -hardware /home/thorin/.arduino15/packages -tools /home/thorin/Downloads/arduino-1.8.9/tools-builder -tools /home/thorin/Downloads/arduino-1.8.9/hardware/tools/avr -tools /home/thorin/.arduino15/packages -built-in-libraries /home/thorin/Downloads/arduino-1.8.9/libraries -libraries /home/thorin/Arduino/libraries -fqbn=arduino:avr:mega:cpu=atmega2560 -vid-pid=0X2341_0X0042 -ide-version=10809 -build-path /tmp/arduino_build_727343 -warnings=all -build-cache /tmp/arduino_cache_771255 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=/home/thorin/Downloads/arduino-1.8.9/hardware/tools/avr -prefs=runtime.tools.avr-gcc-5.4.0-atmel3.6.1-arduino2.path=/home/thorin/Downloads/arduino-1.8.9/hardware/tools/avr -prefs=runtime.tools.avrdude.path=/home/thorin/Downloads/arduino-1.8.9/hardware/tools/avr -prefs=runtime.tools.avrdude-6.3.0-arduino14.path=/home/thorin/Downloads/arduino-1.8.9/hardware/tools/avr -prefs=runtime.tools.arduinoOTA.path=/home/thorin/Downloads/arduino-1.8.9/hardware/tools/avr -prefs=runtime.tools.arduinoOTA-1.2.1.path=/home/thorin/Downloads/arduino-1.8.9/hardware/tools/avr -verbose /home/thorin/projects/jobs/Brainverse/Brainverse1/Brainverse1.ino
Using board 'mega' from platform in folder: /home/thorin/Downloads/arduino-1.8.9/hardware/arduino/avr
Using core 'arduino' from platform in folder: /home/thorin/Downloads/arduino-1.8.9/hardware/arduino/avr
Detecting libraries used...
/home/thorin/Downloads/arduino-1.8.9/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR -I/home/thorin/Downloads/arduino-1.8.9/hardware/arduino/avr/cores/arduino -I/home/thorin/Downloads/arduino-1.8.9/hardware/arduino/avr/variants/mega /tmp/arduino_build_727343/sketch/Brainverse1.ino.cpp -o /dev/null
/home/thorin/Downloads/arduino-1.8.9/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR -I/home/thorin/Downloads/arduino-1.8.9/hardware/arduino/avr/cores/arduino -I/home/thorin/Downloads/arduino-1.8.9/hardware/arduino/avr/variants/mega -I/home/thorin/Arduino/libraries/HX711_Arduino_Library-0.7.2/src /tmp/arduino_build_727343/sketch/Brainverse1.ino.cpp -o /dev/null
/home/thorin/Downloads/arduino-1.8.9/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR -I/home/thorin/Downloads/arduino-1.8.9/hardware/arduino/avr/cores/arduino -I/home/thorin/Downloads/arduino-1.8.9/hardware/arduino/avr/variants/mega -I/home/thorin/Arduino/libraries/HX711_Arduino_Library-0.7.2/src -I/home/thorin/Arduino/libraries/TinyGSM/src /tmp/arduino_build_727343/sketch/Brainverse1.ino.cpp -o /dev/null
/home/thorin/Downloads/arduino-1.8.9/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR -I/home/thorin/Downloads/arduino-1.8.9/hardware/arduino/avr/cores/arduino -I/home/thorin/Downloads/arduino-1.8.9/hardware/arduino/avr/variants/mega -I/home/thorin/Arduino/libraries/HX711_Arduino_Library-0.7.2/src -I/home/thorin/Arduino/libraries/TinyGSM/src -I/home/thorin/Arduino/libraries/ArduinoHttpClient-master/src /tmp/arduino_build_727343/sketch/Brainverse1.ino.cpp -o /dev/null
/home/thorin/Downloads/arduino-1.8.9/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR -I/home/thorin/Downloads/arduino-1.8.9/hardware/arduino/avr/cores/arduino -I/home/thorin/Downloads/arduino-1.8.9/hardware/arduino/avr/variants/mega -I/home/thorin/Arduino/libraries/HX711_Arduino_Library-0.7.2/src -I/home/thorin/Arduino/libraries/TinyGSM/src -I/home/thorin/Arduino/libraries/ArduinoHttpClient-master/src -I/home/thorin/Arduino/libraries/ArduinoJson-6.x/src /tmp/arduino_build_727343/sketch/Brainverse1.ino.cpp -o /dev/null
/home/thorin/Downloads/arduino-1.8.9/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR -I/home/thorin/Downloads/arduino-1.8.9/hardware/arduino/avr/cores/arduino -I/home/thorin/Downloads/arduino-1.8.9/hardware/arduino/avr/variants/mega -I/home/thorin/Arduino/libraries/HX711_Arduino_Library-0.7.2/src -I/home/thorin/Arduino/libraries/TinyGSM/src -I/home/thorin/Arduino/libraries/ArduinoHttpClient-master/src -I/home/thorin/Arduino/libraries/ArduinoJson-6.x/src -I/home/thorin/Arduino/libraries/I2Cdev /tmp/arduino_build_727343/sketch/Brainverse1.ino.cpp -o /dev/null
/home/thorin/Downloads/arduino-1.8.9/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR -I/home/thorin/Downloads/arduino-1.8.9/hardware/arduino/avr/cores/arduino -I/home/thorin/Downloads/arduino-1.8.9/hardware/arduino/avr/variants/mega -I/home/thorin/Arduino/libraries/HX711_Arduino_Library-0.7.2/src -I/home/thorin/Arduino/libraries/TinyGSM/src -I/home/thorin/Arduino/libraries/ArduinoHttpClient-master/src -I/home/thorin/Arduino/libraries/ArduinoJson-6.x/src -I/home/thorin/Arduino/libraries/I2Cdev -I/home/thorin/Downloads/arduino-1.8.9/hardware/arduino/avr/libraries/Wire/src /tmp/arduino_build_727343/sketch/Brainverse1.ino.cpp -o /dev/null
/home/thorin/Downloads/arduino-1.8.9/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR -I/home/thorin/Downloads/arduino-1.8.9/hardware/arduino/avr/cores/arduino -I/home/thorin/Downloads/arduino-1.8.9/hardware/arduino/avr/variants/mega -I/home/thorin/Arduino/libraries/HX711_Arduino_Library-0.7.2/src -I/home/thorin/Arduino/libraries/TinyGSM/src -I/home/thorin/Arduino/libraries/ArduinoHttpClient-master/src -I/home/thorin/Arduino/libraries/ArduinoJson-6.x/src -I/home/thorin/Arduino/libraries/I2Cdev -I/home/thorin/Downloads/arduino-1.8.9/hardware/arduino/avr/libraries/Wire/src -I/home/thorin/Arduino/libraries/mpu6050-master/src /tmp/arduino_build_727343/sketch/Brainverse1.ino.cpp -o /dev/null
Using cached library dependencies for file: /tmp/arduino_build_727343/sketch/LoadCell.cpp
Using cached library dependencies for file: /tmp/arduino_build_727343/sketch/LogPrint.cpp
/home/thorin/Downloads/arduino-1.8.9/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR -I/home/thorin/Downloads/arduino-1.8.9/hardware/arduino/avr/cores/arduino -I/home/thorin/Downloads/arduino-1.8.9/hardware/arduino/avr/variants/mega -I/home/thorin/Arduino/libraries/HX711_Arduino_Library-0.7.2/src -I/home/thorin/Arduino/libraries/TinyGSM/src -I/home/thorin/Arduino/libraries/ArduinoHttpClient-master/src -I/home/thorin/Arduino/libraries/ArduinoJson-6.x/src -I/home/thorin/Arduino/libraries/I2Cdev -I/home/thorin/Downloads/arduino-1.8.9/hardware/arduino/avr/libraries/Wire/src -I/home/thorin/Arduino/libraries/mpu6050-master/src /tmp/arduino_build_727343/sketch/MPU.cpp -o /dev/null
Using cached library dependencies for file: /tmp/arduino_build_727343/sketch/Modem.cpp
Using cached library dependencies for file: /home/thorin/Arduino/libraries/HX711_Arduino_Library-0.7.2/src/HX711.cpp
Using cached library dependencies for file: /home/thorin/Arduino/libraries/ArduinoHttpClient-master/src/HttpClient.cpp
Using cached library dependencies for file: /home/thorin/Arduino/libraries/ArduinoHttpClient-master/src/URLEncoder.cpp
Using cached library dependencies for file: /home/thorin/Arduino/libraries/ArduinoHttpClient-master/src/WebSocketClient.cpp
Using cached library dependencies for file: /home/thorin/Arduino/libraries/ArduinoHttpClient-master/src/b64.cpp
Using cached library dependencies for file: /home/thorin/Arduino/libraries/I2Cdev/I2Cdev.cpp
Using cached library dependencies for file: /home/thorin/Downloads/arduino-1.8.9/hardware/arduino/avr/libraries/Wire/src/Wire.cpp
Using cached library dependencies for file: /home/thorin/Downloads/arduino-1.8.9/hardware/arduino/avr/libraries/Wire/src/utility/twi.c
Using cached library dependencies for file: /home/thorin/Arduino/libraries/mpu6050-master/src/I2Cdev.cpp
Using cached library dependencies for file: /home/thorin/Arduino/libraries/mpu6050-master/src/MPU6050.cpp
Generating function prototypes...
/home/thorin/Downloads/arduino-1.8.9/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR -I/home/thorin/Downloads/arduino-1.8.9/hardware/arduino/avr/cores/arduino -I/home/thorin/Downloads/arduino-1.8.9/hardware/arduino/avr/variants/mega -I/home/thorin/Arduino/libraries/HX711_Arduino_Library-0.7.2/src -I/home/thorin/Arduino/libraries/TinyGSM/src -I/home/thorin/Arduino/libraries/ArduinoHttpClient-master/src -I/home/thorin/Arduino/libraries/ArduinoJson-6.x/src -I/home/thorin/Arduino/libraries/I2Cdev -I/home/thorin/Downloads/arduino-1.8.9/hardware/arduino/avr/libraries/Wire/src -I/home/thorin/Arduino/libraries/mpu6050-master/src /tmp/arduino_build_727343/sketch/Brainverse1.ino.cpp -o /tmp/arduino_build_727343/preproc/ctags_target_for_gcc_minus_e.cpp
/home/thorin/Downloads/arduino-1.8.9/tools-builder/ctags/5.8-arduino11/ctags -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives /tmp/arduino_build_727343/preproc/ctags_target_for_gcc_minus_e.cpp
Compiling sketch...
Using previously compiled file: /tmp/arduino_build_727343/sketch/LogPrint.cpp.o
/home/thorin/Downloads/arduino-1.8.9/hardware/tools/avr/bin/avr-g++ -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR -I/home/thorin/Downloads/arduino-1.8.9/hardware/arduino/avr/cores/arduino -I/home/thorin/Downloads/arduino-1.8.9/hardware/arduino/avr/variants/mega -I/home/thorin/Arduino/libraries/HX711_Arduino_Library-0.7.2/src -I/home/thorin/Arduino/libraries/TinyGSM/src -I/home/thorin/Arduino/libraries/ArduinoHttpClient-master/src -I/home/thorin/Arduino/libraries/ArduinoJson-6.x/src -I/home/thorin/Arduino/libraries/I2Cdev -I/home/thorin/Downloads/arduino-1.8.9/hardware/arduino/avr/libraries/Wire/src -I/home/thorin/Arduino/libraries/mpu6050-master/src /tmp/arduino_build_727343/sketch/Brainverse1.ino.cpp -o /tmp/arduino_build_727343/sketch/Brainverse1.ino.cpp.o
Using previously compiled file: /tmp/arduino_build_727343/sketch/LoadCell.cpp.o
/home/thorin/Downloads/arduino-1.8.9/hardware/tools/avr/bin/avr-g++ -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR -I/home/thorin/Downloads/arduino-1.8.9/hardware/arduino/avr/cores/arduino -I/home/thorin/Downloads/arduino-1.8.9/hardware/arduino/avr/variants/mega -I/home/thorin/Arduino/libraries/HX711_Arduino_Library-0.7.2/src -I/home/thorin/Arduino/libraries/TinyGSM/src -I/home/thorin/Arduino/libraries/ArduinoHttpClient-master/src -I/home/thorin/Arduino/libraries/ArduinoJson-6.x/src -I/home/thorin/Arduino/libraries/I2Cdev -I/home/thorin/Downloads/arduino-1.8.9/hardware/arduino/avr/libraries/Wire/src -I/home/thorin/Arduino/libraries/mpu6050-master/src /tmp/arduino_build_727343/sketch/MPU.cpp -o /tmp/arduino_build_727343/sketch/MPU.cpp.o
Using previously compiled file: /tmp/arduino_build_727343/sketch/Modem.cpp.o
/tmp/arduino_build_727343/sketch/MPU.cpp: In member function 'uint16_t Accel::ReadX()':
/tmp/arduino_build_727343/sketch/MPU.cpp:10:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
/tmp/arduino_build_727343/sketch/MPU.cpp: In member function 'uint16_t Accel::ReadY()':
/tmp/arduino_build_727343/sketch/MPU.cpp:14:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
/tmp/arduino_build_727343/sketch/MPU.cpp: In member function 'uint16_t Accel::ReadZ()':
/tmp/arduino_build_727343/sketch/MPU.cpp:18:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
In file included from /home/thorin/Downloads/arduino-1.8.9/hardware/tools/avr/avr/include/avr/eeprom.h:50:0,
from /home/thorin/Downloads/arduino-1.8.9/hardware/arduino/avr/cores/arduino/USBAPI.h:25,
from /home/thorin/Downloads/arduino-1.8.9/hardware/arduino/avr/cores/arduino/Arduino.h:233,
from /tmp/arduino_build_727343/sketch/Brainverse1.ino.cpp:1:
/home/thorin/Arduino/libraries/TinyGSM/src/TinyGsmClientSIM800.h:170:31: warning: unused parameter 'pin' [-Wunused-parameter]
bool init(const char* pin = NULL) {
^
/home/thorin/projects/jobs/Brainverse/Brainverse1/Brainverse1.ino:12:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
Comms comms( "https://postb.in/b/1568237390477-5931852320209" ,80);
^
Compiling libraries...
Compiling library "HX711_Arduino_Library-0.7.2"
Using previously compiled file: /tmp/arduino_build_727343/libraries/HX711_Arduino_Library-0.7.2/HX711.cpp.o
Compiling library "TinyGSM"
Compiling library "ArduinoHttpClient-master"
Using previously compiled file: /tmp/arduino_build_727343/libraries/ArduinoHttpClient-master/URLEncoder.cpp.o
Using previously compiled file: /tmp/arduino_build_727343/libraries/ArduinoHttpClient-master/HttpClient.cpp.o
Using previously compiled file: /tmp/arduino_build_727343/libraries/ArduinoHttpClient-master/b64.cpp.o
Using previously compiled file: /tmp/arduino_build_727343/libraries/ArduinoHttpClient-master/WebSocketClient.cpp.o
Compiling library "ArduinoJson-6.x"
Compiling library "I2Cdev"
Using previously compiled file: /tmp/arduino_build_727343/libraries/I2Cdev/I2Cdev.cpp.o
Compiling library "Wire"
Using previously compiled file: /tmp/arduino_build_727343/libraries/Wire/Wire.cpp.o
Using previously compiled file: /tmp/arduino_build_727343/libraries/Wire/utility/twi.c.o
Compiling library "mpu6050-master"
Using previously compiled file: /tmp/arduino_build_727343/libraries/mpu6050-master/MPU6050.cpp.o
Using previously compiled file: /tmp/arduino_build_727343/libraries/mpu6050-master/I2Cdev.cpp.o
Compiling core...
Using precompiled core: /tmp/arduino_cache_771255/core/core_arduino_avr_mega_cpu_atmega2560_fa0aaecfc67c0710374c0db34719f0ee.a
Linking everything together...
/home/thorin/Downloads/arduino-1.8.9/hardware/tools/avr/bin/avr-gcc -Wall -Wextra -Os -g -flto -fuse-linker-plugin -Wl,--gc-sections,--relax -mmcu=atmega2560 -o /tmp/arduino_build_727343/Brainverse1.ino.elf /tmp/arduino_build_727343/sketch/Brainverse1.ino.cpp.o /tmp/arduino_build_727343/sketch/LoadCell.cpp.o /tmp/arduino_build_727343/sketch/LogPrint.cpp.o /tmp/arduino_build_727343/sketch/MPU.cpp.o /tmp/arduino_build_727343/sketch/Modem.cpp.o /tmp/arduino_build_727343/libraries/HX711_Arduino_Library-0.7.2/HX711.cpp.o /tmp/arduino_build_727343/libraries/ArduinoHttpClient-master/HttpClient.cpp.o /tmp/arduino_build_727343/libraries/ArduinoHttpClient-master/URLEncoder.cpp.o /tmp/arduino_build_727343/libraries/ArduinoHttpClient-master/WebSocketClient.cpp.o /tmp/arduino_build_727343/libraries/ArduinoHttpClient-master/b64.cpp.o /tmp/arduino_build_727343/libraries/I2Cdev/I2Cdev.cpp.o /tmp/arduino_build_727343/libraries/Wire/Wire.cpp.o /tmp/arduino_build_727343/libraries/Wire/utility/twi.c.o /tmp/arduino_build_727343/libraries/mpu6050-master/I2Cdev.cpp.o /tmp/arduino_build_727343/libraries/mpu6050-master/MPU6050.cpp.o /tmp/arduino_build_727343/../arduino_cache_771255/core/core_arduino_avr_mega_cpu_atmega2560_fa0aaecfc67c0710374c0db34719f0ee.a -L/tmp/arduino_build_727343 -lm
/tmp/arduino_build_727343/sketch/MPU.cpp.o (symbol from plugin): In function `Accel::Accel()':
(.text+0x0): multiple definition of `az'
/tmp/arduino_build_727343/sketch/Brainverse1.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here
/home/thorin/Downloads/arduino-1.8.9/hardware/tools/avr/bin/../lib/gcc/avr/5.4.0/../../../../avr/bin/ld: Disabling relaxation: it will not work with multiple definitions
/tmp/arduino_build_727343/sketch/MPU.cpp.o (symbol from plugin): In function `Accel::Accel()':
(.text+0x0): multiple definition of `ay'
/tmp/arduino_build_727343/sketch/Brainverse1.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here
/tmp/arduino_build_727343/sketch/MPU.cpp.o (symbol from plugin): In function `Accel::Accel()':
(.text+0x0): multiple definition of `ax'
/tmp/arduino_build_727343/sketch/Brainverse1.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here
/tmp/arduino_build_727343/libraries/mpu6050-master/I2Cdev.cpp.o (symbol from plugin): In function `I2Cdev::I2Cdev()':
(.text+0x0): multiple definition of `I2Cdev::I2Cdev()'
/tmp/arduino_build_727343/libraries/I2Cdev/I2Cdev.cpp.o (symbol from plugin):(.text+0x0): first defined here
/tmp/arduino_build_727343/libraries/mpu6050-master/I2Cdev.cpp.o (symbol from plugin): In function `I2Cdev::I2Cdev()':
(.text+0x0): multiple definition of `I2Cdev::I2Cdev()'
/tmp/arduino_build_727343/libraries/I2Cdev/I2Cdev.cpp.o (symbol from plugin):(.text+0x0): first defined here
/tmp/arduino_build_727343/libraries/mpu6050-master/I2Cdev.cpp.o (symbol from plugin): In function `I2Cdev::I2Cdev()':
(.text+0x0): multiple definition of `I2Cdev::writeBytes(unsigned char, unsigned char, unsigned char, unsigned char*)'
/tmp/arduino_build_727343/libraries/I2Cdev/I2Cdev.cpp.o (symbol from plugin):(.text+0x0): first defined here
/tmp/arduino_build_727343/libraries/mpu6050-master/I2Cdev.cpp.o (symbol from plugin): In function `I2Cdev::I2Cdev()':
(.text+0x0): multiple definition of `I2Cdev::writeByte(unsigned char, unsigned char, unsigned char)'
Multiple libraries were found for "I2Cdev.h"
Used: /home/thorin/Arduino/libraries/I2Cdev
Not used: /home/thorin/Arduino/libraries/mpu6050-master
/tmp/arduino_build_727343/libraries/I2Cdev/I2Cdev.cpp.o (symbol from plugin):(.text+0x0): first defined here
/tmp/arduino_build_727343/libraries/mpu6050-master/I2Cdev.cpp.o (symbol from plugin): In function `I2Cdev::I2Cdev()':
(.text+0x0): multiple definition of `I2Cdev::writeWords(unsigned char, unsigned char, unsigned char, unsigned int*)'
/tmp/arduino_build_727343/libraries/I2Cdev/I2Cdev.cpp.o (symbol from plugin):(.text+0x0): first defined here
/tmp/arduino_build_727343/libraries/mpu6050-master/I2Cdev.cpp.o (symbol from plugin): In function `I2Cdev::I2Cdev()':
(.text+0x0): multiple definition of `I2Cdev::writeWord(unsigned char, unsigned char, unsigned int)'
/tmp/arduino_build_727343/libraries/I2Cdev/I2Cdev.cpp.o (symbol from plugin):(.text+0x0): first defined here
/tmp/arduino_build_727343/libraries/mpu6050-master/I2Cdev.cpp.o (symbol from plugin): In function `I2Cdev::I2Cdev()':
(.text+0x0): multiple definition of `I2Cdev::readBytes(unsigned char, unsigned char, unsigned char, unsigned char*, unsigned int)'
/tmp/arduino_build_727343/libraries/I2Cdev/I2Cdev.cpp.o (symbol from plugin):(.text+0x0): first defined here
/tmp/arduino_build_727343/libraries/mpu6050-master/I2Cdev.cpp.o (symbol from plugin): In function `I2Cdev::I2Cdev()':
(.text+0x0): multiple definition of `I2Cdev::readByte(unsigned char, unsigned char, unsigned char*, unsigned int)'
/tmp/arduino_build_727343/libraries/I2Cdev/I2Cdev.cpp.o (symbol from plugin):(.text+0x0): first defined here
/tmp/arduino_build_727343/libraries/mpu6050-master/I2Cdev.cpp.o (symbol from plugin): In function `I2Cdev::I2Cdev()':
(.text+0x0): multiple definition of `I2Cdev::readBit(unsigned char, unsigned char, unsigned char, unsigned char*, unsigned int)'
/tmp/arduino_build_727343/libraries/I2Cdev/I2Cdev.cpp.o (symbol from plugin):(.text+0x0): first defined here
/tmp/arduino_build_727343/libraries/mpu6050-master/I2Cdev.cpp.o (symbol from plugin): In function `I2Cdev::I2Cdev()':
(.text+0x0): multiple definition of `I2Cdev::readBits(unsigned char, unsigned char, unsigned char, unsigned char, unsigned char*, unsigned int)'
/tmp/arduino_build_727343/libraries/I2Cdev/I2Cdev.cpp.o (symbol from plugin):(.text+0x0): first defined here
/tmp/arduino_build_727343/libraries/mpu6050-master/I2Cdev.cpp.o (symbol from plugin): In function `I2Cdev::I2Cdev()':
(.text+0x0): multiple definition of `I2Cdev::writeBit(unsigned char, unsigned char, unsigned char, unsigned char)'
/tmp/arduino_build_727343/libraries/I2Cdev/I2Cdev.cpp.o (symbol from plugin):(.text+0x0): first defined here
/tmp/arduino_build_727343/libraries/mpu6050-master/I2Cdev.cpp.o (symbol from plugin): In function `I2Cdev::I2Cdev()':
(.text+0x0): multiple definition of `I2Cdev::readTimeout'
/tmp/arduino_build_727343/libraries/I2Cdev/I2Cdev.cpp.o (symbol from plugin):(.text+0x0): first defined here
/tmp/arduino_build_727343/libraries/mpu6050-master/I2Cdev.cpp.o (symbol from plugin): In function `I2Cdev::I2Cdev()':
(.text+0x0): multiple definition of `I2Cdev::writeBits(unsigned char, unsigned char, unsigned char, unsigned char, unsigned char)'
/tmp/arduino_build_727343/libraries/I2Cdev/I2Cdev.cpp.o (symbol from plugin):(.text+0x0): first defined here
/tmp/arduino_build_727343/libraries/mpu6050-master/I2Cdev.cpp.o (symbol from plugin): In function `I2Cdev::I2Cdev()':
(.text+0x0): multiple definition of `I2Cdev::readWords(unsigned char, unsigned char, unsigned char, unsigned int*, unsigned int)'
/tmp/arduino_build_727343/libraries/I2Cdev/I2Cdev.cpp.o (symbol from plugin):(.text+0x0): first defined here
/tmp/arduino_build_727343/libraries/mpu6050-master/I2Cdev.cpp.o (symbol from plugin): In function `I2Cdev::I2Cdev()':
(.text+0x0): multiple definition of `I2Cdev::readWord(unsigned char, unsigned char, unsigned int*, unsigned int)'
/tmp/arduino_build_727343/libraries/I2Cdev/I2Cdev.cpp.o (symbol from plugin):(.text+0x0): first defined here
/tmp/arduino_build_727343/libraries/mpu6050-master/I2Cdev.cpp.o (symbol from plugin): In function `I2Cdev::I2Cdev()':
(.text+0x0): multiple definition of `I2Cdev::readBitW(unsigned char, unsigned char, unsigned char, unsigned int*, unsigned int)'
/tmp/arduino_build_727343/libraries/I2Cdev/I2Cdev.cpp.o (symbol from plugin):(.text+0x0): first defined here
/tmp/arduino_build_727343/libraries/mpu6050-master/I2Cdev.cpp.o (symbol from plugin): In function `I2Cdev::I2Cdev()':
(.text+0x0): multiple definition of `I2Cdev::readBitsW(unsigned char, unsigned char, unsigned char, unsigned char, unsigned int*, unsigned int)'
/tmp/arduino_build_727343/libraries/I2Cdev/I2Cdev.cpp.o (symbol from plugin):(.text+0x0): first defined here
/tmp/arduino_build_727343/libraries/mpu6050-master/I2Cdev.cpp.o (symbol from plugin): In function `I2Cdev::I2Cdev()':
(.text+0x0): multiple definition of `I2Cdev::writeBitW(unsigned char, unsigned char, unsigned char, unsigned int)'
/tmp/arduino_build_727343/libraries/I2Cdev/I2Cdev.cpp.o (symbol from plugin):(.text+0x0): first defined here
/tmp/arduino_build_727343/libraries/mpu6050-master/I2Cdev.cpp.o (symbol from plugin): In function `I2Cdev::I2Cdev()':
(.text+0x0): multiple definition of `I2Cdev::writeBitsW(unsigned char, unsigned char, unsigned char, unsigned char, unsigned int)'
/tmp/arduino_build_727343/libraries/I2Cdev/I2Cdev.cpp.o (symbol from plugin):(.text+0x0): first defined here
/home/thorin/Downloads/arduino-1.8.9/hardware/arduino/avr/cores/arduino/HardwareSerial_private.h: In member function '_rx_complete_irq.constprop':
/home/thorin/Downloads/arduino-1.8.9/hardware/arduino/avr/cores/arduino/HardwareSerial_private.h:134:41: warning: 'mb' may be used uninitialized in this function [-Wmaybe-uninitialized]
_rx_buffer[_rx_buffer_head] = mb;
^
/home/thorin/Downloads/arduino-1.8.9/hardware/arduino/avr/cores/arduino/HardwareSerial_private.h:113:19: note: 'mb' was declared here
unsigned char mb;
^
collect2: error: ld returned 1 exit status
Using library HX711_Arduino_Library-0.7.2 at version 0.7.2 in folder: /home/thorin/Arduino/libraries/HX711_Arduino_Library-0.7.2
Using library TinyGSM at version 0.7.9 in folder: /home/thorin/Arduino/libraries/TinyGSM
Using library ArduinoHttpClient-master at version 0.4.0 in folder: /home/thorin/Arduino/libraries/ArduinoHttpClient-master
Using library ArduinoJson-6.x at version 6.12.0 in folder: /home/thorin/Arduino/libraries/ArduinoJson-6.x
Using library I2Cdev in folder: /home/thorin/Arduino/libraries/I2Cdev (legacy)
Using library Wire at version 1.0 in folder: /home/thorin/Downloads/arduino-1.8.9/hardware/arduino/avr/libraries/Wire
Using library mpu6050-master at version 0.0.2 in folder: /home/thorin/Arduino/libraries/mpu6050-master
exit status 1
Error compiling for board Arduino/Genuino Mega or Mega 2560.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment