ethereum-mining / ethminer

Ethereum miner with OpenCL, CUDA and stratum support
GNU General Public License v3.0
5.97k stars 2.28k forks source link

compile on Jetson TX-2 (Ubuntu1604)fail #2146

Open lixuande opened 3 years ago

lixuande commented 3 years ago

I compile ethminer on Jetson TX2,system is Ubuntu 1604, but lock on this log“-- [hunter] BOOST_ROOT: /home/nvidia/.hunter/_Base/4b894e1/93600ed/cb395ce/Install (ver.: 1.66.0)”。 some one have this problem?

my compile process is: git clone https://github.com/ethereum-mining/ethminer git submodule update --init --recursive mkdir build cd build cmake .. -DETHASHCUDA=ON -DETHASHCL=OFF #USE CUDA NOT OPENCL

complete log is: nvidia@tegra-ubuntu:~/ethminer/build$ cmake .. -DETHASHCUDA=ON -DETHASHCL=OFF #USE CUDA NOT OPENCL -- [cable ] Cable 0.2.14 initialized -- The C compiler identification is GNU 5.4.0 -- The CXX compiler identification is GNU 5.4.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- [cable ] Build type: Release -- [hunter] Calculating Toolchain-SHA1 -- [hunter] Calculating Config-SHA1 -- [hunter] HUNTER_ROOT: /home/nvidia/.hunter -- [hunter] [ Hunter-ID: 4b894e1 | Toolchain-ID: 93600ed | Config-ID: cb395ce ] -- [hunter] BOOST_ROOT: /home/nvidia/.hunter/_Base/4b894e1/93600ed/cb395ce/Install (ver.: 1.66.0)

bobby20180331 commented 3 years ago

I have a similar problem when I build on ubuntu16.04 on cloud server,seems to be a big package is downloading or compiling?. Maybe a network speed problem.? I can build success on several other platforms.

: ethminer/build# cmake .. -- [cable ] Cable 0.2.14 initialized -- [cable ] Build type: Release -- [hunter] Calculating Toolchain-SHA1 -- [hunter] Calculating Config-SHA1 -- [hunter] HUNTER_ROOT: /root/.hunter -- [hunter] [ Hunter-ID: 4b894e1 | Toolchain-ID: b4bd535 | Config-ID: cb395ce ] -- [hunter] BOOST_ROOT: /root/.hunter/_Base/4b894e1/b4bd535/cb395ce/Install (ver.: 1.66.0) -- [hunter] BOOST_ROOT: /root/.hunter/_Base/4b894e1/b4bd535/cb395ce/Install (ver.: 1.66.0) -- [hunter] BOOST_ROOT: /root/.hunter/_Base/4b894e1/b4bd535/cb395ce/Install (ver.: 1.66.0) -- [hunter] BOOST_ROOT: /root/.hunter/_Base/4b894e1/b4bd535/cb395ce/Install (ver.: 1.66.0) -- Boost version: 1.66.0 -- Found the following Boost libraries: -- system -- filesystem -- thread -- [hunter] JSONCPP_ROOT: /root/.hunter/_Base/4b894e1/b4bd535/cb395ce/Install (ver.: 1.8.0) -- [hunter] ETHASH_ROOT: /root/.hunter/_Base/4b894e1/b4bd535/cb395ce/Install (ver.: 0.4.3)

-- CMake 3.5.1 -- Build Release / Linux ----------------------------------------------------------------- components -- ETHASHCL Build OpenCL components ON -- ETHASHCUDA Build CUDA components ON -- ETHASHCPU Build CPU components (only for development) OFF -- ETHDBUS Build D-Bus components OFF -- APICORE Build API Server components ON -- BINKERN Install AMD binary kernels ON -- DEVBUILD Build with dev logging OFF -- USE_SYS_OPENCL Build with system OpenCL OFF

-- [hunter] OPENSSL_ROOT: /root/.hunter/_Base/4b894e1/b4bd535/cb395ce/Install (ver.: 1.1.1a)

bobby20180331 commented 3 years ago

I compile ethminer on Jetson TX2,system is Ubuntu 1604, but lock on this log“-- [hunter] BOOST_ROOT: /home/nvidia/.hunter/_Base/4b894e1/93600ed/cb395ce/Install (ver.: 1.66.0)”。 some one have this problem?

my compile process is: git clone https://github.com/ethereum-mining/ethminer git submodule update --init --recursive mkdir build cd build cmake .. -DETHASHCUDA=ON -DETHASHCL=OFF #USE CUDA NOT OPENCL

complete log is: nvidia@tegra-ubuntu:~/ethminer/build$ cmake .. -DETHASHCUDA=ON -DETHASHCL=OFF #USE CUDA NOT OPENCL -- [cable ] Cable 0.2.14 initialized -- The C compiler identification is GNU 5.4.0 -- The CXX compiler identification is GNU 5.4.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- [cable ] Build type: Release -- [hunter] Calculating Toolchain-SHA1 -- [hunter] Calculating Config-SHA1 -- [hunter] HUNTER_ROOT: /home/nvidia/.hunter -- [hunter] [ Hunter-ID: 4b894e1 | Toolchain-ID: 93600ed | Config-ID: cb395ce ] -- [hunter] BOOST_ROOT: /home/nvidia/.hunter/_Base/4b894e1/93600ed/cb395ce/Install (ver.: 1.66.0)

Hi, I confirm this step cost many time to downloading package (about 11MB),and compiling . One may waiting for a long time until the response streaming print out on the std bash window. Just wait for about 15 minutes. if failed, try again and again.

You may have a try ,good luck. @lixuande

bobby20180331 commented 3 years ago

how to close this issue?