Package Details: ethminer-cuda 0.19.0-8

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: GPL3
Conflicts: ethminer, ethminer-git
Provides: ethminer
Submitter: aimileus
Maintainer: mrxx
Last Packager: mrxx
Votes: 7
Popularity: 0.000092
First Submitted: 2018-02-27 10:41 (UTC)
Last Updated: 2022-05-13 10:34 (UTC)

Latest Comments

mrxx commented on 2022-05-13 10:36 (UTC)

@Nep_Nep: cuda wasn't compatible with gcc11 for some time (seee comments below), now it is. I've removed the build dependency.

Nep_Nep commented on 2022-05-08 23:45 (UTC)

Is there a specific reason for using gcc10 for this?

mrxx commented on 2022-01-19 23:53 (UTC)

Thank you, vanja_z. Dependency pth changed to npth.

vanja_z commented on 2022-01-15 18:23 (UTC)

It seems pth has disappeared from the Arch repo. There is a package called npth (new pth) which seems to work in its place, at least it is working on my system. If this is the correct course of action can we change the dependency in this package?

vfbsilva commented on 2021-12-04 06:07 (UTC)

It failed to build for me: Building NVCC (Device) object libethash-cuda/CMakeFiles/ethash-cuda.dir/ethash-cuda_generated_ethash_cuda_miner_kernel.cu.o nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning). nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning). /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/c++/type_traits(1396): error: type name is not allowed

/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/c++/type_traits(1396): error: type name is not allowed

/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/c++/type_traits(1396): error: identifier "__is_same_as" is undefined

/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/c++/ext/string_conversions.h(85): error: no instance of overloaded function "_Range_chk::_S_chk" matches the argument list argument types are: (const long, std::is_same<int, int>) detected during instantiation of "_Ret __gnu_cxx::__stoa(_TRet ()(const _CharT , _CharT , _Base...), const char , const _CharT , std::size_t *, _Base...) [with _TRet=long, _Ret=int, _CharT=char, _Base=<int>]" /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/c++/bits/basic_string.h(6557): here

/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/c++/ext/string_conversions.h(85): error: no instance of overloaded function "_Range_chk::_S_chk" matches the argument list argument types are: (const long, std::is_same<long, int>) detected during instantiation of "_Ret __gnu_cxx::__stoa(_TRet ()(const _CharT , _CharT , _Base...), const char , const _CharT , std::size_t *, _Base...) [with _TRet=long, _Ret=long, _CharT=char, _Base=<int>]" /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/c++/bits/basic_string.h(6562): here

/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/c++/ext/string_conversions.h(85): error: no instance of overloaded function "_Range_chk::_S_chk" matches the argument list argument types are: (const unsigned long, std::is_same<unsigned long, int>) detected during instantiation of "_Ret __gnu_cxx::__stoa(_TRet ()(const _CharT , _CharT , _Base...), const char , const _CharT , std::size_t *, _Base...) [with _TRet=unsigned long, _Ret=unsigned long, _CharT=char, _Base=<int>]" /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/c++/bits/basic_string.h(6567): here

/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/c++/ext/string_conversions.h(85): error: no instance of overloaded function "_Range_chk::_S_chk" matches the argument list argument types are: (const long long, std::is_same<long long, int>) detected during instantiation of "_Ret __gnu_cxx::__stoa(_TRet ()(const _CharT , _CharT , _Base...), const char , const _CharT , std::size_t *, _Base...) [with _TRet=long long, _Ret=long long, _CharT=char, _Base=<int>]" /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/c++/bits/basic_string.h(6572): here

/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/c++/ext/string_conversions.h(85): error: no instance of overloaded function "_Range_chk::_S_chk" matches the argument list argument types are: (const unsigned long long, std::is_same<unsigned long long, int>) detected during instantiation of "_Ret __gnu_cxx::__stoa(_TRet ()(const _CharT , _CharT , _Base...), const char , const _CharT , std::size_t *, _Base...) [with _TRet=unsigned long long, _Ret=unsigned long long, _CharT=char, _Base=<int>]" /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/c++/bits/basic_string.h(6577): here

/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/c++/ext/string_conversions.h(85): error: no instance of overloaded function "_Range_chk::_S_chk" matches the argument list argument types are: (const float, std::is_same<float, int>) detected during instantiation of "_Ret __gnu_cxx::__stoa(_TRet ()(const _CharT , _CharT , _Base...), const char , const _CharT , std::size_t *, _Base...) [with _TRet=float, _Ret=float, _CharT=char, _Base=<>]" /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/c++/bits/basic_string.h(6583): here

/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/c++/ext/string_conversions.h(85): error: no instance of overloaded function "_Range_chk::_S_chk" matches the argument list argument types are: (const double, std::is_same<double, int>) detected during instantiation of "_Ret __gnu_cxx::__stoa(_TRet ()(const _CharT , _CharT , _Base...), const char , const _CharT , std::size_t *, _Base...) [with _TRet=double, _Ret=double, _CharT=char, _Base=<>]" /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/c++/bits/basic_string.h(6587): here

/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/c++/ext/string_conversions.h(85): error: no instance of overloaded function "_Range_chk::_S_chk" matches the argument list argument types are: (const long double, std::is_same<long double, int>) detected during instantiation of "_Ret __gnu_cxx::__stoa(_TRet ()(const _CharT , _CharT , _Base...), const char , const _CharT , std::size_t *, _Base...) [with _TRet=long double, _Ret=long double, _CharT=char, _Base=<>]" /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/c++/bits/basic_string.h(6591): here

/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/c++/ext/string_conversions.h(85): error: no instance of overloaded function "_Range_chk::_S_chk" matches the argument list argument types are: (const long, std::is_same<int, int>) detected during instantiation of "_Ret __gnu_cxx::__stoa(_TRet ()(const _CharT , _CharT , _Base...), const char , const _CharT , std::size_t *, _Base...) [with _TRet=long, _Ret=int, _CharT=wchar_t, _Base=<int>]" /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/c++/bits/basic_string.h(6688): here

/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/c++/ext/string_conversions.h(85): error: no instance of overloaded function "_Range_chk::_S_chk" matches the argument list argument types are: (const long, std::is_same<long, int>) detected during instantiation of "_Ret __gnu_cxx::__stoa(_TRet ()(const _CharT , _CharT , _Base...), const char , const _CharT , std::size_t *, _Base...) [with _TRet=long, _Ret=long, _CharT=wchar_t, _Base=<int>]" /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/c++/bits/basic_string.h(6693): here

/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/c++/ext/string_conversions.h(85): error: no instance of overloaded function "_Range_chk::_S_chk" matches the argument list argument types are: (const unsigned long, std::is_same<unsigned long, int>) detected during instantiation of "_Ret __gnu_cxx::__stoa(_TRet ()(const _CharT , _CharT , _Base...), const char , const _CharT , std::size_t *, _Base...) [with _TRet=unsigned long, _Ret=unsigned long, _CharT=wchar_t, _Base=<int>]" /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/c++/bits/basic_string.h(6698): here

/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/c++/ext/string_conversions.h(85): error: no instance of overloaded function "_Range_chk::_S_chk" matches the argument list argument types are: (const long long, std::is_same<long long, int>) detected during instantiation of "_Ret __gnu_cxx::__stoa(_TRet ()(const _CharT , _CharT , _Base...), const char , const _CharT , std::size_t *, _Base...) [with _TRet=long long, _Ret=long long, _CharT=wchar_t, _Base=<int>]" /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/c++/bits/basic_string.h(6703): here

/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/c++/ext/string_conversions.h(85): error: no instance of overloaded function "_Range_chk::_S_chk" matches the argument list argument types are: (const unsigned long long, std::is_same<unsigned long long, int>) detected during instantiation of "_Ret __gnu_cxx::__stoa(_TRet ()(const _CharT , _CharT , _Base...), const char , const _CharT , std::size_t *, _Base...) [with _TRet=unsigned long long, _Ret=unsigned long long, _CharT=wchar_t, _Base=<int>]" /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/c++/bits/basic_string.h(6708): here

/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/c++/ext/string_conversions.h(85): error: no instance of overloaded function "_Range_chk::_S_chk" matches the argument list argument types are: (const float, std::is_same<float, int>) detected during instantiation of "_Ret __gnu_cxx::__stoa(_TRet ()(const _CharT , _CharT , _Base...), const char , const _CharT , std::size_t *, _Base...) [with _TRet=float, _Ret=float, _CharT=wchar_t, _Base=<>]" /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/c++/bits/basic_string.h(6714): here

/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/c++/ext/string_conversions.h(85): error: no instance of overloaded function "_Range_chk::_S_chk" matches the argument list argument types are: (const double, std::is_same<double, int>) detected during instantiation of "_Ret __gnu_cxx::__stoa(_TRet ()(const _CharT , _CharT , _Base...), const char , const _CharT , std::size_t *, _Base...) [with _TRet=double, _Ret=double, _CharT=wchar_t, _Base=<>]" /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/c++/bits/basic_string.h(6718): here

/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/c++/ext/string_conversions.h(85): error: no instance of overloaded function "_Range_chk::_S_chk" matches the argument list argument types are: (const long double, std::is_same<long double, int>) detected during instantiation of "_Ret __gnu_cxx::__stoa(_TRet ()(const _CharT , _CharT , _Base...), const char , const _CharT , std::size_t *, _Base...) [with _TRet=long double, _Ret=long double, _CharT=wchar_t, _Base=<>]" /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/c++/bits/basic_string.h(6722): here

19 errors detected in the compilation of "/home/vfbsilva/.cache/yay/ethminer-cuda/src/ethminer/libethash-cuda/ethash_cuda_miner_kernel.cu". CMake Error at ethash-cuda_generated_ethash_cuda_miner_kernel.cu.o.Release.cmake:280 (message): Error generating file /home/vfbsilva/.cache/yay/ethminer-cuda/src/ethminer/build/libethash-cuda/CMakeFiles/ethash-cuda.dir//./ethash-cuda_generated_ethash_cuda_miner_kernel.cu.o

make[2]: [libethash-cuda/CMakeFiles/ethash-cuda.dir/build.make:77: libethash-cuda/CMakeFiles/ethash-cuda.dir/ethash-cuda_generated_ethash_cuda_miner_kernel.cu.o] Erro 1 make[1]: [CMakeFiles/Makefile2:455: libethash-cuda/CMakeFiles/ethash-cuda.dir/all] Erro 2 make: *** [Makefile:156: all] Erro 2 ==> ERRO: Uma falha ocorreu em build(). Abortando... -> erro ao construir: ethminer-cuda

mrxx commented on 2021-11-20 19:06 (UTC)

Thank you both. I've added the build dep.

cbarrick commented on 2021-11-20 18:43 (UTC)

@mrxx The current gcc package in core is gcc-11. The PKGBUILD explicitly uses gcc-10.

mrxx commented on 2021-11-20 18:04 (UTC) (edited on 2021-11-20 18:05 (UTC) by mrxx)

@gchamon: gcc is not needed as a dependency as it is a member of 'base-devel' which is a prerequisite for building AUR packages.

gchamon commented on 2021-11-20 12:31 (UTC) (edited on 2021-11-20 12:31 (UTC) by gchamon)

A clean arch install won't have gcc-10 and g++-10 installed, maybe add gcc10 as a build dependency

mrxx commented on 2021-06-12 22:17 (UTC)

Thanks, jaantoots, I've added the option.

jaantoots commented on 2021-06-08 10:08 (UTC)

Git errors with Committer identity unknown during build. Setting these manually is not feasible when building with makechrootpkg in a clean chroot.

This can be fixed by adding the --no-commit option to git cherry-pick.

mrxx commented on 2021-05-23 23:43 (UTC)

Thank you, vanja_z. Fixed as suggested.

vanja_z commented on 2021-05-23 17:15 (UTC) (edited on 2021-05-24 04:00 (UTC) by vanja_z)

@Nyan13 I actually found I have the exact same issue if I try using RUA to build the package. Contrary to my previous comment, it is not enough to only configure git. Your gitconfig will not make it to RUA's "jail". I think the easiest way to move forward is just to build ethminer manually. I did get RUA to work by forcing it to pick up the gitconfig. Create the file ~/.config/rua/wrap_args.d/git.sh

wrap_args+=(--bind-try ~/.gitconfig ~/.gitconfig)

Make sure it has 755 permissions.

vanja_z commented on 2021-05-23 16:45 (UTC) (edited on 2021-05-23 16:46 (UTC) by vanja_z)

@Nyan13, seems like a git related error. Try setting up a gitconfig with the following as a bare minimum

  git config --global user.email "you@example.com"
  git config --global user.name "Your Name"

Nyan13 commented on 2021-05-20 08:48 (UTC)

I cannot build it. I get:

Committer identity unknown fatal: Failed to autodetect email address (received "test@test-pc. (none)")

Last versions have no such problems.

vanja_z commented on 2021-05-20 07:52 (UTC) (edited on 2021-05-20 07:55 (UTC) by vanja_z)

Sorry if this is the wrong place to submit this but I suggest the following patch to:

  • Fix gcc 11 bug.

  • Enable sm_80 and sm_86 (A100, DGX-A100, Tesla GA10x, RTX3080/3090, RTXA6000, RTXA40, etc.).

  • Use a git commit instead of sed to fix sm_30 deprecation issue.

I've tested this and it's working on my end.

--- PKGBUILD.orig   2021-05-20 17:47:51.000000000 +1000
+++ PKGBUILD    2021-05-20 17:22:23.777183200 +1000
@@ -22,7 +22,7 @@
   git submodule update --init --recursive

   # fix https://github.com/ethereum-mining/ethminer/issues/2027
-  sed -i '/arch=compute_30/d' libethash-cuda/CMakeLists.txt
+  git cherry-pick dae359dff28f376d4ce7ddfbd651dcd34d6dad8f

   # fix https://github.com/ethereum-mining/ethminer/issues/2290
   git cherry-pick 9ceee532cded1983fe0cf6a5cc3be9b39b409705
@@ -31,10 +31,13 @@
   # fix https://github.com/ethereum-mining/ethminer/pull/2262
   git cherry-pick 6f85e225748029ab8888fec090305f2a7405f046

+  # Enable sm_80 and sm_86
+  git cherry-pick 8f48e43f9232655340badc626863e88cbc960b73
+
   mkdir -p build && cd build

-  export CC=gcc
-  export CXX=g++
+  export CC=gcc-10
+  export CXX=g++-10
   cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DETHASHCUDA=ON
   cmake --build .
 }

vanja_z commented on 2021-05-20 06:43 (UTC) (edited on 2021-05-20 06:43 (UTC) by vanja_z)

As Svenstaro said, the package doesn't work as is. The way I fixed it was changing the CXX and CC variables in the PKGBUILD,

--- PKGBUILD.orig   2021-05-20 16:40:57.000000000 +1000
+++ PKGBUILD    2021-05-20 16:42:37.776956315 +1000
@@ -33,8 +33,8 @@

   mkdir -p build && cd build

-  export CC=gcc
-  export CXX=g++
+  export CC=gcc-10
+  export CXX=g++-10
   cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DETHASHCUDA=ON
   cmake --build .
 }

Svenstaro commented on 2021-05-18 21:51 (UTC)

You need to define gcc-10 and g++-10 as the host compilers now with the new cuda package as cuda isn't compatible with gcc 11 yet.

sffred commented on 2021-05-17 13:29 (UTC) (edited on 2021-05-17 13:31 (UTC) by sffred)

Encountering errors

CMake Error at ethash-cuda_generated_ethash_cuda_miner_kernel.cu.o.Release.cmake:280 (message):
  Error generating file
  /home/fred/.cache/yay/ethminer-cuda/src/ethminer/build/libethash-cuda/CMakeFiles/ethash-cuda.dir//./ethash-cuda_generated_ethash_cuda_miner_kernel.cu.o


make[2]: *** [libethash-cuda/CMakeFiles/ethash-cuda.dir/build.make:77: libethash-cuda/CMakeFiles/ethash-cuda.dir/ethash-cuda_gCMake Error at ethash-cuda_generated_ethash_cuda_miner_kernel.cu.o.Release.cmake:280 (message):
  Error generating file
  /home/fred/.cache/yay/ethminer-cuda/src/ethminer/build/libethash-cuda/CMakeFiles/ethash-cuda.dir//./ethash-cuda_generated_ethash_cuda_miner_kernel.cu.o


make[2]: *** [libethash-cuda/CMakeFiles/ethash-cuda.dir/build.make:77: libethash-cuda/CMakeFiles/ethash-cuda.dir/ethash-cuda_generated_ethash_cuda_miner_kernel.cu.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:455: libethash-cuda/CMakeFiles/ethash-cuda.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
error making: ethminer-cudaenerated_ethash_cuda_miner_kernel.cu.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:455: libethash-cuda/CMakeFiles/ethash-cuda.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
error making: ethminer-cuda

mrxx commented on 2021-05-16 17:40 (UTC)

Thanks, nbryskin. Patch applied.

nbryskin commented on 2021-05-11 16:13 (UTC) (edited on 2021-05-11 16:14 (UTC) by nbryskin)

Latest fixes

diff --git a/PKGBUILD b/PKGBUILD
index a420d75..b9b38e0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -24,6 +24,13 @@ build () {
   # fix https://github.com/ethereum-mining/ethminer/issues/2027
   sed -i '/arch=compute_30/d' libethash-cuda/CMakeLists.txt

+  # fix https://github.com/ethereum-mining/ethminer/issues/2290
+  git cherry-pick 9ceee532cded1983fe0cf6a5cc3be9b39b409705
+
+  # fix https://github.com/ethereum-mining/ethminer/pull/2262
+  git cherry-pick 6f85e225748029ab8888fec090305f2a7405f046
+  git cherry-pick 671949a73c942593a3cf8318bf67fdb76ac91530
+
   mkdir -p build && cd build

   export CC=gcc

mrxx commented on 2020-11-26 01:55 (UTC)

Thanks, Hendrikto. Fixed.

Hendrikto commented on 2020-11-25 21:47 (UTC)

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 (UTC)

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 (UTC)

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 (UTC)

Thanks!

mrxx commented on 2020-06-09 20:19 (UTC)

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 (UTC) (edited on 2020-06-08 15:42 (UTC) by vanja_z)

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 (UTC)

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

semeion commented on 2019-06-27 21:26 (UTC)

Tried the version without CUDA and got similar errors.

How to compile this package? Some tip?

semeion commented on 2019-06-27 21:21 (UTC) (edited on 2019-06-27 21:24 (UTC) by semeion)

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...

mrxx commented on 2018-12-04 22:22 (UTC) (edited on 2018-12-04 22:31 (UTC) by mrxx)

If you want to avoid the 1.4GB CUDA, install "ethminer" instead which uses OpenCL to do the job.

mrxx commented on 2018-12-04 22:20 (UTC)

Adopted, updated to v0.16.1.