-
Notifications
You must be signed in to change notification settings - Fork 519
not able to make benchmark_full #123
Comments
install all python dependencies and done for the above error, you need to install g++ packages please find the below procedure to compile the ethash program, ethash clone and compile procedure: sudo yum install -y *gcc* |
program has been compiled |
Hi, I also have same issue in Ubuntu, could you help to fix it? Thanks, |
I have shared the solution, check the issues tab or pulled request tab on
github.
…On Thu, 18 Feb 2021, 10:47 am Saphy Nguyen, ***@***.***> wrote:
Hi,
I also have same issue in Ubuntu, could you help to fix it?
Thanks,
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#123 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AH2LSM5JEDHS32JIL3TJBXTS7SPGVANCNFSM4LSOZZQA>
.
|
Many thanks, manwapri |
cool beans.
…On Thu, 18 Feb 2021, 2:02 pm Saphy Nguyen, ***@***.***> wrote:
Many thanks, manwapri
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#123 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AH2LSMYSIZISNXQFF6B3K23S7TGCHANCNFSM4LSOZZQA>
.
|
I am getting the same issue while making a build on ubuntu but when trying on Red hat I am getting the following error. [ 66%] Built target ethash please help |
getting below errors
========================================================================
[root@localhost build]# make Benchmark_FULL
[ 71%] Built target ethash
Scanning dependencies of target Benchmark_FULL
[ 85%] Building CXX object src/benchmark/CMakeFiles/Benchmark_FULL.dir/benchmark.cpp.o
/home/project_ethash/ethash_by_xilix/ethash/src/benchmark/benchmark.cpp: In function ‘int main()’:
/home/project_ethash/ethash_by_xilix/ethash/src/benchmark/benchmark.cpp:108:2: error: ‘ethash_params’ was not declared in this scope
ethash_params params;
^
/home/project_ethash/ethash_by_xilix/ethash/src/benchmark/benchmark.cpp:108:16: error: expected ‘;’ before ‘params’
ethash_params params;
^
/home/project_ethash/ethash_by_xilix/ethash/src/benchmark/benchmark.cpp:109:22: error: ‘params’ was not declared in this scope
ethash_params_init(¶ms, 0);
^
/home/project_ethash/ethash_by_xilix/ethash/src/benchmark/benchmark.cpp:109:31: error: ‘ethash_params_init’ was not declared in this scope
ethash_params_init(¶ms, 0);
^
/home/project_ethash/ethash_by_xilix/ethash/src/benchmark/benchmark.cpp:129:2: error: ‘ethash_cache’ was not declared in this scope
ethash_cache cache;
^
/home/project_ethash/ethash_by_xilix/ethash/src/benchmark/benchmark.cpp:129:15: error: expected ‘;’ before ‘cache’
ethash_cache cache;
^
/home/project_ethash/ethash_by_xilix/ethash/src/benchmark/benchmark.cpp:130:2: error: ‘cache’ was not declared in this scope
cache.mem = cache_mem;
^
/home/project_ethash/ethash_by_xilix/ethash/src/benchmark/benchmark.cpp:135:40: error: ‘ethash_mkcache’ was not declared in this scope
ethash_mkcache(&cache, ¶ms, &seed);
^
/home/project_ethash/ethash_by_xilix/ethash/src/benchmark/benchmark.cpp:146:58: error: invalid use of incomplete type ‘struct ethash_light’
ethash_light(&hash, &cache, ¶ms, &previous_hash, 0);
^
In file included from /home/project_ethash/ethash_by_xilix/ethash/src/benchmark/benchmark.cpp:25:0:
/home/project_ethash/ethash_by_xilix/ethash/src/benchmark/../libethash/ethash.h:58:8: error: forward declaration of ‘struct ethash_light’
struct ethash_light;
^
/home/project_ethash/ethash_by_xilix/ethash/src/benchmark/benchmark.cpp:153:54: error: ‘ethash_compute_full_data’ was not declared in this scope
ethash_compute_full_data(full_mem, ¶ms, &cache);
^
/home/project_ethash/ethash_by_xilix/ethash/src/benchmark/benchmark.cpp:175:58: error: invalid use of incomplete type ‘struct ethash_full’
ethash_full(&hash, full_mem, ¶ms, &previous_hash, 0);
^
In file included from /home/project_ethash/ethash_by_xilix/ethash/src/benchmark/benchmark.cpp:25:0:
/home/project_ethash/ethash_by_xilix/ethash/src/benchmark/../libethash/ethash.h:60:8: error: forward declaration of ‘struct ethash_full’
struct ethash_full;
^
/home/project_ethash/ethash_by_xilix/ethash/src/benchmark/benchmark.cpp:248:64: error: invalid use of incomplete type ‘struct ethash_full’
ethash_full(&hash, full_mem, ¶ms, &previous_hash, nonce);
^
In file included from /home/project_ethash/ethash_by_xilix/ethash/src/benchmark/benchmark.cpp:25:0:
/home/project_ethash/ethash_by_xilix/ethash/src/benchmark/../libethash/ethash.h:60:8: error: forward declaration of ‘struct ethash_full’
struct ethash_full;
^
make[3]: *** [src/benchmark/CMakeFiles/Benchmark_FULL.dir/benchmark.cpp.o] Error 1
make[2]: *** [src/benchmark/CMakeFiles/Benchmark_FULL.dir/all] Error 2
make[1]: *** [src/benchmark/CMakeFiles/Benchmark_FULL.dir/rule] Error 2
make: *** [Benchmark_FULL] Error 2
[root@localhost build]#
The text was updated successfully, but these errors were encountered: