Open Gitdyr opened 2 years ago
I too tried to compile on Ubuntu 21.10 on a x86 machine with two different boost versions and it will always fail around the 16..17% mark:
/nano/lib/plat/linux/thread_role.cpp:1 :
[01m [K/usr/local/boost/include/boost/thread/pthread/thread_data.hpp:60:5:
[01;31m [Kerror: missing binary operator before token "("
/nano/lib/work.cpp [K/usr/include/boost/thread/pthread/thread_data.hpp:341:16:
[01;36m[Knote: [01m[Kboost::this_thread::no_interruption_point::sleep_for
void
[01;36m[Ksleep_for (const chrono::duration<Rep, Period>& d)
Compiling on Ubuntu 20.04 and 21.04 works just fine.
@renesq you are absolutely right. I installed Ubuntu 21.04 and it compiled (with a few warnings).
It appears gcc/g++ is version 10.3.0 in Ubuntu 21.04.
Summary
I get a compile error when I try to create the nano_node.
Node version
22.1
Build details
Boost: libboost1.74-all-dev/impish 1.74.0-8ubuntu6 arm64
OS and version
Ubuntu 21.10 on a Raspberry Pi 4 (64 bit)
Steps to reproduce the behavior
Expected behavior
I expected no error when building the nano_node.
Actual behavior
I get this error:
Possible solution
I tried an older version of boost but that did not fix the problem.
Supporting files
No response