Skip to content

How to compile it on OS X #1

@zhaoxuan

Description

@zhaoxuan

Hey @deepeshmalviya

Does scribe-utils support mac OS?

When I make all, I got this error

g++-4.6 -g -shared -W1,-soname,libscribewrapper.so.1 /Users/john/workspaces/clang/scribe-utils/src/scribe_wrapper.o -o /Users/john/workspaces/clang/scribe-utils/build/libscribewrapper.so.1.0
Undefined symbols for architecture x86_64:
  "apache::thrift::transport::TSocket::setConnTimeout(int)", referenced from:
  scribeWrapper::open()      in scribe_wrapper.o
  "apache::thrift::transport::TSocket::setRecvTimeout(int)", referenced from:
  scribeWrapper::open()      in scribe_wrapper.o
  "apache::thrift::transport::TSocket::setSendTimeout(int)", referenced from:
  scribeWrapper::open()      in scribe_wrapper.o
  "apache::thrift::transport::TSocket::setLinger(bool, int)", referenced from:
  scribeWrapper::open()      in scribe_wrapper.o
  "apache::thrift::transport::TSocket::TSocket(std::basic_string<char,                 std::char_traits<char>, std::allocator<char> >, int)", referenced from:
  scribeWrapper::open()      in scribe_wrapper.o
  "VTT for scribe::thrift::scribeClient", referenced from:
scribe::thrift::scribeClient::scribeClient(boost::shared_ptr<apache::thrift::protocol::TProtocol>) in scribe_wrapper.o
  "vtable for apache::thrift::transport::TFramedTransport", referenced from:
  apache::thrift::transport::TFramedTransport::TFramedTransport(boost::shared_ptr<apache::thrift::transport::TTransport>) in scribe_wrapper.o
  NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
  "vtable for scribe::thrift::scribeClient", referenced from:
  scribe::thrift::scribeClient::scribeClient(boost::shared_ptr<apache::thrift::protocol::TProtocol>) in scribe_wrapper.o
  NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions