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

Makefile:20: build-release failed #115

Open
DrFeelGood69 opened this issue May 22, 2018 · 1 comment
Open

Makefile:20: build-release failed #115

DrFeelGood69 opened this issue May 22, 2018 · 1 comment

Comments

@DrFeelGood69
Copy link

mkdir -p build/release
cd build/release && cmake -D CMAKE_BUILD_TYPE=Release ../..
-- Boost version: 1.65.1
-- Found the following Boost libraries:
-- system
-- filesystem
-- thread
-- date_time
-- chrono
-- regex
-- serialization
-- program_options
-- atomic
CMake Warning in CMakeLists.txt:
CMAKE_SKIP_INSTALL_RULES was enabled even though installation rules have
been specified

-- Configuring done
-- Generating done
-- Build files have been written to: /home/matt/Desktop/hooahcoin-forknote-master/build/release
cd build/release && make
make[1]: Entering directory '/home/matt/Desktop/hooahcoin-forknote-master/build/release'
make[2]: Entering directory '/home/matt/Desktop/hooahcoin-forknote-master/build/release'
make[3]: Entering directory '/home/matt/Desktop/hooahcoin-forknote-master/build/release'
make[3]: Leaving directory '/home/matt/Desktop/hooahcoin-forknote-master/build/release'
[ 0%] Built target version
make[3]: Entering directory '/home/matt/Desktop/hooahcoin-forknote-master/build/release'
make[3]: Leaving directory '/home/matt/Desktop/hooahcoin-forknote-master/build/release'
[ 5%] Built target upnpc-static
make[3]: Entering directory '/home/matt/Desktop/hooahcoin-forknote-master/build/release'
make[3]: Leaving directory '/home/matt/Desktop/hooahcoin-forknote-master/build/release'
[ 6%] Built target gtest
make[3]: Entering directory '/home/matt/Desktop/hooahcoin-forknote-master/build/release'
make[3]: Leaving directory '/home/matt/Desktop/hooahcoin-forknote-master/build/release'
[ 6%] Built target gtest_main
make[3]: Entering directory '/home/matt/Desktop/hooahcoin-forknote-master/build/release'
make[3]: Leaving directory '/home/matt/Desktop/hooahcoin-forknote-master/build/release'
[ 9%] Built target Serialization
make[3]: Entering directory '/home/matt/Desktop/hooahcoin-forknote-master/build/release'
make[3]: Leaving directory '/home/matt/Desktop/hooahcoin-forknote-master/build/release'
[ 11%] Built target Http
make[3]: Entering directory '/home/matt/Desktop/hooahcoin-forknote-master/build/release'
make[3]: Leaving directory '/home/matt/Desktop/hooahcoin-forknote-master/build/release'
make[3]: Entering directory '/home/matt/Desktop/hooahcoin-forknote-master/build/release'
[ 11%] Building CXX object src/CMakeFiles/Common.dir/Common/Base58.cpp.o
/home/matt/Desktop/hooahcoin-forknote-master/src/Common/Base58.cpp: In function ‘uint64_t Tools::Base58::{anonymous}::uint_8be_to_64(const uint8_t*, size_t)’:
/home/matt/Desktop/hooahcoin-forknote-master/src/Common/Base58.cpp:87:32: error: this statement may fall through [-Werror=implicit-fallthrough=]
case 1: res |= *data++;
~~~~^~~~~~~~~~
/home/matt/Desktop/hooahcoin-forknote-master/src/Common/Base58.cpp:88:9: note: here
case 2: res <<= 8; res |= *data++;
^~~~
/home/matt/Desktop/hooahcoin-forknote-master/src/Common/Base58.cpp:88:32: error: this statement may fall through [-Werror=implicit-fallthrough=]
case 2: res <<= 8; res |= *data++;
~~~~^~~~~~~~~~
/home/matt/Desktop/hooahcoin-forknote-master/src/Common/Base58.cpp:89:9: note: here
case 3: res <<= 8; res |= *data++;
^~~~
/home/matt/Desktop/hooahcoin-forknote-master/src/Common/Base58.cpp:89:32: error: this statement may fall through [-Werror=implicit-fallthrough=]
case 3: res <<= 8; res |= *data++;
~~~~^~~~~~~~~~
/home/matt/Desktop/hooahcoin-forknote-master/src/Common/Base58.cpp:90:9: note: here
case 4: res <<= 8; res |= *data++;
^~~~
/home/matt/Desktop/hooahcoin-forknote-master/src/Common/Base58.cpp:90:32: error: this statement may fall through [-Werror=implicit-fallthrough=]
case 4: res <<= 8; res |= *data++;
~~~~^~~~~~~~~~
/home/matt/Desktop/hooahcoin-forknote-master/src/Common/Base58.cpp:91:9: note: here
case 5: res <<= 8; res |= *data++;
^~~~
/home/matt/Desktop/hooahcoin-forknote-master/src/Common/Base58.cpp:91:32: error: this statement may fall through [-Werror=implicit-fallthrough=]
case 5: res <<= 8; res |= *data++;
~~~~^~~~~~~~~~
/home/matt/Desktop/hooahcoin-forknote-master/src/Common/Base58.cpp:92:9: note: here
case 6: res <<= 8; res |= *data++;
^~~~
/home/matt/Desktop/hooahcoin-forknote-master/src/Common/Base58.cpp:92:32: error: this statement may fall through [-Werror=implicit-fallthrough=]
case 6: res <<= 8; res |= *data++;
~~~~^~~~~~~~~~
/home/matt/Desktop/hooahcoin-forknote-master/src/Common/Base58.cpp:93:9: note: here
case 7: res <<= 8; res |= *data++;
^~~~
/home/matt/Desktop/hooahcoin-forknote-master/src/Common/Base58.cpp:93:32: error: this statement may fall through [-Werror=implicit-fallthrough=]
case 7: res <<= 8; res |= *data++;
~~~~^~~~~~~~~~
/home/matt/Desktop/hooahcoin-forknote-master/src/Common/Base58.cpp:94:9: note: here
case 8: res <<= 8; res |= *data; break;
^~~~
cc1plus: all warnings being treated as errors
src/CMakeFiles/Common.dir/build.make:62: recipe for target 'src/CMakeFiles/Common.dir/Common/Base58.cpp.o' failed
make[3]: *** [src/CMakeFiles/Common.dir/Common/Base58.cpp.o] Error 1
make[3]: Leaving directory '/home/matt/Desktop/hooahcoin-forknote-master/build/release'
CMakeFiles/Makefile2:515: recipe for target 'src/CMakeFiles/Common.dir/all' failed
make[2]: *** [src/CMakeFiles/Common.dir/all] Error 2
make[2]: Leaving directory '/home/matt/Desktop/hooahcoin-forknote-master/build/release'
Makefile:94: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/matt/Desktop/hooahcoin-forknote-master/build/release'
Makefile:20: recipe for target 'build-release' failed
make: *** [build-release] Error 2
Can't find any fix for this. Any ideas?

@DrFeelGood69
Copy link
Author

DrFeelGood69 commented May 22, 2018

Currently running ubuntu 18.04

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