undefined reference to `SerialPort::SerialPort
Bug #1553282 reported by
Víctor R. Ruiz
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libserial (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
SerialStream/
#include <SerialStream.h>
int main() {
SerialPort serial_
}
$ g++ test.cpp -o test -lserial -lpthread
/tmp/cc14Icap.o: In function `main':
test.cpp:
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
To post a comment you must log in.
Not sure which version of Ubuntu this has been reported, but works in Ubuntu cosmic.