[Bug 844] New: rtt-typekit fails to link


Summary: rtt-typekit fails to link
Product: Toolchain
Version: master
Platform: All
OS/Version: Mac OS X
Status: NEW
Severity: enhancement
Priority: P3
Component: RTT
AssignedTo: orocos-dev [..] ...
ReportedBy: ruben [dot] smits [..] ...
CC: orocos-dev [..] ...
Estimated Hours: 0.0

When building RTT I get the following linking error:

Linking CXX shared library librtt-typekit-macosx.dylib
ld: duplicate symbol RTT::internal::DataSource<bool>::evaluate() constin
CMakeFiles/rtt-typekit-macosx_plugin.dir/RealTimeTypekitGlobals.cpp.o and
collect2: ld returned 1 exit status
make[3]: *** [rtt/typekit/librtt-typekit-macosx.2.3.0.dylib] Error 1

I'm using gcc version i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc.
build 5646)

-- Ruben

Ruben Smits's picture

[Bug 844] rtt-typekit fails to link


--- Comment #1 from Ruben Smits <ruben [dot] smits [..] ...> 2011-03-11 13:41:44 CET ---
This was fixed by commit a17e8bb:

cmake: Check for __APPLE__ instead of __unix__ on Mac OS X

Which is not yet merged into master.

-- Ruben