Giter Club home page Giter Club logo

flower's People

Contributors

edschouten avatar sgielen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

stephank

flower's Issues

Flower fails to link on macOS

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

Compiler warnings

Clang appears to emit some warnings about the flower source code:

$ cmake .
$ make
...
[ 31%] Linking CXX static library libflower_switchboard_lib.a
[ 31%] Built target flower_switchboard_lib
Scanning dependencies of target gtest_main
[ 34%] Building CXX object contrib/googletest-release-1.8.0/googletest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o
[ 36%] Linking CXX static library libgtest_main.a
[ 36%] Built target gtest_main
Scanning dependencies of target flower_unittests
[ 38%] Building CXX object CMakeFiles/flower_unittests.dir/flower/switchboard/handle_test.cc.o
In file included from /flower/flower/switchboard/handle_test.cc:18:0:
/flower/flower/switchboard/worker_pool.h:19:7: warning: 'flower::switchboard::WorkerPool' has a field 'flower::switchboard::WorkerPool::logger_' whose type uses the anonymous namespace [-Wsubobject-linkage]
 class WorkerPool {
       ^~~~~~~~~~

Using Clang v4.0, on Ubuntu Bionic Beaver.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.