Package Details: ethminer-cuda 0.19.0-3

Git Clone URL: https://aur.archlinux.org/ethminer-cuda.git (read-only, click to copy)
Package Base: ethminer-cuda
Description: Ethereum miner with OpenCL, CUDA and stratum support.
Upstream URL: https://github.com/ethereum-mining/ethminer
Licenses: MIT
Conflicts: ethminer, ethminer-git
Provides: ethminer
Submitter: aimileus
Maintainer: mrxx
Last Packager: mrxx
Votes: 6
Popularity: 0.010216
First Submitted: 2018-02-27 10:41
Last Updated: 2020-11-26 01:52

Latest Comments

1 2 Next › Last »

mrxx commented on 2020-11-26 01:55

Thanks, Hendrikto. Fixed.

Hendrikto commented on 2020-11-25 21:47

I got the error:

CMake Error at /usr/share/cmake-3.19/Modules/CMakeDetermineCCompiler.cmake:49 (message):
  Could not find compiler set in environment variable CC:

  gcc-9.
Call Stack (most recent call first):
  CMakeLists.txt:22 (project)


CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!

This can be fixed by using CC=gcc.

mrxx commented on 2020-09-05 21:42

Thanks, jaantoots, PKGBUILD updated and CC and CXX set to use gcc-9.

I think there is no need to add gcc to makedepends as it is already pulled in as a dependency of cuda.

jaantoots commented on 2020-09-04 20:59

Missing gcc8 from makedepends.

And until https://github.com/ethereum-mining/ethminer/issues/2027 has been fixed, need to remove that line to build with CUDA 11.0, e.g.:

sed -i '/arch=compute_30/d' libethash-cuda/CMakeLists.txt

vanja_z commented on 2020-06-19 09:15

Thanks!

mrxx commented on 2020-06-09 20:19

vanja_z, thanks for pointing out the typo (which actually existed since the first commit, hadn't to to anything with the latest fix). I've corrected it to 'CXX'.

vanja_z commented on 2020-06-08 15:40

Hi, the fix doesn't work for me, you should have:

export CXX=g++-8

not

export CCX=g++-8

mrxx commented on 2019-07-05 15:07

Thank you, semeion. I've fixed the issue for both ethminer-cuda and ethminer.

semeion commented on 2019-06-27 21:26

Tried the version without CUDA and got similar errors.

How to compile this package? Some tip?

semeion commented on 2019-06-27 21:21

I am getting that errors, what can i to do?

/usr/bin/ld: ../libpoolprotocols/libpoolprotocols.a(EthStratumClient.cpp.o): in function `std::basic_ostream<char, std::char_traits<char> >& boost::asio::ip::operator<< <char, std::char_traits<char>, boost::asio::ip::tcp>(std::basic_ostream<char, std::char_traits<char> >&, boost::asio::ip::basic_endpoint<boost::asio::ip::tcp> const&)':
EthStratumClient.cpp:(.text._ZN5boost4asio2iplsIcSt11char_traitsIcENS1_3tcpEEERSt13basic_ostreamIT_T0_ESA_RKNS1_14basic_endpointIT1_EE[_ZN5boost4asio2iplsIcSt11char_traitsIcENS1_3tcpEEERSt13basic_ostreamIT_T0_ESA_RKNS1_14basic_endpointIT1_EE]+0x6b): undefined reference to `std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream()'
/usr/bin/ld: ../libpoolprotocols/libpoolprotocols.a(EthStratumClient.cpp.o): in function `EthStratumClient::ActiveEndPoint[abi:cxx11]()':
EthStratumClient.cpp:(.text._ZN16EthStratumClient14ActiveEndPointB5cxx11Ev[_ZN16EthStratumClient14ActiveEndPointB5cxx11Ev]+0x30): undefined reference to `std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream()'
/usr/bin/ld: ../libpoolprotocols/libpoolprotocols.a(EthStratumClient.cpp.o): in function `EthStratumClient::connect_handler(boost::system::error_code const&)':
EthStratumClient.cpp:(.text._ZN16EthStratumClient15connect_handlerERKN5boost6system10error_codeE+0x92): undefined reference to `std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream()'
/usr/bin/ld: ../libpoolprotocols/libpoolprotocols.a(EthStratumClient.cpp.o): in function `EthStratumClient::submitHashrate(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
EthStratumClient.cpp:(.text._ZN16EthStratumClient14submitHashrateERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x236): undefined reference to `std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream()'
/usr/bin/ld: ../libpoolprotocols/libpoolprotocols.a(EthStratumClient.cpp.o):EthStratumClient.cpp:(.text._ZN16EthStratumClient14submitSolutionERKN3dev3eth8SolutionE+0xb3): more undefined references to `std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream()' follow
/usr/bin/ld: ../libethash-cl/libethash-cl.a(CLMiner.cpp.o): in function `dev::eth::CLMiner::init(int)':
CLMiner.cpp:(.text._ZN3dev3eth7CLMiner4initEi+0xca1): undefined reference to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()'
/usr/bin/ld: ../libethash-cuda/libethash-cuda.a(CUDAMiner.cpp.o): in function `dev::eth::CUDAMiner::init(int)':
CUDAMiner.cpp:(.text._ZN3dev3eth9CUDAMiner4initEi+0x24c9): undefined reference to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()'
/usr/bin/ld: CUDAMiner.cpp:(.text._ZN3dev3eth9CUDAMiner4initEi+0x2621): undefined reference to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()'
/usr/bin/ld: CUDAMiner.cpp:(.text._ZN3dev3eth9CUDAMiner4initEi+0x299d): undefined reference to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()'
/usr/bin/ld: CUDAMiner.cpp:(.text._ZN3dev3eth9CUDAMiner4initEi+0x2b47): undefined reference to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()'
collect2: error: ld returned 1 exit status
make[2]: *** [ethminer/CMakeFiles/ethminer.dir/build.make:113: ethminer/ethminer] Error 1
make[1]: *** [CMakeFiles/Makefile2:606: ethminer/CMakeFiles/ethminer.dir/all] Error 2
make: *** [Makefile:152: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...