Closed francocipollone closed 1 year ago
andino_base package is failing to build in the ros build farm due to
10:35:36 [ 42%] Building CXX object applications/CMakeFiles/motor_driver_demo.dir/motor_driver_demo.cpp.o 10:35:36 [ 57%] Linking CXX executable motor_driver_demo 10:35:36 /usr/bin/ld: CMakeFiles/motor_driver_demo.dir/motor_driver_demo.cpp.o: in function `andino_base::MotorDriver::MotorDriver()': 10:35:36 motor_driver_demo.cpp:(.text._ZN11andino_base11MotorDriverC2Ev[_ZN11andino_base11MotorDriverC5Ev]+0x18): undefined reference to `LibSerial::SerialPort::SerialPort()' 10:35:36 /usr/bin/ld: CMakeFiles/motor_driver_demo.dir/motor_driver_demo.cpp.o: in function `andino_base::MotorDriver::~MotorDriver()': 10:35:36 motor_driver_demo.cpp:(.text._ZN11andino_base11MotorDriverD2Ev[_ZN11andino_base11MotorDriverD5Ev]+0x18): undefined reference to `LibSerial::SerialPort::~SerialPort()' 10:35:36 /usr/bin/ld: ../src/libmotor_driver.so: undefined reference to `LibSerial::SerialPort::SetCharacterSize(LibSerial::CharacterSize const&)' 10:35:36 /usr/bin/ld: ../src/libmotor_driver.so: undefined reference to `LibSerial::SerialPort::Write(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' 10:35:36 /usr/bin/ld: ../src/libmotor_driver.so: undefined reference to `LibSerial::SerialPort::FlushIOBuffers()' 10:35:36 /usr/bin/ld: ../src/libmotor_driver.so: undefined reference to `LibSerial::SerialPort::SetBaudRate(LibSerial::BaudRate const&)' 10:35:36 /usr/bin/ld: ../src/libmotor_driver.so: undefined reference to `LibSerial::SerialPort::ReadLine(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, char, unsigned long)' 10:35:36 /usr/bin/ld: ../src/libmotor_driver.so: undefined reference to `LibSerial::SerialPort::Open(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::_Ios_Openmode const&)' 10:35:36 /usr/bin/ld: ../src/libmotor_driver.so: undefined reference to `LibSerial::SerialPort::IsOpen() const' 10:35:36 /usr/bin/ld: ../src/libmotor_driver.so: undefined reference to `LibSerial::SerialPort::SetRTS(bool)' 10:35:36 /usr/bin/ld: ../src/libmotor_driver.so: undefined reference to `LibSerial::SerialPort::SetStopBits(LibSerial::StopBits const&)' 10:35:36 /usr/bin/ld: ../src/libmotor_driver.so: undefined reference to `LibSerial::SerialPort::SetFlowControl(LibSerial::FlowControl const&)' 10:35:36 /usr/bin/ld: ../src/libmotor_driver.so: undefined reference to `LibSerial::SerialPort::SetDTR(bool)' 10:35:36 /usr/bin/ld: ../src/libmotor_driver.so: undefined reference to `LibSerial::SerialPort::SetParity(LibSerial::Parity const&)' 10:35:36 collect2: error: ld returned 1 exit status 10:35:36 gmake[2]: *** [applications/CMakeFiles/motor_driver_demo.dir/build.make:98: applications/motor_driver_demo] Error 1 10:35:36 gmake[1]: *** [CMakeFiles/Makefile2:172: applications/CMakeFiles/motor_driver_demo.dir/all] Error 2 10:35:36 gmake: *** [Makefile:146: all] Error 2
See https://build.ros2.org/job/Hdev__andino__ubuntu_jammy_amd64/3/console
From jenkins output:
Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
https://build.ros2.org/job/Hdev__andino__ubuntu_jammy_amd64/3/console
Summary
andino_base package is failing to build in the ros build farm due to
See https://build.ros2.org/job/Hdev__andino__ubuntu_jammy_amd64/3/console