Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flower fails to link on macOS #4

Open
faern opened this issue Mar 27, 2019 · 0 comments
Open

Flower fails to link on macOS #4

faern opened this issue Mar 27, 2019 · 0 comments

Comments

@faern
Copy link

faern commented Mar 27, 2019

I'm trying to install the cloudabi tools on my macOS machine. I followed your guide at https://cloudabi.org/run/macos/. I hit the following error while brew was trying to install flower:

==> cmake . -DCMAKE_C_COMPILER=/usr/local/opt/llvm@4/bin/clang -DCMAKE_CXX_COMPILER=/usr/local/opt/llvm@4/bi
==> make
Last 15 lines from /Users/faern/Library/Logs/Homebrew/flower/02.make:
      LabelEchoingServer::Connect(arpc::ServerContext*, flower::protocol::server::ConnectRequest const*, flower::protocol::server::ConnectResponse*)::'lambda'()::operator()() const in handle_test.cc.o
  "typeinfo for testing::Test", referenced from:
      typeinfo for Handle_Constrain_Test in handle_test.cc.o
      typeinfo for Handle_ClientServer_Test in handle_test.cc.o
  "vtable for flower::switchboard::Handle", referenced from:
      flower::switchboard::Handle::Handle(flower::switchboard::Directory*, flower::switchboard::TargetPicker*, flower::switchboard::WorkerPool*) in handle_test.cc.o
      flower::switchboard::Handle::~Handle() in handle_test.cc.o
  NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
  "_main", referenced from:
     implicit entry/start for main executable
ld: symbol(s) not found for architecture x86_64
clang-4.0: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [flower_unittests] Error 1
make[1]: *** [CMakeFiles/flower_unittests.dir/all] Error 2
make: *** [all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant