Skip to content

Link error for Connext services on OS 10.10 #31

@wjwwood

Description

@wjwwood

On OS X 10.10 I get this linkedit error:

Undefined symbols for architecture x86_64:
  "connext::check_retcode(DDS_ReturnCode_t, char const*, RTILogMessage const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool)", referenced from:
      connext::details::SampleBase<userland_msgs::dds_::AddTwoIntsResponse_, DDS_WriteParams_t>::initialize() in AddTwoInts_ServiceTypeSupport.cpp.o
      connext::details::SampleBase<userland_msgs::dds_::AddTwoIntsResponse_, DDS_WriteParams_t>::copy_from(userland_msgs::dds_::AddTwoIntsResponse_ const&) in AddTwoInts_ServiceTypeSupport.cpp.o
      connext::details::SampleBase<userland_msgs::dds_::AddTwoIntsResponse_, DDS_SampleInfo>::initialize() in AddTwoInts_ServiceTypeSupport.cpp.o
      connext::details::SampleBase<userland_msgs::dds_::AddTwoIntsResponse_, DDS_SampleInfo>::copy_from(userland_msgs::dds_::AddTwoIntsResponse_ const&) in AddTwoInts_ServiceTypeSupport.cpp.o
      void connext::details::copy_sample<userland_msgs::dds_::AddTwoIntsResponse_, DDS_SampleInfo>(connext::Sample<userland_msgs::dds_::AddTwoIntsResponse_>&, userland_msgs::dds_::AddTwoIntsResponse_ const&, DDS_SampleInfo const&) in AddTwoInts_ServiceTypeSupport.cpp.o
      connext::LoanedSamples<userland_msgs::dds_::AddTwoIntsResponse_>::move_construct_from_loans(userland_msgs::dds_::AddTwoIntsResponse_DataReader*, userland_msgs::dds_::AddTwoIntsResponse_Seq&, DDS_SampleInfoSeq&) in AddTwoInts_ServiceTypeSupport.cpp.o
      connext::details::SampleBase<userland_msgs::dds_::AddTwoIntsRequest_, DDS_SampleInfo>::initialize() in AddTwoInts_ServiceTypeSupport.cpp.o
      ...
  "connext::RequesterParams::service_name(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)", referenced from:
      userland_msgs::service_type_support::create_requester__AddTwoInts(void*, char const*, void**) in AddTwoInts_ServiceTypeSupport.cpp.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

My current theory is that the shared libraries provided by RTI was not compiled with the same version of the std library as I have here on 10.10. I'd like to reach out to RTI on this one.

Until this gets resolved, the OS X CI job will continue to fail.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions