Public bug reported:
SerialStream/SerialPort is unable to use SerialPort class. Using this
program,
#include <SerialStream.h>
int main() {
SerialPort serial_port("/dev/ttyUSB0");
}
$ g++ test.cpp -o test -lserial -lpthread
/tmp/cc14Icap.o: In function `main':
test.cpp:(.text+0x48): undefined reference to
`SerialPort::SerialPort(std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)'
collect2: error: ld returned 1 exit status
The problem is fixed regenerating the package with an empty
override_dh_strip in debian/rules. I guess some required symbols are
being removed.
libserial0: Installed: 0.6.0~rc2+svn122-1
libserial-dev: Installed: 0.6.0~rc2+svn122-1
** Affects: libserial (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1553282
Title:
undefined reference to `SerialPort::SerialPort
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libserial/+bug/1553282/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs