Теперь другого рода ошибки
ake all
Building file: ../src/serial.cpp
Invoking: GCC C++ Compiler
g++ -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"src/serial.d" -MT"src/serial.d" -o "src/serial.o" "../src/serial.cpp"
Finished building: ../src/serial.cpp
Building target: Arduino
Invoking: GCC C++ Linker
g++ -L/usr/include -o "Arduino" ./src/Arduino.o ./src/serial.o
./src/serial.o: In function `std::operator|(std::_Ios_Openmode, std::_Ios_Openmode)':
/home/kirill/workspaceNEW/Arduino/Debug/../src/serial.cpp:12: multiple definition of `main'
./src/Arduino.o:/home/kirill/workspaceNEW/Arduino/Debug/../src/Arduino.cpp:20: first defined here
./src/Arduino.o: In function `main':
Arduino.cpp:(.text+0x1343): undefined reference to `LibSerial::SerialStream::Open(std::string, std::_Ios_Openmode)'
Arduino.cpp:(.text+0x1375): undefined reference to `LibSerial::SerialStream::SetBaudRate(LibSerial::SerialStreamBuf::BaudRateEnum)'
./src/serial.o: In function `main':
serial.cpp:(.text+0x82): undefined reference to `LibSerial::SerialStream::Open(std::string, std::_Ios_Openmode)'
serial.cpp:(.text+0xa9): undefined reference to `LibSerial::SerialStream::SetBaudRate(LibSerial::SerialStreamBuf::BaudRateEnum)'
serial.cpp:(.text+0xb8): undefined reference to `LibSerial::SerialStream::SetCharSize(LibSerial::SerialStreamBuf::CharSizeEnum)'
serial.cpp:(.text+0xc7): undefined reference to `LibSerial::SerialStream::SetParity(LibSerial::SerialStreamBuf::ParityEnum)'
serial.cpp:(.text+0xd6): undefined reference to `LibSerial::SerialStream::SetNumOfStopBits(short)'
serial.cpp:(.text+0xe5): undefined reference to `LibSerial::SerialStream::SetFlowControl(LibSerial::SerialStreamBuf::FlowControlEnum)'
collect2: error: ld returned 1 exit status
make: *** [Arduino] Ошибка 1