[Bug 362] New: orocos-rtt.pc file does not list -lpthread

For more information about this bug, visit
A new bug was added:
Summary: orocos-rtt.pc file does not list -lpthread
Product: RTT
Version: 1.0.3
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Build System
AssignedTo: orocos-dev [..] ...
ReportedBy: peter [dot] soetens [..] ...

As reported on the orocos-dev mailing list, this link flag is not present and
causes the build of applications to fail on certain platforms.

This error is present in all Orocos versions 1.0.x and the 1.2 branch.

The work around is to edit the /usr/local/orocos/lib/pkgconfig/orocos-rtt.pc
file and add ' -lpthread' at the end of the 'Libs: ' line.

[Bug 362] orocos-rtt.pc file does not list -lpthread

For more information about this bug, visit

peter [dot] soetens [..] ... changed:

What |Removed |Added
---------------------------------------------------------------------------
Resolution| |FIXED
Status|NEW |RESOLVED

------- Comment #1 from peter [dot] soetens [..] ... 2007-03-23 12:26

$ svn commit -m"Fix bug #362 on 1.2 branch: orocos-rtt.pc file does not list
-lpthread
+ Fixed Xenomai specific build and link flags."
Sending rtt/config/check_depend.cmake
Transmitting file data .
Committed revision 6746.

$ svn commit acinclude.m4 -m"Fix bug #362 on 1.0 branch: orocos-rtt.pc file
does not list -lpthread"
Sending acinclude.m4
Transmitting file data .
Committed revision 6750.

Another way to work around this bug for 1.0.x releases is to specify explicitly
../configure --with-gnulinux
instead of plain
../configure