Comments (6)
Update: make release-static works
Info: Latest snapshot not retrieved via git, but from downloading the master.zip through github
from electroneum.
The same issue here on 56%. I tried to re-clone and make release. It worked but electroneumd won't start.
[ 56%] Building CXX object tests/core_tests/CMakeFiles/coretests.dir/block_validation.cpp.o /root/electroneum/tests/core_tests/block_validation.cpp: In function 'bool {anonymous}::lift_up_difficulty(std::vector<boost::variant<cryptonote::block, cryptonote::transaction, cryptonote::account_base, callback_entry, serialized_object<cryptonote::block>, serialized_object<cryptonote::transaction>, event_visitor_settings> >&, std::vector<long unsigned int>&, std::vector<long unsigned int>&, test_generator&, size_t, cryptonote::block, const cryptonote::account_base&)': /root/electroneum/tests/core_tests/block_validation.cpp:48:85: error: 'DIFFICULTY_TARGET_V1' was not declared in this scope _type diffic = next_difficulty(timestamps, cummulative_difficulties,DIFFICULTY_ ^ /root/electroneum/tests/core_tests/block_validation.cpp: In member function 'bool gen_block_invalid_nonce::generate(std::vector<boost::variant<cryptonote::block, cryptonote::transaction, cryptonote::account_base, callback_entry, serialized_object<cryptonote::block>, serialized_object<cryptonote::transaction>, event_visitor_settings> >&) const': /root/electroneum/tests/core_tests/block_validation.cpp:178:81: error: 'DIFFICULTY_TARGET_V1' was not declared in this scope _type diffic = next_difficulty(timestamps, commulative_difficulties,DIFFICULTY_ ^ In file included from /root/electroneum/src/cryptonote_basic/cryptonote_basic.h:47:0, from /root/electroneum/src/cryptonote_basic/account.h:33, from /root/electroneum/src/cryptonote_basic/account_boost_serialization.h:33, from /root/electroneum/tests/core_tests/chaingen.h:47, from /root/electroneum/tests/core_tests/block_validation.cpp:3 : /root/electroneum/tests/core_tests/block_validation.cpp: In member function 'bool gen_block_unlock_time_is_timestamp_in_future::generate(std::vector<boost::variant<cryptonote::block, cryptonote::transaction, cryptonote::account_base, callback_entry, serialized_object<cryptonote::block>, serialized_object<cryptonote::transaction>, event_visitor_settings> >&) const': /root/electroneum/src/cryptonote_config.h:85:57: error: 'DIFFICULTY_TARGET_V1' was not declared in this scope #define DIFFICULTY_BLOCKS_ESTIMATE_TIMESPAN DIFFICULTY_TARGET_V1 // ^ /root/electroneum/tests/core_tests/block_validation.cpp:267:87: note: in expansion of macro 'DIFFICULTY_BLOCKS_ESTIMATE_TIMESPAN' time = blk_0.timestamp + 3 * CRYPTONOTE_MINED_MONEY_UNLOCK_WINDOW * DIFFICULTY_ ^ /root/electroneum/tests/core_tests/block_validation.cpp: In member function 'bool gen_block_invalid_binary_format::generate(std::vector<boost::variant<cryptonote::block, cryptonote::transaction, cryptonote::account_base, callback_entry, serialized_object<cryptonote::block>, serialized_object<cryptonote::transaction>, event_visitor_settings> >&) const': /root/electroneum/tests/core_tests/block_validation.cpp:575:67: error: 'DIFFICULTY_TARGET_V1' was not declared in this scope diffic = next_difficulty(timestamps, cummulative_difficulties,DIFFICULTY_TA ^ /root/electroneum/tests/core_tests/block_validation.cpp:590:65: error: 'DIFFICULTY_TARGET_V1' was not declared in this scope diffic = next_difficulty(timestamps, cummulative_difficulties,DIFFICULTY_TARG ^ tests/core_tests/CMakeFiles/coretests.dir/build.make:86: recipe for target 'tests/core_tests/CMakeFiles/coretests.dir/block_validation.cpp.o' failed make[3]: *** [tests/core_tests/CMakeFiles/coretests.dir/block_validation.cpp.o] Error 1 make[3]: Leaving directory '/root/electroneum/build/release' CMakeFiles/Makefile2:2157: recipe for target 'tests/core_tests/CMakeFiles/coretests.dir/all' failed make[2]: *** [tests/core_tests/CMakeFiles/coretests.dir/all] Error 2 make[2]: Leaving directory '/root/electroneum/build/release' Makefile:138: recipe for target 'all' failed make[1]: *** [all] Error 2 make[1]: Leaving directory '/root/electroneum/build/release' Makefile:62: recipe for target 'release-all' failed make: *** [release-all] Error 2
from electroneum.
If I read it correctly, you built the binaries being root, therefore the binaries will be owned by root and only executable by root as I suppose.
Build the binaries not as root !
from electroneum.
Finally I got it. After re-clone and make-release I had problems with DNS, that is why electroneumd did not work.
from electroneum.
Glad you got it sorted.
I'll now close this issue
from electroneum.
"Make" still does not work, only "make release-static". This is by far not solved as it should work with a dynamically linked binary too.
from electroneum.
Related Issues (20)
- Wallet CLI broken MACOS MOJAVE
- Error Mining HOT 1
- Unsigned txsets cannot be loaded via RPC HOT 3
- validator HOT 1
- Block older 2.x peer versions HOT 1
- still no GUI wallet ? HOT 14
- 'GLIBC_#.##' not found HOT 4
- 'wrong response code: 301' for reaching vl.electroneum.com HOT 4
- Host blocked HOT 1
- BUSY HOT 1
- Configuring and compiling issues with Ubuntu 20.04.5 LTS HOT 3
- Error: refresh failed: internal error: Overall migration failed but some balances may have migrated ok. HOT 2
- Using relay_tx method broadcasting tx_ Metadata data error : E Failed to parse transaction from blob. Could the ETN technical team please take a look at any issues. HOT 4
- Exchanges Deposit HOT 1
- What does this have to do if I have the GUI wallet? HOT 2
- smartchain migration - link to gitbook documentation not working HOT 1
- How to migrate coins HOT 2
- 5.0.0.3-osx-x86.tar on Big Sur OS X problem HOT 3
- migration failed when send bridge transaction HOT 9
- after etn-legacy migrate, the etn-sc balance don't increased. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from electroneum.