0

SoftwareSerial library does not complie

Simply including the SoftwareSerial library creates a compilation error:

(.bss._ZN14SoftwareSerial13active_objectE+0x0): multiple definition of `SoftwareSerial::active_object' (.bss._ZN14SoftwareSerial13active_objectE+0x0): first defined here (.bss._ZN14SoftwareSerial15_receive_bufferE+0x0): multiple definition of `SoftwareSerial::_receive_buffer' /home/circuits/123d-circuits/cio-arduino-compiler/build/../arduino-core/libraries/SoftwareSerial/SoftwareSerial.cpp:227: first defined here (.bss._ZN14SoftwareSerial20_receive_buffer_tailE+0x0): multiple definition of `SoftwareSerial::_receive_buffer_tail' /home/circuits/123d-circuits/cio-arduino-compiler/build/../arduino-core/libraries/SoftwareSerial/SoftwareSerial.cpp:227: first defined here (.bss._ZN14SoftwareSerial20_receive_buffer_headE+0x0): multiple definition of `SoftwareSerial::_receive_buffer_head' /home/circuits/123d-circuits/cio-arduino-compiler/build/../arduino-core/libraries/SoftwareSerial/SoftwareSerial.cpp:227: first defined here In function `SoftwareSerial::listen()': (.text._ZN14SoftwareSerial6listenEv+0x0): multiple definition of `SoftwareSerial::listen()' /home/circuits/123d-circuits/cio-arduino-compiler/build/../arduino-core/libraries/SoftwareSerial/SoftwareSerial.cpp:227: first defined here In function `SoftwareSerial::stopListening()': (.text._ZN14SoftwareSerial13stopListeningEv+0x0): multiple definition of `SoftwareSerial::stopListening()' /home/circuits/123d-circuits/cio-arduino-compiler/build/../arduino-core/libraries/SoftwareSerial/SoftwareSerial.cpp:227: first defined here In function `SoftwareSerial::recv()': (.text._ZN14SoftwareSerial4recvEv+0x0): multiple definition of `SoftwareSerial::recv()' /home/circuits/123d-circuits/cio-arduino-compiler/build/../arduino-core/libraries/SoftwareSerial/SoftwareSerial.cpp:227: first defined here In function `SoftwareSerial::rx_pin_read()': (.text._ZN14SoftwareSerial11rx_pin_readEv+0x0): multiple definition of `SoftwareSerial::rx_pin_read()' /home/circuits/123d-circuits/cio-arduino-compiler/build/../arduino-core/libraries/SoftwareSerial/SoftwareSerial.cpp:227: first defined here

2 comments

Please sign in to leave a comment.