eos icon indicating copy to clipboard operation
eos copied to clipboard

build error on mac 10.12.6

Open foxundermoon opened this issue 8 years ago • 2 comments

/Users/fox/workspace/blockchain/eos/libraries/fc/src/crypto/crc.cpp:538:23: warning: unused variable 'crc_c' [-Wunused-const-variable]
static const uint32_t crc_c[256] = {
                      ^
1 warning generated.
[ 43%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/crypto/city.cpp.o
In file included from /Users/fox/workspace/blockchain/eos/libraries/fc/src/log/gelf_appender.cpp:5:
In file included from /Users/fox/workspace/blockchain/eos/libraries/fc/include/fc/log/gelf_appender.hpp:3:
/Users/fox/workspace/blockchain/eos/libraries/fc/include/fc/log/appender.hpp:6:42: error: definition of type 'io_service' conflicts with typedef of the same name
namespace boost { namespace asio { class io_service; } }
                                         ^
/usr/local/include/boost/asio/io_service.hpp:27:20: note: 'io_service' declared here
typedef io_context io_service;
                   ^
In file included from /Users/fox/workspace/blockchain/eos/libraries/fc/src/log/gelf_appender.cpp:5:
/Users/fox/workspace/blockchain/eos/libraries/fc/include/fc/log/gelf_appender.hpp:7:42: error: definition of type 'io_service' conflicts with typedef of the same name
namespace boost { namespace asio { class io_service; } }
                                         ^
/usr/local/include/boost/asio/io_service.hpp:27:20: note: 'io_service' declared here
typedef io_context io_service;
                   ^
In file included from /Users/fox/workspace/blockchain/eos/libraries/fc/src/log/gelf_appender.cpp:5:
/Users/fox/workspace/blockchain/eos/libraries/fc/include/fc/log/gelf_appender.hpp:31:10: warning: 'initialize' overrides a member function but is not marked 'override'
      [-Winconsistent-missing-override]
    void initialize(boost::asio::io_service& io_service);
         ^
/Users/fox/workspace/blockchain/eos/libraries/fc/include/fc/log/appender.hpp:44:23: note: overridden virtual function is here
         virtual void initialize( boost::asio::io_service& io_service ) = 0;
                      ^
[ 43%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/crypto/base36.cpp.o
1 warning and 2 errors generated.
make[2]: *** [libraries/fc/CMakeFiles/fc.dir/src/log/gelf_appender.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [libraries/fc/CMakeFiles/fc.dir/all] Error 2
make: *** [all] Error 2

foxundermoon avatar Dec 29 '17 10:12 foxundermoon

Looks like a prereq issues (boost library) - make sure your xcode and brew are updated as per the instructions. Xcode may be "waiting" on you to approve the update/reboot, etc.

comtechnet avatar Dec 29 '17 10:12 comtechnet

Duplicate of issue #984. Fixed in master as of this morning.

jgiszczak avatar Dec 29 '17 16:12 jgiszczak