Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-2550

Linking CXX shared library libqpidcommon.dylib

    XMLWordPrintableJSON

Details

    Description

      qpidcommon linking error in Mac OS X. Can anyone give me some clues?

      Thank you!

      Output:
      Undefined symbols:
      "typeinfo for qpid::sys::PollerHandle", referenced from:
      typeinfo for qpid::sys::DispatchHandle in DispatchHandle.o
      "qpid::sys::Poller::registerHandle(qpid::sys::PollerHandle&)", referenced from:
      qpid::sys::DispatchHandle::startWatch(boost::shared_ptr<qpid::sys::Poller>) in DispatchHandle.o
      "___emutls_get_address", referenced from:
      qpid::sys::posix::AsynchIO::readable(qpid::sys::DispatchHandle&) in AsynchIO.o
      qpid::sys::posix::AsynchIO::readable(qpid::sys::DispatchHandle&) in AsynchIO.o
      qpid::sys::posix::AsynchIO::readable(qpid::sys::DispatchHandle&) in AsynchIO.o
      qpid::sys::posix::AsynchIO::readable(qpid::sys::DispatchHandle&) in AsynchIO.o
      qpid::sys::posix::AsynchIO::readable(qpid::sys::DispatchHandle&) in AsynchIO.o
      qpid::sys::posix::AsynchIO::readable(qpid::sys::DispatchHandle&) in AsynchIO.o
      qpid::sys::posix::AsynchIO::readable(qpid::sys::DispatchHandle&) in AsynchIO.o
      qpid::sys::posix::AsynchIO::writeable(qpid::sys::DispatchHandle&) in AsynchIO.o
      qpid::sys::posix::AsynchIO::writeable(qpid::sys::DispatchHandle&) in AsynchIO.o
      qpid::sys::posix::AsynchIO::writeable(qpid::sys::DispatchHandle&) in AsynchIO.o
      qpid::sys::posix::AsynchIO::writeable(qpid::sys::DispatchHandle&) in AsynchIO.o
      qpid::sys::posix::AsynchIO::writeable(qpid::sys::DispatchHandle&) in AsynchIO.o
      qpid::management::ManagementObject::getThreadIndex() in ManagementObject.o
      qpid::management::ManagementObject::getThreadIndex() in ManagementObject.o
      qpid::management::ManagementObject::getThreadIndex() in ManagementObject.o
      qpid::sys::assertClusterSafe() in ClusterSafe.o
      qpid::sys::ClusterSafeScope::ClusterSafeScope() in ClusterSafe.o
      qpid::sys::ClusterSafeScope::ClusterSafeScope() in ClusterSafe.o
      qpid::sys::ClusterSafeScope::~ClusterSafeScope() in ClusterSafe.o
      qpid::sys::ClusterSafeScope::~ClusterSafeScope() in ClusterSafe.o
      "qpid::sys::PollerHandle::~PollerHandle()", referenced from:
      qpid::sys::DispatchHandle::DispatchHandle(qpid::sys::IOHandle const&, boost::function1<void, qpid::sys::DispatchHandle&>, boost::function1<void, qpid::sys::DispatchHandle&>, boost::function1<void, qpid::sys::DispatchHandle&>) in DispatchHandle.o
      qpid::sys::DispatchHandle::DispatchHandle(qpid::sys::IOHandle const&, boost::function1<void, qpid::sys::DispatchHandle&>, boost::function1<void, qpid::sys::DispatchHandle&>, boost::function1<void, qpid::sys::DispatchHandle&>) in DispatchHandle.o
      qpid::sys::DispatchHandle::~DispatchHandle() in DispatchHandle.o
      qpid::sys::DispatchHandle::~DispatchHandle() in DispatchHandle.o
      qpid::sys::DispatchHandle::~DispatchHandle() in DispatchHandle.o
      qpid::sys::DispatchHandle::~DispatchHandle() in DispatchHandle.o
      qpid::sys::DispatchHandle::~DispatchHandle() in DispatchHandle.o
      qpid::sys::DispatchHandle::~DispatchHandle() in DispatchHandle.o
      "qpid::sys::PollerHandle::PollerHandle(qpid::sys::IOHandle const&)", referenced from:
      qpid::sys::DispatchHandle::DispatchHandle(qpid::sys::IOHandle const&, boost::function1<void, qpid::sys::DispatchHandle&>, boost::function1<void, qpid::sys::DispatchHandle&>, boost::function1<void, qpid::sys::DispatchHandle&>) in DispatchHandle.o
      qpid::sys::DispatchHandle::DispatchHandle(qpid::sys::IOHandle const&, boost::function1<void, qpid::sys::DispatchHandle&>, boost::function1<void, qpid::sys::DispatchHandle&>, boost::function1<void, qpid::sys::DispatchHandle&>) in DispatchHandle.o
      "qpid::sys::SystemInfo::getLocalIpAddresses(unsigned short, std::vector<qpid::Address, std::allocator<qpid::Address> >&)", referenced from:
      qpid::Url::getIpAddressesUrl(unsigned short) in Url.o
      "qpid::sys::Poller::interrupt(qpid::sys::PollerHandle&)", referenced from:
      qpid::sys::DispatchHandle::call(boost::function1<void, qpid::sys::DispatchHandle&>) in DispatchHandle.o
      qpid::sys::DispatchHandle::doDelete() in DispatchHandle.o
      "qpid::sys::SystemInfo::getLocalHostname(qpid::TcpAddress&)", referenced from:
      qpid::Url::getHostNameUrl(unsigned short) in Url.o
      "boost::system::get_generic_category()", referenced from:
      __static_initialization_and_destruction_0(int, int) in Modules.o
      __static_initialization_and_destruction_0(int, int) in Modules.o
      __static_initialization_and_destruction_0(int, int) in Modules.o
      "qpid::sys::Poller::monitorHandle(qpid::sys::PollerHandle&, qpid::sys::Poller::Direction)", referenced from:
      qpid::sys::DispatchHandle::startWatch(boost::shared_ptr<qpid::sys::Poller>) in DispatchHandle.o
      qpid::sys::DispatchHandle::rewatch() in DispatchHandle.o
      qpid::sys::DispatchHandle::rewatchRead() in DispatchHandle.o
      qpid::sys::DispatchHandle::rewatchWrite() in DispatchHandle.o
      "qpid::sys::Poller::unregisterHandle(qpid::sys::PollerHandle&)", referenced from:
      qpid::sys::DispatchHandle::stopWatch() in DispatchHandle.o
      qpid::sys::DispatchHandle::doDelete() in DispatchHandle.o
      qpid::sys::DispatchHandle::doDelete() in DispatchHandle.o
      "qpid::sys::Poller::unmonitorHandle(qpid::sys::PollerHandle&, qpid::sys::Poller::Direction)", referenced from:
      qpid::sys::DispatchHandle::unwatchRead() in DispatchHandle.o
      qpid::sys::DispatchHandle::unwatchWrite() in DispatchHandle.o
      qpid::sys::DispatchHandle::unwatch() in DispatchHandle.o
      "boost::system::get_system_category()", referenced from:
      __static_initialization_and_destruction_0(int, int) in Modules.o
      __static_initialization_and_destruction_0(int, int) in Modules.o
      boost::system::error_code::error_code() in Modules.o
      ld: symbol(s) not found
      collect2: ld returned 1 exit status
      make[3]: *** [src/libqpidcommon.0.7.dylib] Error 1
      make[2]: *** [src/CMakeFiles/qpidcommon.dir/all] Error 2
      make[1]: *** [src/CMakeFiles/qpidclient.dir/rule] Error 2
      make: *** [qpidclient] Error 2

      Attachments

        Activity

          People

            Unassigned Unassigned
            bmm Bruno Matos
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified