Skip to content

Instantly share code, notes, and snippets.

@Visgean
Created October 17, 2016 22:58
Show Gist options
  • Save Visgean/9b87247e4e2013ba72f214005274a60e to your computer and use it in GitHub Desktop.
Save Visgean/9b87247e4e2013ba72f214005274a60e to your computer and use it in GitHub Desktop.
visgean@rew:~/p/cpp-ethereum/build (master)$ make -j8
Scanning dependencies of target BuildInfo.h
Scanning dependencies of target ethash
Scanning dependencies of target devcore
Scanning dependencies of target ethstratum
[ 2%] Building CXX object libethash/CMakeFiles/ethash.dir/sha3_cryptopp.cpp.o
[ 4%] Building C object libethash/CMakeFiles/ethash.dir/internal.c.o
[ 6%] Building C object libethash/CMakeFiles/ethash.dir/io_posix.c.o
[ 8%] Building C object libethash/CMakeFiles/ethash.dir/io.c.o
[ 10%] Building CXX object libstratum/CMakeFiles/ethstratum.dir/EthStratumClient.cpp.o
[ 13%] Building CXX object libstratum/CMakeFiles/ethstratum.dir/EthStratumClientV2.cpp.o
[ 15%] Building CXX object libdevcore/CMakeFiles/devcore.dir/Guards.cpp.o
Files "/home/visgean/p/cpp-ethereum/build/BuildInfo.h.tmp" to "/home/visgean/p/cpp-ethereum/build/BuildInfo.h" are different.
[ 15%] Built target BuildInfo.h
[ 17%] Building CXX object libdevcore/CMakeFiles/devcore.dir/MemoryDB.cpp.o
[ 19%] Building CXX object libdevcore/CMakeFiles/devcore.dir/CommonIO.cpp.o
[ 21%] Building CXX object libdevcore/CMakeFiles/devcore.dir/CommonData.cpp.o
[ 23%] Building CXX object libdevcore/CMakeFiles/devcore.dir/RangeMask.cpp.o
[ 26%] Linking CXX shared library libethash.so
[ 26%] Built target ethash
[ 28%] Generating OpenCL Kernel Byte Array
[ 30%] Building CXX object libdevcore/CMakeFiles/devcore.dir/Log.cpp.o
Scanning dependencies of target ethash-cl
[ 32%] Building CXX object libethash-cl/CMakeFiles/ethash-cl.dir/ethash_cl_miner.cpp.o
In file included from /home/visgean/p/cpp-ethereum/libethash-cl/ethash_cl_miner.h:12:0,
from /home/visgean/p/cpp-ethereum/libethash-cl/ethash_cl_miner.cpp:40:
/home/visgean/p/cpp-ethereum/libethash-cl/CL/cl.hpp: In constructor ‘cl::Sampler::Sampler(const cl::Context&, cl_bool, cl_addressing_mode, cl_filter_mode, cl_int*)’:
/home/visgean/p/cpp-ethereum/libethash-cl/CL/cl.hpp:4617:21: warning: ‘_cl_sampler* clCreateSampler(cl_context, cl_bool, cl_addressing_mode, cl_filter_mode, cl_int*)’ is deprecated [-Wdeprecated-declarations]
object_ = ::clCreateSampler(
^~~~~~~~~~~~~~~
In file included from /usr/include/CL/opencl.h:42:0,
from /home/visgean/p/cpp-ethereum/libethash-cl/CL/cl.hpp:170,
from /home/visgean/p/cpp-ethereum/libethash-cl/ethash_cl_miner.h:12,
from /home/visgean/p/cpp-ethereum/libethash-cl/ethash_cl_miner.cpp:40:
/usr/include/CL/cl.h:1366:1: note: declared here
clCreateSampler(cl_context /* context */,
^~~~~~~~~~~~~~~
In file included from /home/visgean/p/cpp-ethereum/libethash-cl/ethash_cl_miner.h:12:0,
from /home/visgean/p/cpp-ethereum/libethash-cl/ethash_cl_miner.cpp:40:
/home/visgean/p/cpp-ethereum/libethash-cl/CL/cl.hpp:4622:19: warning: ‘_cl_sampler* clCreateSampler(cl_context, cl_bool, cl_addressing_mode, cl_filter_mode, cl_int*)’ is deprecated [-Wdeprecated-declarations]
&error);
^
In file included from /usr/include/CL/opencl.h:42:0,
from /home/visgean/p/cpp-ethereum/libethash-cl/CL/cl.hpp:170,
from /home/visgean/p/cpp-ethereum/libethash-cl/ethash_cl_miner.h:12,
from /home/visgean/p/cpp-ethereum/libethash-cl/ethash_cl_miner.cpp:40:
/usr/include/CL/cl.h:1366:1: note: declared here
clCreateSampler(cl_context /* context */,
^~~~~~~~~~~~~~~
In file included from /home/visgean/p/cpp-ethereum/libethash-cl/ethash_cl_miner.h:12:0,
from /home/visgean/p/cpp-ethereum/libethash-cl/ethash_cl_miner.cpp:40:
/home/visgean/p/cpp-ethereum/libethash-cl/CL/cl.hpp: At global scope:
/home/visgean/p/cpp-ethereum/libethash-cl/CL/cl.hpp:5085:28: warning: ignoring attributes on template argument ‘cl_int {aka int}’ [-Wignored-attributes]
VECTOR_CLASS<cl_int>* binaryStatus = NULL,
^
/home/visgean/p/cpp-ethereum/libethash-cl/CL/cl.hpp: In constructor ‘cl::CommandQueue::CommandQueue(cl_command_queue_properties, cl_int*)’:
/home/visgean/p/cpp-ethereum/libethash-cl/CL/cl.hpp:5477:25: warning: ‘_cl_command_queue* clCreateCommandQueue(cl_context, cl_device_id, cl_command_queue_properties, cl_int*)’ is deprecated [-Wdeprecated-declarations]
object_ = ::clCreateCommandQueue(
^~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/CL/opencl.h:42:0,
from /home/visgean/p/cpp-ethereum/libethash-cl/CL/cl.hpp:170,
from /home/visgean/p/cpp-ethereum/libethash-cl/ethash_cl_miner.h:12,
from /home/visgean/p/cpp-ethereum/libethash-cl/ethash_cl_miner.cpp:40:
/usr/include/CL/cl.h:1359:1: note: declared here
clCreateCommandQueue(cl_context /* context */,
^~~~~~~~~~~~~~~~~~~~
In file included from /home/visgean/p/cpp-ethereum/libethash-cl/ethash_cl_miner.h:12:0,
from /home/visgean/p/cpp-ethereum/libethash-cl/ethash_cl_miner.cpp:40:
/home/visgean/p/cpp-ethereum/libethash-cl/CL/cl.hpp:5478:56: warning: ‘_cl_command_queue* clCreateCommandQueue(cl_context, cl_device_id, cl_command_queue_properties, cl_int*)’ is deprecated [-Wdeprecated-declarations]
context(), device(), properties, &error);
^
In file included from /usr/include/CL/opencl.h:42:0,
from /home/visgean/p/cpp-ethereum/libethash-cl/CL/cl.hpp:170,
from /home/visgean/p/cpp-ethereum/libethash-cl/ethash_cl_miner.h:12,
from /home/visgean/p/cpp-ethereum/libethash-cl/ethash_cl_miner.cpp:40:
/usr/include/CL/cl.h:1359:1: note: declared here
clCreateCommandQueue(cl_context /* context */,
^~~~~~~~~~~~~~~~~~~~
In file included from /home/visgean/p/cpp-ethereum/libethash-cl/ethash_cl_miner.h:12:0,
from /home/visgean/p/cpp-ethereum/libethash-cl/ethash_cl_miner.cpp:40:
/home/visgean/p/cpp-ethereum/libethash-cl/CL/cl.hpp: In constructor ‘cl::CommandQueue::CommandQueue(const cl::Context&, cl_command_queue_properties, cl_int*)’:
/home/visgean/p/cpp-ethereum/libethash-cl/CL/cl.hpp:5508:21: warning: ‘_cl_command_queue* clCreateCommandQueue(cl_context, cl_device_id, cl_command_queue_properties, cl_int*)’ is deprecated [-Wdeprecated-declarations]
object_ = ::clCreateCommandQueue(context(), devices[0](), properties, &error);
^~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/CL/opencl.h:42:0,
from /home/visgean/p/cpp-ethereum/libethash-cl/CL/cl.hpp:170,
from /home/visgean/p/cpp-ethereum/libethash-cl/ethash_cl_miner.h:12,
from /home/visgean/p/cpp-ethereum/libethash-cl/ethash_cl_miner.cpp:40:
/usr/include/CL/cl.h:1359:1: note: declared here
clCreateCommandQueue(cl_context /* context */,
^~~~~~~~~~~~~~~~~~~~
In file included from /home/visgean/p/cpp-ethereum/libethash-cl/ethash_cl_miner.h:12:0,
from /home/visgean/p/cpp-ethereum/libethash-cl/ethash_cl_miner.cpp:40:
/home/visgean/p/cpp-ethereum/libethash-cl/CL/cl.hpp:5508:85: warning: ‘_cl_command_queue* clCreateCommandQueue(cl_context, cl_device_id, cl_command_queue_properties, cl_int*)’ is deprecated [-Wdeprecated-declarations]
object_ = ::clCreateCommandQueue(context(), devices[0](), properties, &error);
^
In file included from /usr/include/CL/opencl.h:42:0,
from /home/visgean/p/cpp-ethereum/libethash-cl/CL/cl.hpp:170,
from /home/visgean/p/cpp-ethereum/libethash-cl/ethash_cl_miner.h:12,
from /home/visgean/p/cpp-ethereum/libethash-cl/ethash_cl_miner.cpp:40:
/usr/include/CL/cl.h:1359:1: note: declared here
clCreateCommandQueue(cl_context /* context */,
^~~~~~~~~~~~~~~~~~~~
In file included from /home/visgean/p/cpp-ethereum/libethash-cl/ethash_cl_miner.h:12:0,
from /home/visgean/p/cpp-ethereum/libethash-cl/ethash_cl_miner.cpp:40:
/home/visgean/p/cpp-ethereum/libethash-cl/CL/cl.hpp: In constructor ‘cl::CommandQueue::CommandQueue(const cl::Context&, const cl::Device&, cl_command_queue_properties, cl_int*)’:
/home/visgean/p/cpp-ethereum/libethash-cl/CL/cl.hpp:5525:21: warning: ‘_cl_command_queue* clCreateCommandQueue(cl_context, cl_device_id, cl_command_queue_properties, cl_int*)’ is deprecated [-Wdeprecated-declarations]
object_ = ::clCreateCommandQueue(
^~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/CL/opencl.h:42:0,
from /home/visgean/p/cpp-ethereum/libethash-cl/CL/cl.hpp:170,
from /home/visgean/p/cpp-ethereum/libethash-cl/ethash_cl_miner.h:12,
from /home/visgean/p/cpp-ethereum/libethash-cl/ethash_cl_miner.cpp:40:
/usr/include/CL/cl.h:1359:1: note: declared here
clCreateCommandQueue(cl_context /* context */,
^~~~~~~~~~~~~~~~~~~~
In file included from /home/visgean/p/cpp-ethereum/libethash-cl/ethash_cl_miner.h:12:0,
from /home/visgean/p/cpp-ethereum/libethash-cl/ethash_cl_miner.cpp:40:
/home/visgean/p/cpp-ethereum/libethash-cl/CL/cl.hpp:5526:52: warning: ‘_cl_command_queue* clCreateCommandQueue(cl_context, cl_device_id, cl_command_queue_properties, cl_int*)’ is deprecated [-Wdeprecated-declarations]
context(), device(), properties, &error);
^
In file included from /usr/include/CL/opencl.h:42:0,
from /home/visgean/p/cpp-ethereum/libethash-cl/CL/cl.hpp:170,
from /home/visgean/p/cpp-ethereum/libethash-cl/ethash_cl_miner.h:12,
from /home/visgean/p/cpp-ethereum/libethash-cl/ethash_cl_miner.cpp:40:
/usr/include/CL/cl.h:1359:1: note: declared here
clCreateCommandQueue(cl_context /* context */,
^~~~~~~~~~~~~~~~~~~~
In file included from /home/visgean/p/cpp-ethereum/libethash-cl/ethash_cl_miner.h:12:0,
from /home/visgean/p/cpp-ethereum/libethash-cl/ethash_cl_miner.cpp:40:
/home/visgean/p/cpp-ethereum/libethash-cl/CL/cl.hpp: In member function ‘cl_int cl::CommandQueue::enqueueTask(const cl::Kernel&, const std::vector<cl::Event>*, cl::Event*) const’:
/home/visgean/p/cpp-ethereum/libethash-cl/CL/cl.hpp:6329:15: warning: ‘cl_int clEnqueueTask(cl_command_queue, cl_kernel, cl_uint, _cl_event* const*, _cl_event**)’ is deprecated [-Wdeprecated-declarations]
::clEnqueueTask(
^~~~~~~~~~~~~
In file included from /usr/include/CL/opencl.h:42:0,
from /home/visgean/p/cpp-ethereum/libethash-cl/CL/cl.hpp:170,
from /home/visgean/p/cpp-ethereum/libethash-cl/ethash_cl_miner.h:12,
from /home/visgean/p/cpp-ethereum/libethash-cl/ethash_cl_miner.cpp:40:
/usr/include/CL/cl.h:1373:1: note: declared here
clEnqueueTask(cl_command_queue /* command_queue */,
^~~~~~~~~~~~~
In file included from /home/visgean/p/cpp-ethereum/libethash-cl/ethash_cl_miner.h:12:0,
from /home/visgean/p/cpp-ethereum/libethash-cl/ethash_cl_miner.cpp:40:
/home/visgean/p/cpp-ethereum/libethash-cl/CL/cl.hpp:6333:46: warning: ‘cl_int clEnqueueTask(cl_command_queue, cl_kernel, cl_uint, _cl_event* const*, _cl_event**)’ is deprecated [-Wdeprecated-declarations]
(event != NULL) ? &tmp : NULL),
^
In file included from /usr/include/CL/opencl.h:42:0,
from /home/visgean/p/cpp-ethereum/libethash-cl/CL/cl.hpp:170,
from /home/visgean/p/cpp-ethereum/libethash-cl/ethash_cl_miner.h:12,
from /home/visgean/p/cpp-ethereum/libethash-cl/ethash_cl_miner.cpp:40:
/usr/include/CL/cl.h:1373:1: note: declared here
clEnqueueTask(cl_command_queue /* command_queue */,
^~~~~~~~~~~~~
[ 34%] Building CXX object libdevcore/CMakeFiles/devcore.dir/TrieDB.cpp.o
[ 36%] Linking CXX shared library libethash-cl.so
[ 36%] Built target ethash-cl
Scanning dependencies of target ethcore
[ 39%] Building CXX object libethcore/CMakeFiles/ethcore.dir/Sealer.cpp.o
/home/visgean/p/cpp-ethereum/libstratum/EthStratumClient.cpp: In member function ‘void EthStratumClient::processReponse(Json::Value&)’:
/home/visgean/p/cpp-ethereum/libstratum/EthStratumClient.cpp:398:12: warning: variable ‘headerHash’ set but not used [-Wunused-but-set-variable]
h256 headerHash = h256(sHeaderHash);
^~~~~~~~~~
/home/visgean/p/cpp-ethereum/libstratum/EthStratumClientV2.cpp: In member function ‘void EthStratumClientV2::processReponse(Json::Value&)’:
/home/visgean/p/cpp-ethereum/libstratum/EthStratumClientV2.cpp:350:12: warning: variable ‘headerHash’ set but not used [-Wunused-but-set-variable]
h256 headerHash = h256(sHeaderHash);
^~~~~~~~~~
[ 41%] Building CXX object libdevcore/CMakeFiles/devcore.dir/StructuredLogger.cpp.o
[ 43%] Building CXX object libdevcore/CMakeFiles/devcore.dir/SHA3.cpp.o
[ 45%] Building CXX object libdevcore/CMakeFiles/devcore.dir/TransientDirectory.cpp.o
[ 47%] Building CXX object libdevcore/CMakeFiles/devcore.dir/RLP.cpp.o
[ 50%] Building CXX object libethcore/CMakeFiles/ethcore.dir/EthashCPUMiner.cpp.o
[ 52%] Building CXX object libethcore/CMakeFiles/ethcore.dir/BlockInfo.cpp.o
[ 54%] Building CXX object libethcore/CMakeFiles/ethcore.dir/Ethash.cpp.o
[ 56%] Building CXX object libdevcore/CMakeFiles/devcore.dir/FileSystem.cpp.o
[ 58%] Linking CXX shared library libethstratum.so
[ 58%] Built target ethstratum
[ 60%] Building CXX object libdevcore/CMakeFiles/devcore.dir/Common.cpp.o
[ 63%] Building CXX object libdevcore/CMakeFiles/devcore.dir/Worker.cpp.o
[ 65%] Building CXX object libdevcore/CMakeFiles/devcore.dir/FixedHash.cpp.o
[ 67%] Building CXX object libdevcore/CMakeFiles/devcore.dir/CommonJS.cpp.o
[ 69%] Building CXX object libdevcore/CMakeFiles/devcore.dir/Base64.cpp.o
[ 71%] Building CXX object libdevcore/CMakeFiles/devcore.dir/TrieCommon.cpp.o
[ 73%] Building CXX object libethcore/CMakeFiles/ethcore.dir/Common.cpp.o
[ 76%] Building CXX object libdevcore/CMakeFiles/devcore.dir/Hash.cpp.o
[ 78%] Building CXX object libdevcore/CMakeFiles/devcore.dir/TrieHash.cpp.o
[ 80%] Building CXX object libethcore/CMakeFiles/ethcore.dir/EthashCUDAMiner.cpp.o
[ 82%] Building CXX object libethcore/CMakeFiles/ethcore.dir/EthashAux.cpp.o
[ 84%] Building CXX object libethcore/CMakeFiles/ethcore.dir/EthashGPUMiner.cpp.o
[ 86%] Building CXX object libethcore/CMakeFiles/ethcore.dir/EthashSealEngine.cpp.o
[ 89%] Building CXX object libethcore/CMakeFiles/ethcore.dir/Miner.cpp.o
[ 91%] Building CXX object libethcore/CMakeFiles/ethcore.dir/Params.cpp.o
In file included from /home/visgean/p/cpp-ethereum/libethcore/../libethash-cl/ethash_cl_miner.h:12:0,
from /home/visgean/p/cpp-ethereum/libethcore/EthashGPUMiner.cpp:29:
/home/visgean/p/cpp-ethereum/libethcore/../libethash-cl/CL/cl.hpp: In constructor ‘cl::Sampler::Sampler(const cl::Context&, cl_bool, cl_addressing_mode, cl_filter_mode, cl_int*)’:
/home/visgean/p/cpp-ethereum/libethcore/../libethash-cl/CL/cl.hpp:4617:21: warning: ‘_cl_sampler* clCreateSampler(cl_context, cl_bool, cl_addressing_mode, cl_filter_mode, cl_int*)’ is deprecated [-Wdeprecated-declarations]
object_ = ::clCreateSampler(
^~~~~~~~~~~~~~~
In file included from /usr/include/CL/opencl.h:42:0,
from /home/visgean/p/cpp-ethereum/libethcore/../libethash-cl/CL/cl.hpp:170,
from /home/visgean/p/cpp-ethereum/libethcore/../libethash-cl/ethash_cl_miner.h:12,
from /home/visgean/p/cpp-ethereum/libethcore/EthashGPUMiner.cpp:29:
/usr/include/CL/cl.h:1366:1: note: declared here
clCreateSampler(cl_context /* context */,
^~~~~~~~~~~~~~~
In file included from /home/visgean/p/cpp-ethereum/libethcore/../libethash-cl/ethash_cl_miner.h:12:0,
from /home/visgean/p/cpp-ethereum/libethcore/EthashGPUMiner.cpp:29:
/home/visgean/p/cpp-ethereum/libethcore/../libethash-cl/CL/cl.hpp:4622:19: warning: ‘_cl_sampler* clCreateSampler(cl_context, cl_bool, cl_addressing_mode, cl_filter_mode, cl_int*)’ is deprecated [-Wdeprecated-declarations]
&error);
^
In file included from /usr/include/CL/opencl.h:42:0,
from /home/visgean/p/cpp-ethereum/libethcore/../libethash-cl/CL/cl.hpp:170,
from /home/visgean/p/cpp-ethereum/libethcore/../libethash-cl/ethash_cl_miner.h:12,
from /home/visgean/p/cpp-ethereum/libethcore/EthashGPUMiner.cpp:29:
/usr/include/CL/cl.h:1366:1: note: declared here
clCreateSampler(cl_context /* context */,
^~~~~~~~~~~~~~~
[ 93%] Linking CXX shared library libdevcore.so
In file included from /home/visgean/p/cpp-ethereum/libethcore/../libethash-cl/ethash_cl_miner.h:12:0,
from /home/visgean/p/cpp-ethereum/libethcore/EthashGPUMiner.cpp:29:
/home/visgean/p/cpp-ethereum/libethcore/../libethash-cl/CL/cl.hpp: At global scope:
/home/visgean/p/cpp-ethereum/libethcore/../libethash-cl/CL/cl.hpp:5085:28: warning: ignoring attributes on template argument ‘cl_int {aka int}’ [-Wignored-attributes]
VECTOR_CLASS<cl_int>* binaryStatus = NULL,
^
/home/visgean/p/cpp-ethereum/libethcore/../libethash-cl/CL/cl.hpp: In constructor ‘cl::CommandQueue::CommandQueue(cl_command_queue_properties, cl_int*)’:
/home/visgean/p/cpp-ethereum/libethcore/../libethash-cl/CL/cl.hpp:5477:25: warning: ‘_cl_command_queue* clCreateCommandQueue(cl_context, cl_device_id, cl_command_queue_properties, cl_int*)’ is deprecated [-Wdeprecated-declarations]
object_ = ::clCreateCommandQueue(
^~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/CL/opencl.h:42:0,
from /home/visgean/p/cpp-ethereum/libethcore/../libethash-cl/CL/cl.hpp:170,
from /home/visgean/p/cpp-ethereum/libethcore/../libethash-cl/ethash_cl_miner.h:12,
from /home/visgean/p/cpp-ethereum/libethcore/EthashGPUMiner.cpp:29:
/usr/include/CL/cl.h:1359:1: note: declared here
clCreateCommandQueue(cl_context /* context */,
^~~~~~~~~~~~~~~~~~~~
In file included from /home/visgean/p/cpp-ethereum/libethcore/../libethash-cl/ethash_cl_miner.h:12:0,
from /home/visgean/p/cpp-ethereum/libethcore/EthashGPUMiner.cpp:29:
/home/visgean/p/cpp-ethereum/libethcore/../libethash-cl/CL/cl.hpp:5478:56: warning: ‘_cl_command_queue* clCreateCommandQueue(cl_context, cl_device_id, cl_command_queue_properties, cl_int*)’ is deprecated [-Wdeprecated-declarations]
context(), device(), properties, &error);
^
In file included from /usr/include/CL/opencl.h:42:0,
from /home/visgean/p/cpp-ethereum/libethcore/../libethash-cl/CL/cl.hpp:170,
from /home/visgean/p/cpp-ethereum/libethcore/../libethash-cl/ethash_cl_miner.h:12,
from /home/visgean/p/cpp-ethereum/libethcore/EthashGPUMiner.cpp:29:
/usr/include/CL/cl.h:1359:1: note: declared here
clCreateCommandQueue(cl_context /* context */,
^~~~~~~~~~~~~~~~~~~~
In file included from /home/visgean/p/cpp-ethereum/libethcore/../libethash-cl/ethash_cl_miner.h:12:0,
from /home/visgean/p/cpp-ethereum/libethcore/EthashGPUMiner.cpp:29:
/home/visgean/p/cpp-ethereum/libethcore/../libethash-cl/CL/cl.hpp: In constructor ‘cl::CommandQueue::CommandQueue(const cl::Context&, cl_command_queue_properties, cl_int*)’:
/home/visgean/p/cpp-ethereum/libethcore/../libethash-cl/CL/cl.hpp:5508:21: warning: ‘_cl_command_queue* clCreateCommandQueue(cl_context, cl_device_id, cl_command_queue_properties, cl_int*)’ is deprecated [-Wdeprecated-declarations]
object_ = ::clCreateCommandQueue(context(), devices[0](), properties, &error);
^~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/CL/opencl.h:42:0,
from /home/visgean/p/cpp-ethereum/libethcore/../libethash-cl/CL/cl.hpp:170,
from /home/visgean/p/cpp-ethereum/libethcore/../libethash-cl/ethash_cl_miner.h:12,
from /home/visgean/p/cpp-ethereum/libethcore/EthashGPUMiner.cpp:29:
/usr/include/CL/cl.h:1359:1: note: declared here
clCreateCommandQueue(cl_context /* context */,
^~~~~~~~~~~~~~~~~~~~
In file included from /home/visgean/p/cpp-ethereum/libethcore/../libethash-cl/ethash_cl_miner.h:12:0,
from /home/visgean/p/cpp-ethereum/libethcore/EthashGPUMiner.cpp:29:
/home/visgean/p/cpp-ethereum/libethcore/../libethash-cl/CL/cl.hpp:5508:85: warning: ‘_cl_command_queue* clCreateCommandQueue(cl_context, cl_device_id, cl_command_queue_properties, cl_int*)’ is deprecated [-Wdeprecated-declarations]
object_ = ::clCreateCommandQueue(context(), devices[0](), properties, &error);
^
In file included from /usr/include/CL/opencl.h:42:0,
from /home/visgean/p/cpp-ethereum/libethcore/../libethash-cl/CL/cl.hpp:170,
from /home/visgean/p/cpp-ethereum/libethcore/../libethash-cl/ethash_cl_miner.h:12,
from /home/visgean/p/cpp-ethereum/libethcore/EthashGPUMiner.cpp:29:
/usr/include/CL/cl.h:1359:1: note: declared here
clCreateCommandQueue(cl_context /* context */,
^~~~~~~~~~~~~~~~~~~~
In file included from /home/visgean/p/cpp-ethereum/libethcore/../libethash-cl/ethash_cl_miner.h:12:0,
from /home/visgean/p/cpp-ethereum/libethcore/EthashGPUMiner.cpp:29:
/home/visgean/p/cpp-ethereum/libethcore/../libethash-cl/CL/cl.hpp: In constructor ‘cl::CommandQueue::CommandQueue(const cl::Context&, const cl::Device&, cl_command_queue_properties, cl_int*)’:
/home/visgean/p/cpp-ethereum/libethcore/../libethash-cl/CL/cl.hpp:5525:21: warning: ‘_cl_command_queue* clCreateCommandQueue(cl_context, cl_device_id, cl_command_queue_properties, cl_int*)’ is deprecated [-Wdeprecated-declarations]
object_ = ::clCreateCommandQueue(
^~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/CL/opencl.h:42:0,
from /home/visgean/p/cpp-ethereum/libethcore/../libethash-cl/CL/cl.hpp:170,
from /home/visgean/p/cpp-ethereum/libethcore/../libethash-cl/ethash_cl_miner.h:12,
from /home/visgean/p/cpp-ethereum/libethcore/EthashGPUMiner.cpp:29:
/usr/include/CL/cl.h:1359:1: note: declared here
clCreateCommandQueue(cl_context /* context */,
^~~~~~~~~~~~~~~~~~~~
In file included from /home/visgean/p/cpp-ethereum/libethcore/../libethash-cl/ethash_cl_miner.h:12:0,
from /home/visgean/p/cpp-ethereum/libethcore/EthashGPUMiner.cpp:29:
/home/visgean/p/cpp-ethereum/libethcore/../libethash-cl/CL/cl.hpp:5526:52: warning: ‘_cl_command_queue* clCreateCommandQueue(cl_context, cl_device_id, cl_command_queue_properties, cl_int*)’ is deprecated [-Wdeprecated-declarations]
context(), device(), properties, &error);
^
In file included from /usr/include/CL/opencl.h:42:0,
from /home/visgean/p/cpp-ethereum/libethcore/../libethash-cl/CL/cl.hpp:170,
from /home/visgean/p/cpp-ethereum/libethcore/../libethash-cl/ethash_cl_miner.h:12,
from /home/visgean/p/cpp-ethereum/libethcore/EthashGPUMiner.cpp:29:
/usr/include/CL/cl.h:1359:1: note: declared here
clCreateCommandQueue(cl_context /* context */,
^~~~~~~~~~~~~~~~~~~~
In file included from /home/visgean/p/cpp-ethereum/libethcore/../libethash-cl/ethash_cl_miner.h:12:0,
from /home/visgean/p/cpp-ethereum/libethcore/EthashGPUMiner.cpp:29:
/home/visgean/p/cpp-ethereum/libethcore/../libethash-cl/CL/cl.hpp: In member function ‘cl_int cl::CommandQueue::enqueueTask(const cl::Kernel&, const std::vector<cl::Event>*, cl::Event*) const’:
/home/visgean/p/cpp-ethereum/libethcore/../libethash-cl/CL/cl.hpp:6329:15: warning: ‘cl_int clEnqueueTask(cl_command_queue, cl_kernel, cl_uint, _cl_event* const*, _cl_event**)’ is deprecated [-Wdeprecated-declarations]
::clEnqueueTask(
^~~~~~~~~~~~~
In file included from /usr/include/CL/opencl.h:42:0,
from /home/visgean/p/cpp-ethereum/libethcore/../libethash-cl/CL/cl.hpp:170,
from /home/visgean/p/cpp-ethereum/libethcore/../libethash-cl/ethash_cl_miner.h:12,
from /home/visgean/p/cpp-ethereum/libethcore/EthashGPUMiner.cpp:29:
/usr/include/CL/cl.h:1373:1: note: declared here
clEnqueueTask(cl_command_queue /* command_queue */,
^~~~~~~~~~~~~
In file included from /home/visgean/p/cpp-ethereum/libethcore/../libethash-cl/ethash_cl_miner.h:12:0,
from /home/visgean/p/cpp-ethereum/libethcore/EthashGPUMiner.cpp:29:
/home/visgean/p/cpp-ethereum/libethcore/../libethash-cl/CL/cl.hpp:6333:46: warning: ‘cl_int clEnqueueTask(cl_command_queue, cl_kernel, cl_uint, _cl_event* const*, _cl_event**)’ is deprecated [-Wdeprecated-declarations]
(event != NULL) ? &tmp : NULL),
^
In file included from /usr/include/CL/opencl.h:42:0,
from /home/visgean/p/cpp-ethereum/libethcore/../libethash-cl/CL/cl.hpp:170,
from /home/visgean/p/cpp-ethereum/libethcore/../libethash-cl/ethash_cl_miner.h:12,
from /home/visgean/p/cpp-ethereum/libethcore/EthashGPUMiner.cpp:29:
/usr/include/CL/cl.h:1373:1: note: declared here
clEnqueueTask(cl_command_queue /* command_queue */,
^~~~~~~~~~~~~
[ 93%] Built target devcore
/home/visgean/p/cpp-ethereum/libethcore/EthashGPUMiner.cpp: In member function ‘virtual void dev::eth::EthashGPUMiner::workLoop()’:
/home/visgean/p/cpp-ethereum/libethcore/EthashGPUMiner.cpp:189:96: warning: ‘startN’ may be used uninitialized in this function [-Wmaybe-uninitialized]
m_miner->search(w.headerHash.data(), upper64OfBoundary, *m_hook, (w.exSizeBits >= 0), startN);
^
[ 95%] Linking CXX shared library libethcore.so
[ 95%] Built target ethcore
Scanning dependencies of target ethminer
[ 97%] Building CXX object ethminer/CMakeFiles/ethminer.dir/main.cpp.o
In file included from /home/visgean/p/cpp-ethereum/ethminer/../libethash-cl/ethash_cl_miner.h:12:0,
from /home/visgean/p/cpp-ethereum/ethminer/MinerAux.h:47,
from /home/visgean/p/cpp-ethereum/ethminer/main.cpp:39:
/home/visgean/p/cpp-ethereum/ethminer/../libethash-cl/CL/cl.hpp: In constructor ‘cl::Sampler::Sampler(const cl::Context&, cl_bool, cl_addressing_mode, cl_filter_mode, cl_int*)’:
/home/visgean/p/cpp-ethereum/ethminer/../libethash-cl/CL/cl.hpp:4617:21: warning: ‘_cl_sampler* clCreateSampler(cl_context, cl_bool, cl_addressing_mode, cl_filter_mode, cl_int*)’ is deprecated [-Wdeprecated-declarations]
object_ = ::clCreateSampler(
^~~~~~~~~~~~~~~
In file included from /usr/include/CL/opencl.h:42:0,
from /home/visgean/p/cpp-ethereum/ethminer/../libethash-cl/CL/cl.hpp:170,
from /home/visgean/p/cpp-ethereum/ethminer/../libethash-cl/ethash_cl_miner.h:12,
from /home/visgean/p/cpp-ethereum/ethminer/MinerAux.h:47,
from /home/visgean/p/cpp-ethereum/ethminer/main.cpp:39:
/usr/include/CL/cl.h:1366:1: note: declared here
clCreateSampler(cl_context /* context */,
^~~~~~~~~~~~~~~
In file included from /home/visgean/p/cpp-ethereum/ethminer/../libethash-cl/ethash_cl_miner.h:12:0,
from /home/visgean/p/cpp-ethereum/ethminer/MinerAux.h:47,
from /home/visgean/p/cpp-ethereum/ethminer/main.cpp:39:
/home/visgean/p/cpp-ethereum/ethminer/../libethash-cl/CL/cl.hpp:4622:19: warning: ‘_cl_sampler* clCreateSampler(cl_context, cl_bool, cl_addressing_mode, cl_filter_mode, cl_int*)’ is deprecated [-Wdeprecated-declarations]
&error);
^
In file included from /usr/include/CL/opencl.h:42:0,
from /home/visgean/p/cpp-ethereum/ethminer/../libethash-cl/CL/cl.hpp:170,
from /home/visgean/p/cpp-ethereum/ethminer/../libethash-cl/ethash_cl_miner.h:12,
from /home/visgean/p/cpp-ethereum/ethminer/MinerAux.h:47,
from /home/visgean/p/cpp-ethereum/ethminer/main.cpp:39:
/usr/include/CL/cl.h:1366:1: note: declared here
clCreateSampler(cl_context /* context */,
^~~~~~~~~~~~~~~
In file included from /home/visgean/p/cpp-ethereum/ethminer/../libethash-cl/ethash_cl_miner.h:12:0,
from /home/visgean/p/cpp-ethereum/ethminer/MinerAux.h:47,
from /home/visgean/p/cpp-ethereum/ethminer/main.cpp:39:
/home/visgean/p/cpp-ethereum/ethminer/../libethash-cl/CL/cl.hpp: At global scope:
/home/visgean/p/cpp-ethereum/ethminer/../libethash-cl/CL/cl.hpp:5085:28: warning: ignoring attributes on template argument ‘cl_int {aka int}’ [-Wignored-attributes]
VECTOR_CLASS<cl_int>* binaryStatus = NULL,
^
/home/visgean/p/cpp-ethereum/ethminer/../libethash-cl/CL/cl.hpp: In constructor ‘cl::CommandQueue::CommandQueue(cl_command_queue_properties, cl_int*)’:
/home/visgean/p/cpp-ethereum/ethminer/../libethash-cl/CL/cl.hpp:5477:25: warning: ‘_cl_command_queue* clCreateCommandQueue(cl_context, cl_device_id, cl_command_queue_properties, cl_int*)’ is deprecated [-Wdeprecated-declarations]
object_ = ::clCreateCommandQueue(
^~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/CL/opencl.h:42:0,
from /home/visgean/p/cpp-ethereum/ethminer/../libethash-cl/CL/cl.hpp:170,
from /home/visgean/p/cpp-ethereum/ethminer/../libethash-cl/ethash_cl_miner.h:12,
from /home/visgean/p/cpp-ethereum/ethminer/MinerAux.h:47,
from /home/visgean/p/cpp-ethereum/ethminer/main.cpp:39:
/usr/include/CL/cl.h:1359:1: note: declared here
clCreateCommandQueue(cl_context /* context */,
^~~~~~~~~~~~~~~~~~~~
In file included from /home/visgean/p/cpp-ethereum/ethminer/../libethash-cl/ethash_cl_miner.h:12:0,
from /home/visgean/p/cpp-ethereum/ethminer/MinerAux.h:47,
from /home/visgean/p/cpp-ethereum/ethminer/main.cpp:39:
/home/visgean/p/cpp-ethereum/ethminer/../libethash-cl/CL/cl.hpp:5478:56: warning: ‘_cl_command_queue* clCreateCommandQueue(cl_context, cl_device_id, cl_command_queue_properties, cl_int*)’ is deprecated [-Wdeprecated-declarations]
context(), device(), properties, &error);
^
In file included from /usr/include/CL/opencl.h:42:0,
from /home/visgean/p/cpp-ethereum/ethminer/../libethash-cl/CL/cl.hpp:170,
from /home/visgean/p/cpp-ethereum/ethminer/../libethash-cl/ethash_cl_miner.h:12,
from /home/visgean/p/cpp-ethereum/ethminer/MinerAux.h:47,
from /home/visgean/p/cpp-ethereum/ethminer/main.cpp:39:
/usr/include/CL/cl.h:1359:1: note: declared here
clCreateCommandQueue(cl_context /* context */,
^~~~~~~~~~~~~~~~~~~~
In file included from /home/visgean/p/cpp-ethereum/ethminer/../libethash-cl/ethash_cl_miner.h:12:0,
from /home/visgean/p/cpp-ethereum/ethminer/MinerAux.h:47,
from /home/visgean/p/cpp-ethereum/ethminer/main.cpp:39:
/home/visgean/p/cpp-ethereum/ethminer/../libethash-cl/CL/cl.hpp: In constructor ‘cl::CommandQueue::CommandQueue(const cl::Context&, cl_command_queue_properties, cl_int*)’:
/home/visgean/p/cpp-ethereum/ethminer/../libethash-cl/CL/cl.hpp:5508:21: warning: ‘_cl_command_queue* clCreateCommandQueue(cl_context, cl_device_id, cl_command_queue_properties, cl_int*)’ is deprecated [-Wdeprecated-declarations]
object_ = ::clCreateCommandQueue(context(), devices[0](), properties, &error);
^~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/CL/opencl.h:42:0,
from /home/visgean/p/cpp-ethereum/ethminer/../libethash-cl/CL/cl.hpp:170,
from /home/visgean/p/cpp-ethereum/ethminer/../libethash-cl/ethash_cl_miner.h:12,
from /home/visgean/p/cpp-ethereum/ethminer/MinerAux.h:47,
from /home/visgean/p/cpp-ethereum/ethminer/main.cpp:39:
/usr/include/CL/cl.h:1359:1: note: declared here
clCreateCommandQueue(cl_context /* context */,
^~~~~~~~~~~~~~~~~~~~
In file included from /home/visgean/p/cpp-ethereum/ethminer/../libethash-cl/ethash_cl_miner.h:12:0,
from /home/visgean/p/cpp-ethereum/ethminer/MinerAux.h:47,
from /home/visgean/p/cpp-ethereum/ethminer/main.cpp:39:
/home/visgean/p/cpp-ethereum/ethminer/../libethash-cl/CL/cl.hpp:5508:85: warning: ‘_cl_command_queue* clCreateCommandQueue(cl_context, cl_device_id, cl_command_queue_properties, cl_int*)’ is deprecated [-Wdeprecated-declarations]
object_ = ::clCreateCommandQueue(context(), devices[0](), properties, &error);
^
In file included from /usr/include/CL/opencl.h:42:0,
from /home/visgean/p/cpp-ethereum/ethminer/../libethash-cl/CL/cl.hpp:170,
from /home/visgean/p/cpp-ethereum/ethminer/../libethash-cl/ethash_cl_miner.h:12,
from /home/visgean/p/cpp-ethereum/ethminer/MinerAux.h:47,
from /home/visgean/p/cpp-ethereum/ethminer/main.cpp:39:
/usr/include/CL/cl.h:1359:1: note: declared here
clCreateCommandQueue(cl_context /* context */,
^~~~~~~~~~~~~~~~~~~~
In file included from /home/visgean/p/cpp-ethereum/ethminer/../libethash-cl/ethash_cl_miner.h:12:0,
from /home/visgean/p/cpp-ethereum/ethminer/MinerAux.h:47,
from /home/visgean/p/cpp-ethereum/ethminer/main.cpp:39:
/home/visgean/p/cpp-ethereum/ethminer/../libethash-cl/CL/cl.hpp: In constructor ‘cl::CommandQueue::CommandQueue(const cl::Context&, const cl::Device&, cl_command_queue_properties, cl_int*)’:
/home/visgean/p/cpp-ethereum/ethminer/../libethash-cl/CL/cl.hpp:5525:21: warning: ‘_cl_command_queue* clCreateCommandQueue(cl_context, cl_device_id, cl_command_queue_properties, cl_int*)’ is deprecated [-Wdeprecated-declarations]
object_ = ::clCreateCommandQueue(
^~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/CL/opencl.h:42:0,
from /home/visgean/p/cpp-ethereum/ethminer/../libethash-cl/CL/cl.hpp:170,
from /home/visgean/p/cpp-ethereum/ethminer/../libethash-cl/ethash_cl_miner.h:12,
from /home/visgean/p/cpp-ethereum/ethminer/MinerAux.h:47,
from /home/visgean/p/cpp-ethereum/ethminer/main.cpp:39:
/usr/include/CL/cl.h:1359:1: note: declared here
clCreateCommandQueue(cl_context /* context */,
^~~~~~~~~~~~~~~~~~~~
In file included from /home/visgean/p/cpp-ethereum/ethminer/../libethash-cl/ethash_cl_miner.h:12:0,
from /home/visgean/p/cpp-ethereum/ethminer/MinerAux.h:47,
from /home/visgean/p/cpp-ethereum/ethminer/main.cpp:39:
/home/visgean/p/cpp-ethereum/ethminer/../libethash-cl/CL/cl.hpp:5526:52: warning: ‘_cl_command_queue* clCreateCommandQueue(cl_context, cl_device_id, cl_command_queue_properties, cl_int*)’ is deprecated [-Wdeprecated-declarations]
context(), device(), properties, &error);
^
In file included from /usr/include/CL/opencl.h:42:0,
from /home/visgean/p/cpp-ethereum/ethminer/../libethash-cl/CL/cl.hpp:170,
from /home/visgean/p/cpp-ethereum/ethminer/../libethash-cl/ethash_cl_miner.h:12,
from /home/visgean/p/cpp-ethereum/ethminer/MinerAux.h:47,
from /home/visgean/p/cpp-ethereum/ethminer/main.cpp:39:
/usr/include/CL/cl.h:1359:1: note: declared here
clCreateCommandQueue(cl_context /* context */,
^~~~~~~~~~~~~~~~~~~~
In file included from /home/visgean/p/cpp-ethereum/ethminer/../libethash-cl/ethash_cl_miner.h:12:0,
from /home/visgean/p/cpp-ethereum/ethminer/MinerAux.h:47,
from /home/visgean/p/cpp-ethereum/ethminer/main.cpp:39:
/home/visgean/p/cpp-ethereum/ethminer/../libethash-cl/CL/cl.hpp: In member function ‘cl_int cl::CommandQueue::enqueueTask(const cl::Kernel&, const std::vector<cl::Event>*, cl::Event*) const’:
/home/visgean/p/cpp-ethereum/ethminer/../libethash-cl/CL/cl.hpp:6329:15: warning: ‘cl_int clEnqueueTask(cl_command_queue, cl_kernel, cl_uint, _cl_event* const*, _cl_event**)’ is deprecated [-Wdeprecated-declarations]
::clEnqueueTask(
^~~~~~~~~~~~~
In file included from /usr/include/CL/opencl.h:42:0,
from /home/visgean/p/cpp-ethereum/ethminer/../libethash-cl/CL/cl.hpp:170,
from /home/visgean/p/cpp-ethereum/ethminer/../libethash-cl/ethash_cl_miner.h:12,
from /home/visgean/p/cpp-ethereum/ethminer/MinerAux.h:47,
from /home/visgean/p/cpp-ethereum/ethminer/main.cpp:39:
/usr/include/CL/cl.h:1373:1: note: declared here
clEnqueueTask(cl_command_queue /* command_queue */,
^~~~~~~~~~~~~
In file included from /home/visgean/p/cpp-ethereum/ethminer/../libethash-cl/ethash_cl_miner.h:12:0,
from /home/visgean/p/cpp-ethereum/ethminer/MinerAux.h:47,
from /home/visgean/p/cpp-ethereum/ethminer/main.cpp:39:
/home/visgean/p/cpp-ethereum/ethminer/../libethash-cl/CL/cl.hpp:6333:46: warning: ‘cl_int clEnqueueTask(cl_command_queue, cl_kernel, cl_uint, _cl_event* const*, _cl_event**)’ is deprecated [-Wdeprecated-declarations]
(event != NULL) ? &tmp : NULL),
^
In file included from /usr/include/CL/opencl.h:42:0,
from /home/visgean/p/cpp-ethereum/ethminer/../libethash-cl/CL/cl.hpp:170,
from /home/visgean/p/cpp-ethereum/ethminer/../libethash-cl/ethash_cl_miner.h:12,
from /home/visgean/p/cpp-ethereum/ethminer/MinerAux.h:47,
from /home/visgean/p/cpp-ethereum/ethminer/main.cpp:39:
/usr/include/CL/cl.h:1373:1: note: declared here
clEnqueueTask(cl_command_queue /* command_queue */,
^~~~~~~~~~~~~
In file included from /home/visgean/p/cpp-ethereum/ethminer/main.cpp:39:0:
/home/visgean/p/cpp-ethereum/ethminer/MinerAux.h: In member function ‘void MinerCLI::doStratum()’:
/home/visgean/p/cpp-ethereum/ethminer/MinerAux.h:1024:14: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
else if (client.waitState() == MINER_WAIT_STATE_WORK)
^
/home/visgean/p/cpp-ethereum/ethminer/MinerAux.h:1059:14: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
else if (client.waitState() == MINER_WAIT_STATE_WORK)
^
[100%] Linking CXX executable ethminer
../libethcore/libethcore.so: error: undefined reference to 'pthread_create'
../libstratum/libethstratum.so: error: undefined reference to 'pthread_join'
../libstratum/libethstratum.so: error: undefined reference to 'pthread_detach'
collect2: error: ld returned 1 exit status
ethminer/CMakeFiles/ethminer.dir/build.make:112: recipe for target 'ethminer/ethminer' failed
make[2]: *** [ethminer/ethminer] Error 1
CMakeFiles/Makefile2:436: recipe for target 'ethminer/CMakeFiles/ethminer.dir/all' failed
make[1]: *** [ethminer/CMakeFiles/ethminer.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment