hominoids / sgminer-arm

ARM Mali OpenCL GPU Miner
GNU General Public License v3.0
30 stars 19 forks source link

make install abborts with error #13

Open FeuerVogel666 opened 1 year ago

FeuerVogel666 commented 1 year ago

I followed every step of your "Manual" and got until make install threw an Error. I hope there is simply a mistake on my part and I can maybe get a little wink to do.

Here is the whole output:

`/opt/sgminer/sgminer-arm# make install fatal: No names found, cannot describe anything. Making install in lib make[1]: Entering directory '/opt/sgminer/sgminer-arm/lib' make install-recursive make[2]: Entering directory '/opt/sgminer/sgminer-arm/lib' make[3]: Entering directory '/opt/sgminer/sgminer-arm/lib' make[4]: Entering directory '/opt/sgminer/sgminer-arm/lib' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/opt/sgminer/sgminer-arm/lib' make[3]: Leaving directory '/opt/sgminer/sgminer-arm/lib' make[2]: Leaving directory '/opt/sgminer/sgminer-arm/lib' make[1]: Leaving directory '/opt/sgminer/sgminer-arm/lib' Making install in submodules make[1]: Entering directory '/opt/sgminer/sgminer-arm/submodules' Making install in jansson make[2]: Entering directory '/opt/sgminer/sgminer-arm/submodules/jansson' Making install in doc make[3]: Entering directory '/opt/sgminer/sgminer-arm/submodules/jansson/doc' make[4]: Entering directory '/opt/sgminer/sgminer-arm/submodules/jansson/doc' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/opt/sgminer/sgminer-arm/submodules/jansson/doc' make[3]: Leaving directory '/opt/sgminer/sgminer-arm/submodules/jansson/doc' Making install in src make[3]: Entering directory '/opt/sgminer/sgminer-arm/submodules/jansson/src' make[4]: Entering directory '/opt/sgminer/sgminer-arm/submodules/jansson/src' /usr/bin/mkdir -p '/usr/local/lib' /bin/bash ../libtool --mode=install /usr/bin/install -c libjansson.la '/usr/local/lib' libtool: install: /usr/bin/install -c .libs/libjansson.so.4.7.0 /usr/local/lib/libjansson.so.4.7.0 libtool: install: (cd /usr/local/lib && { ln -s -f libjansson.so.4.7.0 libjansson.so.4 || { rm -f libjansson.so.4 && ln -s libjansson.so.4.7.0 libjansson.so.4; }; }) libtool: install: (cd /usr/local/lib && { ln -s -f libjansson.so.4.7.0 libjansson.so || { rm -f libjansson.so && ln -s libjansson.so.4.7.0 libjansson.so; }; }) libtool: install: /usr/bin/install -c .libs/libjansson.lai /usr/local/lib/libjansson.la libtool: install: /usr/bin/install -c .libs/libjansson.a /usr/local/lib/libjansson.a libtool: install: chmod 644 /usr/local/lib/libjansson.a libtool: install: ranlib /usr/local/lib/libjansson.a libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/sbin" ldconfig -n /usr/local/lib

Libraries have been installed in: /usr/local/lib

If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the '-LLIBDIR' flag during linking and do at least one of the following:

See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages.

/usr/bin/mkdir -p '/usr/local/include' /usr/bin/install -c -m 644 jansson.h jansson_config.h '/usr/local/include' make[4]: Leaving directory '/opt/sgminer/sgminer-arm/submodules/jansson/src' make[3]: Leaving directory '/opt/sgminer/sgminer-arm/submodules/jansson/src' Making install in test make[3]: Entering directory '/opt/sgminer/sgminer-arm/submodules/jansson/test' Making install in bin make[4]: Entering directory '/opt/sgminer/sgminer-arm/submodules/jansson/test/bin' make[5]: Entering directory '/opt/sgminer/sgminer-arm/submodules/jansson/test/bin' make[5]: Nothing to be done for 'install-exec-am'. make[5]: Nothing to be done for 'install-data-am'. make[5]: Leaving directory '/opt/sgminer/sgminer-arm/submodules/jansson/test/bin' make[4]: Leaving directory '/opt/sgminer/sgminer-arm/submodules/jansson/test/bin' Making install in suites make[4]: Entering directory '/opt/sgminer/sgminer-arm/submodules/jansson/test/suites' Making install in api make[5]: Entering directory '/opt/sgminer/sgminer-arm/submodules/jansson/test/suites/api' make[6]: Entering directory '/opt/sgminer/sgminer-arm/submodules/jansson/test/suites/api' make[6]: Nothing to be done for 'install-exec-am'. make[6]: Nothing to be done for 'install-data-am'. make[6]: Leaving directory '/opt/sgminer/sgminer-arm/submodules/jansson/test/suites/api' make[5]: Leaving directory '/opt/sgminer/sgminer-arm/submodules/jansson/test/suites/api' make[5]: Entering directory '/opt/sgminer/sgminer-arm/submodules/jansson/test/suites' make[6]: Entering directory '/opt/sgminer/sgminer-arm/submodules/jansson/test/suites' make[6]: Nothing to be done for 'install-exec-am'. make[6]: Nothing to be done for 'install-data-am'. make[6]: Leaving directory '/opt/sgminer/sgminer-arm/submodules/jansson/test/suites' make[5]: Leaving directory '/opt/sgminer/sgminer-arm/submodules/jansson/test/suites' make[4]: Leaving directory '/opt/sgminer/sgminer-arm/submodules/jansson/test/suites' make[4]: Entering directory '/opt/sgminer/sgminer-arm/submodules/jansson/test' make[5]: Entering directory '/opt/sgminer/sgminer-arm/submodules/jansson/test' make[5]: Nothing to be done for 'install-exec-am'. make[5]: Nothing to be done for 'install-data-am'. make[5]: Leaving directory '/opt/sgminer/sgminer-arm/submodules/jansson/test' make[4]: Leaving directory '/opt/sgminer/sgminer-arm/submodules/jansson/test' make[3]: Leaving directory '/opt/sgminer/sgminer-arm/submodules/jansson/test' make[3]: Entering directory '/opt/sgminer/sgminer-arm/submodules/jansson' make[4]: Entering directory '/opt/sgminer/sgminer-arm/submodules/jansson' make[4]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/usr/local/lib/pkgconfig' /usr/bin/install -c -m 644 jansson.pc '/usr/local/lib/pkgconfig' make[4]: Leaving directory '/opt/sgminer/sgminer-arm/submodules/jansson' make[3]: Leaving directory '/opt/sgminer/sgminer-arm/submodules/jansson' make[2]: Leaving directory '/opt/sgminer/sgminer-arm/submodules/jansson' make[2]: Entering directory '/opt/sgminer/sgminer-arm/submodules' make[3]: Entering directory '/opt/sgminer/sgminer-arm/submodules' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/opt/sgminer/sgminer-arm/submodules' make[2]: Leaving directory '/opt/sgminer/sgminer-arm/submodules' make[1]: Leaving directory '/opt/sgminer/sgminer-arm/submodules' Making install in ccan make[1]: Entering directory '/opt/sgminer/sgminer-arm/ccan' make[2]: Entering directory '/opt/sgminer/sgminer-arm/ccan' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/opt/sgminer/sgminer-arm/ccan' make[1]: Leaving directory '/opt/sgminer/sgminer-arm/ccan' Making install in sph make[1]: Entering directory '/opt/sgminer/sgminer-arm/sph' make[2]: Entering directory '/opt/sgminer/sgminer-arm/sph' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/opt/sgminer/sgminer-arm/sph' make[1]: Leaving directory '/opt/sgminer/sgminer-arm/sph' make[1]: Entering directory '/opt/sgminer/sgminer-arm' fatal: No names found, cannot describe anything. CCLD sgminer /usr/bin/ld: sgminer-api.o:(.bss+0x98): multiple definition of opencl_drv'; sgminer-sgminer.o:(.bss+0xaf0): first defined here /usr/bin/ld: sgminer-util.o:(.bss+0x10): multiple definition ofopencl_drv'; sgminer-sgminer.o:(.bss+0xaf0): first defined here /usr/bin/ld: sgminer-logging.o:(.bss+0x10): multiple definition of opencl_drv'; sgminer-sgminer.o:(.bss+0xaf0): first defined here /usr/bin/ld: sgminer-driver-opencl.o:(.data.rel.local+0x0): multiple definition ofopencl_drv'; sgminer-sgminer.o:(.bss+0xaf0): first defined here /usr/bin/ld: sgminer-ocl.o:(.bss+0x0): multiple definition of opencl_drv'; sgminer-sgminer.o:(.bss+0xaf0): first defined here /usr/bin/ld: sgminer-findnonce.o:(.bss+0x0): multiple definition ofopencl_drv'; sgminer-sgminer.o:(.bss+0xaf0): first defined here /usr/bin/ld: sgminer-adl.o:(.bss+0x8): multiple definition of opencl_drv'; sgminer-sgminer.o:(.bss+0xaf0): first defined here /usr/bin/ld: sgminer-sysfs-gpu-controls.o:(.bss+0x8): multiple definition ofopencl_drv'; sgminer-sgminer.o:(.bss+0xaf0): first defined here /usr/bin/ld: sgminer-pool.o:(.bss+0x0): multiple definition of opencl_drv'; sgminer-sgminer.o:(.bss+0xaf0): first defined here /usr/bin/ld: sgminer-algorithm.o:(.bss+0x0): multiple definition ofopencl_drv'; sgminer-sgminer.o:(.bss+0xaf0): first defined here /usr/bin/ld: sgminer-config_parser.o:(.bss+0x1b8): multiple definition of opencl_drv'; sgminer-sgminer.o:(.bss+0xaf0): first defined here /usr/bin/ld: sgminer-events.o:(.bss+0x8): multiple definition ofopencl_drv'; sgminer-sgminer.o:(.bss+0xaf0): first defined here /usr/bin/ld: ocl/sgminer-build_kernel.o:(.bss+0x0): multiple definition of opencl_drv'; sgminer-sgminer.o:(.bss+0xaf0): first defined here /usr/bin/ld: ocl/sgminer-binary_kernel.o:(.bss+0x0): multiple definition ofopencl_drv'; sgminer-sgminer.o:(.bss+0xaf0): first defined here /usr/bin/ld: algorithm/sgminer-scrypt.o:(.bss+0x0): multiple definition of opencl_drv'; sgminer-sgminer.o:(.bss+0xaf0): first defined here /usr/bin/ld: algorithm/sgminer-darkcoin.o:(.bss+0xa38): multiple definition ofopencl_drv'; sgminer-sgminer.o:(.bss+0xaf0): first defined here /usr/bin/ld: algorithm/sgminer-qubitcoin.o:(.bss+0x460): multiple definition of opencl_drv'; sgminer-sgminer.o:(.bss+0xaf0): first defined here /usr/bin/ld: algorithm/sgminer-quarkcoin.o:(.bss+0x0): multiple definition ofopencl_drv'; sgminer-sgminer.o:(.bss+0xaf0): first defined here /usr/bin/ld: algorithm/sgminer-myriadcoin-groestl.o:(.bss+0x0): multiple definition of opencl_drv'; sgminer-sgminer.o:(.bss+0xaf0): first defined here /usr/bin/ld: algorithm/sgminer-fuguecoin.o:(.bss+0x0): multiple definition ofopencl_drv'; sgminer-sgminer.o:(.bss+0xaf0): first defined here /usr/bin/ld: algorithm/sgminer-inkcoin.o:(.bss+0xa38): multiple definition of opencl_drv'; sgminer-sgminer.o:(.bss+0xaf0): first defined here /usr/bin/ld: algorithm/sgminer-animecoin.o:(.bss+0x0): multiple definition ofopencl_drv'; sgminer-sgminer.o:(.bss+0xaf0): first defined here /usr/bin/ld: algorithm/sgminer-groestlcoin.o:(.bss+0x0): multiple definition of opencl_drv'; sgminer-sgminer.o:(.bss+0xaf0): first defined here /usr/bin/ld: algorithm/sgminer-sifcoin.o:(.bss+0x0): multiple definition ofopencl_drv'; sgminer-sgminer.o:(.bss+0xaf0): first defined here /usr/bin/ld: algorithm/sgminer-twecoin.o:(.bss+0x0): multiple definition of opencl_drv'; sgminer-sgminer.o:(.bss+0xaf0): first defined here /usr/bin/ld: algorithm/sgminer-marucoin.o:(.bss+0xb38): multiple definition ofopencl_drv'; sgminer-sgminer.o:(.bss+0xaf0): first defined here /usr/bin/ld: algorithm/sgminer-maxcoin.o:(.bss+0x0): multiple definition of opencl_drv'; sgminer-sgminer.o:(.bss+0xaf0): first defined here /usr/bin/ld: algorithm/sgminer-talkcoin.o:(.bss+0x4c8): multiple definition ofopencl_drv'; sgminer-sgminer.o:(.bss+0xaf0): first defined here /usr/bin/ld: algorithm/sgminer-bitblock.o:(.bss+0xcc0): multiple definition of opencl_drv'; sgminer-sgminer.o:(.bss+0xaf0): first defined here /usr/bin/ld: algorithm/sgminer-x14.o:(.bss+0xc38): multiple definition ofopencl_drv'; sgminer-sgminer.o:(.bss+0xaf0): first defined here /usr/bin/ld: algorithm/sgminer-fresh.o:(.bss+0x0): multiple definition of base_contexts'; algorithm/sgminer-qubitcoin.o:(.bss+0x0): first defined here /usr/bin/ld: algorithm/sgminer-fresh.o:(.bss+0x5f0): multiple definition ofopencl_drv'; sgminer-sgminer.o:(.bss+0xaf0): first defined here /usr/bin/ld: algorithm/sgminer-whirlcoin.o:(.bss+0x0): multiple definition of base_contexts'; algorithm/sgminer-qubitcoin.o:(.bss+0x0): first defined here /usr/bin/ld: algorithm/sgminer-whirlcoin.o:(.bss+0x220): multiple definition ofopencl_drv'; sgminer-sgminer.o:(.bss+0xaf0): first defined here /usr/bin/ld: algorithm/sgminer-neoscrypt.o:(.bss+0x0): multiple definition of opencl_drv'; sgminer-sgminer.o:(.bss+0xaf0): first defined here /usr/bin/ld: algorithm/sgminer-whirlpoolx.o:(.bss+0x0): multiple definition ofopencl_drv'; sgminer-sgminer.o:(.bss+0xaf0): first defined here /usr/bin/ld: algorithm/sgminer-lyra2re.o:(.bss+0x0): multiple definition of opencl_drv'; sgminer-sgminer.o:(.bss+0xaf0): first defined here /usr/bin/ld: algorithm/sgminer-lyra2rev2.o:(.bss+0x0): multiple definition ofopencl_drv'; sgminer-sgminer.o:(.bss+0xaf0): first defined here /usr/bin/ld: algorithm/sgminer-pluck.o:(.bss+0x0): multiple definition of opencl_drv'; sgminer-sgminer.o:(.bss+0xaf0): first defined here /usr/bin/ld: algorithm/sgminer-credits.o:(.bss+0x0): multiple definition ofopencl_drv'; sgminer-sgminer.o:(.bss+0xaf0): first defined here /usr/bin/ld: algorithm/sgminer-yescrypt.o:(.bss+0x0): multiple definition of opencl_drv'; sgminer-sgminer.o:(.bss+0xaf0): first defined here /usr/bin/ld: algorithm/sgminer-blake256.o:(.bss+0x0): multiple definition ofopencl_drv'; sgminer-sgminer.o:(.bss+0xaf0): first defined here /usr/bin/ld: algorithm/sgminer-blakecoin.o:(.bss+0x0): multiple definition of opencl_drv'; sgminer-sgminer.o:(.bss+0xaf0): first defined here /usr/bin/ld: algorithm/sgminer-ethash.o:(.bss+0x0): multiple definition ofopencl_drv'; sgminer-sgminer.o:(.bss+0xaf0): first defined here /usr/bin/ld: algorithm/sgminer-ethgencache.o:(.bss+0x0): multiple definition of opencl_drv'; sgminer-sgminer.o:(.bss+0xaf0): first defined here /usr/bin/ld: algorithm/sgminer-cryptonight.o:(.bss+0x0): multiple definition ofopencl_drv'; sgminer-sgminer.o:(.bss+0xaf0): first defined here /usr/bin/ld: algorithm/sgminer-equihash.o:(.bss+0x0): multiple definition of opencl_drv'; sgminer-sgminer.o:(.bss+0xaf0): first defined here /usr/bin/ld: sgminer-gbt-util.o:(.bss+0x0): multiple definition ofopencl_drv'; sgminer-sgminer.o:(.bss+0xaf0): first defined here /usr/bin/ld: sgminer-sgminer.o: in function set_current_pool': sgminer.c:(.text+0x4254): undefined reference toclReleaseMemObject' /usr/bin/ld: sgminer-driver-opencl.o: in function opencl_thread_shutdown': driver-opencl.c:(.text+0x44): undefined reference toclFinish' /usr/bin/ld: driver-opencl.c:(.text+0x4a): undefined reference to clReleaseMemObject' /usr/bin/ld: driver-opencl.c:(.text+0x50): undefined reference toclReleaseMemObject' /usr/bin/ld: driver-opencl.c:(.text+0x58): undefined reference to clReleaseMemObject' /usr/bin/ld: driver-opencl.c:(.text+0x60): undefined reference toclReleaseMemObject' /usr/bin/ld: driver-opencl.c:(.text+0x68): undefined reference to clReleaseMemObject' /usr/bin/ld: sgminer-driver-opencl.o:driver-opencl.c:(.text+0x70): more undefined references toclReleaseMemObject' follow /usr/bin/ld: sgminer-driver-opencl.o: in function opencl_thread_shutdown': driver-opencl.c:(.text+0xb4): undefined reference toclReleaseKernel' /usr/bin/ld: driver-opencl.c:(.text+0xc0): undefined reference to clReleaseProgram' /usr/bin/ld: driver-opencl.c:(.text+0xc6): undefined reference toclReleaseCommandQueue' /usr/bin/ld: driver-opencl.c:(.text+0xcc): undefined reference to clReleaseContext' /usr/bin/ld: driver-opencl.c:(.text+0xec): undefined reference toclReleaseKernel' /usr/bin/ld: sgminer-driver-opencl.o: in function opencl_thread_init': driver-opencl.c:(.text+0x174): undefined reference toclEnqueueWriteBuffer' /usr/bin/ld: sgminer-driver-opencl.o: in function opencl_scanhash': driver-opencl.c:(.text+0xd84): undefined reference toclEnqueueReadBuffer' /usr/bin/ld: driver-opencl.c:(.text+0x1004): undefined reference to clEnqueueWriteBuffer' /usr/bin/ld: driver-opencl.c:(.text+0x1036): undefined reference toclFinish' /usr/bin/ld: driver-opencl.c:(.text+0x1056): undefined reference to clEnqueueNDRangeKernel' /usr/bin/ld: driver-opencl.c:(.text+0x107c): undefined reference toclEnqueueNDRangeKernel' /usr/bin/ld: driver-opencl.c:(.text+0x10a0): undefined reference to clEnqueueNDRangeKernel' /usr/bin/ld: driver-opencl.c:(.text+0x10d2): undefined reference toclEnqueueReadBuffer' /usr/bin/ld: driver-opencl.c:(.text+0x10fc): undefined reference to clFinish' /usr/bin/ld: driver-opencl.c:(.text+0x1120): undefined reference toclSetKernelArg' /usr/bin/ld: driver-opencl.c:(.text+0x115e): undefined reference to clEnqueueNDRangeKernel' /usr/bin/ld: driver-opencl.c:(.text+0x1198): undefined reference toclEnqueueReadBuffer' /usr/bin/ld: driver-opencl.c:(.text+0x11e6): undefined reference to clEnqueueNDRangeKernel' /usr/bin/ld: driver-opencl.c:(.text+0x1236): undefined reference toclEnqueueNDRangeKernel' /usr/bin/ld: driver-opencl.c:(.text+0x125a): undefined reference to clFinish' /usr/bin/ld: driver-opencl.c:(.text+0x12aa): undefined reference toclEnqueueWriteBuffer' /usr/bin/ld: sgminer-ocl.o: in function get_opencl_version': ocl.c:(.text+0x2e): undefined reference toclGetDeviceInfo' /usr/bin/ld: sgminer-ocl.o: in function get_opencl_platform': ocl.c:(.text+0xe2): undefined reference toclGetPlatformIDs' /usr/bin/ld: ocl.c:(.text+0x146): undefined reference to clGetPlatformIDs' /usr/bin/ld: sgminer-ocl.o: in functionclDevicesNum': ocl.c:(.text+0x1e8): undefined reference to clGetPlatformInfo' /usr/bin/ld: ocl.c:(.text+0x21c): undefined reference toclGetPlatformInfo' /usr/bin/ld: ocl.c:(.text+0x23e): undefined reference to clGetPlatformInfo' /usr/bin/ld: ocl.c:(.text+0x260): undefined reference toclGetDeviceIDs' /usr/bin/ld: ocl.c:(.text+0x2a6): undefined reference to clGetDeviceIDs' /usr/bin/ld: ocl.c:(.text+0x2f2): undefined reference toclGetDeviceInfo' /usr/bin/ld: ocl.c:(.text+0x314): undefined reference to clGetDeviceInfo' /usr/bin/ld: sgminer-ocl.o: in functioninitCl': ocl.c:(.text+0x44a): undefined reference to clGetDeviceIDs' /usr/bin/ld: ocl.c:(.text+0x4c2): undefined reference toclCreateContextFromType' /usr/bin/ld: ocl.c:(.text+0x4e6): undefined reference to clGetDeviceInfo' /usr/bin/ld: ocl.c:(.text+0x51a): undefined reference toclGetDeviceInfo' /usr/bin/ld: ocl.c:(.text+0x562): undefined reference to clCreateCommandQueue' /usr/bin/ld: ocl.c:(.text+0x57e): undefined reference toclCreateCommandQueue' /usr/bin/ld: ocl.c:(.text+0x5ae): undefined reference to clGetDeviceInfo' /usr/bin/ld: ocl.c:(.text+0x5e4): undefined reference toclGetDeviceInfo' /usr/bin/ld: ocl.c:(.text+0x61c): undefined reference to clGetDeviceInfo' /usr/bin/ld: ocl.c:(.text+0x682): undefined reference toclGetDeviceInfo' /usr/bin/ld: ocl.c:(.text+0xa26): undefined reference to clCreateKernel' /usr/bin/ld: ocl.c:(.text+0xf6c): undefined reference toclCreateBuffer' /usr/bin/ld: ocl.c:(.text+0xfc0): undefined reference to clCreateBuffer' /usr/bin/ld: ocl.c:(.text+0xfe8): undefined reference toclCreateBuffer' /usr/bin/ld: ocl.c:(.text+0x1012): undefined reference to clCreateBuffer' /usr/bin/ld: ocl.c:(.text+0x103e): undefined reference toclCreateBuffer' /usr/bin/ld: sgminer-ocl.o:ocl.c:(.text+0x106a): more undefined references to clCreateBuffer' follow /usr/bin/ld: sgminer-ocl.o: in functioninitCl': ocl.c:(.text+0x10ee): undefined reference to clSetKernelArg' /usr/bin/ld: ocl.c:(.text+0x1102): undefined reference toclSetKernelArg' /usr/bin/ld: ocl.c:(.text+0x1118): undefined reference to clSetKernelArg' /usr/bin/ld: ocl.c:(.text+0x1132): undefined reference toclSetKernelArg' /usr/bin/ld: ocl.c:(.text+0x1158): undefined reference to clSetKernelArg' /usr/bin/ld: sgminer-ocl.o:ocl.c:(.text+0x116a): more undefined references toclSetKernelArg' follow /usr/bin/ld: sgminer-ocl.o: in function initCl': ocl.c:(.text+0x1244): undefined reference toclCreateKernel' /usr/bin/ld: ocl.c:(.text+0x126c): undefined reference to clSetKernelArg' /usr/bin/ld: ocl.c:(.text+0x1282): undefined reference toclSetKernelArg' /usr/bin/ld: ocl.c:(.text+0x12a6): undefined reference to clSetKernelArg' /usr/bin/ld: ocl.c:(.text+0x12c4): undefined reference toclSetKernelArg' /usr/bin/ld: ocl.c:(.text+0x1322): undefined reference to clCreateKernel' /usr/bin/ld: ocl.c:(.text+0x138a): undefined reference toclCreateKernel' /usr/bin/ld: ocl.c:(.text+0x13c2): undefined reference to clCreateKernel' /usr/bin/ld: ocl.c:(.text+0x1494): undefined reference toclCreateBuffer' /usr/bin/ld: ocl.c:(.text+0x1534): undefined reference to clCreateBuffer' /usr/bin/ld: ocl.c:(.text+0x155a): undefined reference toclCreateBuffer' /usr/bin/ld: ocl.c:(.text+0x1580): undefined reference to clCreateBuffer' /usr/bin/ld: ocl.c:(.text+0x159a): undefined reference toclCreateBuffer' /usr/bin/ld: sgminer-ocl.o:ocl.c:(.text+0x15be): more undefined references to clCreateBuffer' follow /usr/bin/ld: sgminer-algorithm.o: in functionqueue_equihash_kernel': algorithm.c:(.text+0x11c): undefined reference to clEnqueueWriteBuffer' /usr/bin/ld: algorithm.c:(.text+0x140): undefined reference toclEnqueueWriteBuffer' /usr/bin/ld: algorithm.c:(.text+0x16a): undefined reference to clSetKernelArg' /usr/bin/ld: algorithm.c:(.text+0x182): undefined reference toclSetKernelArg' /usr/bin/ld: algorithm.c:(.text+0x194): undefined reference to clSetKernelArg' /usr/bin/ld: algorithm.c:(.text+0x1a6): undefined reference toclSetKernelArg' /usr/bin/ld: algorithm.c:(.text+0x1ca): undefined reference to clEnqueueNDRangeKernel' /usr/bin/ld: algorithm.c:(.text+0x206): undefined reference toclEnqueueNDRangeKernel' /usr/bin/ld: algorithm.c:(.text+0x234): undefined reference to clEnqueueNDRangeKernel' /usr/bin/ld: algorithm.c:(.text+0x258): undefined reference toclEnqueueNDRangeKernel' /usr/bin/ld: sgminer-algorithm.o: in function queue_yescrypt_multikernel': algorithm.c:(.text+0x2e4): undefined reference toclEnqueueWriteBuffer' /usr/bin/ld: algorithm.c:(.text+0x2f2): undefined reference to clSetKernelArg' /usr/bin/ld: algorithm.c:(.text+0x304): undefined reference toclSetKernelArg' /usr/bin/ld: algorithm.c:(.text+0x312): undefined reference to clSetKernelArg' /usr/bin/ld: algorithm.c:(.text+0x320): undefined reference toclSetKernelArg' /usr/bin/ld: algorithm.c:(.text+0x32e): undefined reference to clSetKernelArg' /usr/bin/ld: sgminer-algorithm.o:algorithm.c:(.text+0x340): more undefined references toclSetKernelArg' follow /usr/bin/ld: sgminer-algorithm.o: in function queue_credits_kernel': algorithm.c:(.text+0x4b6): undefined reference toclEnqueueWriteBuffer' /usr/bin/ld: algorithm.c:(.text+0x4c6): undefined reference to clSetKernelArg' /usr/bin/ld: algorithm.c:(.text+0x4d6): undefined reference toclSetKernelArg' /usr/bin/ld: algorithm.c:(.text+0x4e4): undefined reference to clSetKernelArg' /usr/bin/ld: algorithm.c:(.text+0x4f6): undefined reference toclSetKernelArg' /usr/bin/ld: sgminer-algorithm.o: in function queue_neoscrypt_kernel': algorithm.c:(.text+0x566): undefined reference toclEnqueueWriteBuffer' /usr/bin/ld: algorithm.c:(.text+0x576): undefined reference to clSetKernelArg' /usr/bin/ld: algorithm.c:(.text+0x586): undefined reference toclSetKernelArg' /usr/bin/ld: algorithm.c:(.text+0x596): undefined reference to clSetKernelArg' /usr/bin/ld: algorithm.c:(.text+0x5a4): undefined reference toclSetKernelArg' /usr/bin/ld: sgminer-algorithm.o: in function queue_scrypt_kernel': algorithm.c:(.text+0x618): undefined reference toclEnqueueWriteBuffer' /usr/bin/ld: algorithm.c:(.text+0x628): undefined reference to clSetKernelArg' /usr/bin/ld: algorithm.c:(.text+0x638): undefined reference toclSetKernelArg' /usr/bin/ld: algorithm.c:(.text+0x648): undefined reference to clSetKernelArg' /usr/bin/ld: algorithm.c:(.text+0x658): undefined reference toclSetKernelArg' /usr/bin/ld: algorithm.c:(.text+0x668): undefined reference to clSetKernelArg' /usr/bin/ld: sgminer-algorithm.o:algorithm.c:(.text+0x676): more undefined references toclSetKernelArg' follow /usr/bin/ld: sgminer-algorithm.o: in function queue_blake_kernel': algorithm.c:(.text+0x6e0): undefined reference toclEnqueueWriteBuffer' /usr/bin/ld: algorithm.c:(.text+0x6f0): undefined reference to clSetKernelArg' /usr/bin/ld: algorithm.c:(.text+0x704): undefined reference toclSetKernelArg' /usr/bin/ld: algorithm.c:(.text+0x718): undefined reference to clSetKernelArg' /usr/bin/ld: algorithm.c:(.text+0x72c): undefined reference toclSetKernelArg' /usr/bin/ld: algorithm.c:(.text+0x740): undefined reference to clSetKernelArg' /usr/bin/ld: sgminer-algorithm.o:algorithm.c:(.text+0x754): more undefined references toclSetKernelArg' follow /usr/bin/ld: sgminer-algorithm.o: in function queue_whirlcoin_kernel': algorithm.c:(.text+0x81a): undefined reference toclEnqueueWriteBuffer' /usr/bin/ld: algorithm.c:(.text+0x82a): undefined reference to clSetKernelArg' /usr/bin/ld: algorithm.c:(.text+0x838): undefined reference toclSetKernelArg' /usr/bin/ld: algorithm.c:(.text+0x848): undefined reference to clSetKernelArg' /usr/bin/ld: algorithm.c:(.text+0x856): undefined reference toclSetKernelArg' /usr/bin/ld: algorithm.c:(.text+0x864): undefined reference to clSetKernelArg' /usr/bin/ld: sgminer-algorithm.o:algorithm.c:(.text+0x874): more undefined references toclSetKernelArg' follow /usr/bin/ld: sgminer-algorithm.o: in function queue_lyra2rev2_kernel': algorithm.c:(.text+0x8fa): undefined reference toclEnqueueWriteBuffer' /usr/bin/ld: algorithm.c:(.text+0x908): undefined reference to clSetKernelArg' /usr/bin/ld: algorithm.c:(.text+0x91c): undefined reference toclSetKernelArg' /usr/bin/ld: algorithm.c:(.text+0x930): undefined reference to clSetKernelArg' /usr/bin/ld: algorithm.c:(.text+0x944): undefined reference toclSetKernelArg' /usr/bin/ld: algorithm.c:(.text+0x958): undefined reference to clSetKernelArg' /usr/bin/ld: sgminer-algorithm.o:algorithm.c:(.text+0x96c): more undefined references toclSetKernelArg' follow /usr/bin/ld: sgminer-algorithm.o: in function queue_lyra2re_kernel': algorithm.c:(.text+0xade): undefined reference toclEnqueueWriteBuffer' /usr/bin/ld: algorithm.c:(.text+0xaec): undefined reference to clSetKernelArg' /usr/bin/ld: algorithm.c:(.text+0xb00): undefined reference toclSetKernelArg' /usr/bin/ld: algorithm.c:(.text+0xb14): undefined reference to clSetKernelArg' /usr/bin/ld: algorithm.c:(.text+0xb28): undefined reference toclSetKernelArg' /usr/bin/ld: algorithm.c:(.text+0xb3c): undefined reference to clSetKernelArg' /usr/bin/ld: sgminer-algorithm.o:algorithm.c:(.text+0xb50): more undefined references toclSetKernelArg' follow /usr/bin/ld: sgminer-algorithm.o: in function queue_talkcoin_mod_kernel': algorithm.c:(.text+0xc94): undefined reference toclEnqueueWriteBuffer' /usr/bin/ld: algorithm.c:(.text+0xca4): undefined reference to clSetKernelArg' /usr/bin/ld: algorithm.c:(.text+0xcb2): undefined reference toclSetKernelArg' /usr/bin/ld: algorithm.c:(.text+0xcc2): undefined reference to clSetKernelArg' /usr/bin/ld: algorithm.c:(.text+0xcd0): undefined reference toclSetKernelArg' /usr/bin/ld: algorithm.c:(.text+0xcde): undefined reference to clSetKernelArg' /usr/bin/ld: sgminer-algorithm.o:algorithm.c:(.text+0xcec): more undefined references toclSetKernelArg' follow /usr/bin/ld: sgminer-algorithm.o: in function queue_bitblock_kernel': algorithm.c:(.text+0xd82): undefined reference toclEnqueueWriteBuffer' /usr/bin/ld: algorithm.c:(.text+0xd92): undefined reference to clSetKernelArg' /usr/bin/ld: algorithm.c:(.text+0xda0): undefined reference toclSetKernelArg' /usr/bin/ld: algorithm.c:(.text+0xdb0): undefined reference to clSetKernelArg' /usr/bin/ld: algorithm.c:(.text+0xdbe): undefined reference toclSetKernelArg' /usr/bin/ld: algorithm.c:(.text+0xdcc): undefined reference to clSetKernelArg' /usr/bin/ld: sgminer-algorithm.o:algorithm.c:(.text+0xdda): more undefined references toclSetKernelArg' follow /usr/bin/ld: sgminer-algorithm.o: in function queue_x14_kernel': algorithm.c:(.text+0xef8): undefined reference toclEnqueueWriteBuffer' /usr/bin/ld: algorithm.c:(.text+0xf08): undefined reference to clSetKernelArg' /usr/bin/ld: algorithm.c:(.text+0xf16): undefined reference toclSetKernelArg' /usr/bin/ld: algorithm.c:(.text+0xf26): undefined reference to clSetKernelArg' /usr/bin/ld: algorithm.c:(.text+0xf34): undefined reference toclSetKernelArg' /usr/bin/ld: algorithm.c:(.text+0xf42): undefined reference to clSetKernelArg' /usr/bin/ld: sgminer-algorithm.o:algorithm.c:(.text+0xf50): more undefined references toclSetKernelArg' follow /usr/bin/ld: sgminer-algorithm.o: in function queue_marucoin_mod_kernel': algorithm.c:(.text+0x1060): undefined reference toclEnqueueWriteBuffer' /usr/bin/ld: algorithm.c:(.text+0x1070): undefined reference to clSetKernelArg' /usr/bin/ld: algorithm.c:(.text+0x107e): undefined reference toclSetKernelArg' /usr/bin/ld: algorithm.c:(.text+0x108e): undefined reference to clSetKernelArg' /usr/bin/ld: algorithm.c:(.text+0x109c): undefined reference toclSetKernelArg' /usr/bin/ld: algorithm.c:(.text+0x10aa): undefined reference to clSetKernelArg' /usr/bin/ld: sgminer-algorithm.o:algorithm.c:(.text+0x10b8): more undefined references toclSetKernelArg' follow /usr/bin/ld: sgminer-algorithm.o: in function queue_darkcoin_mod_kernel': algorithm.c:(.text+0x11bc): undefined reference toclEnqueueWriteBuffer' /usr/bin/ld: algorithm.c:(.text+0x11cc): undefined reference to clSetKernelArg' /usr/bin/ld: algorithm.c:(.text+0x11da): undefined reference toclSetKernelArg' /usr/bin/ld: algorithm.c:(.text+0x11ea): undefined reference to clSetKernelArg' /usr/bin/ld: algorithm.c:(.text+0x11f8): undefined reference toclSetKernelArg' /usr/bin/ld: algorithm.c:(.text+0x1206): undefined reference to clSetKernelArg' /usr/bin/ld: sgminer-algorithm.o:algorithm.c:(.text+0x1214): more undefined references toclSetKernelArg' follow /usr/bin/ld: sgminer-algorithm.o: in function queue_maxcoin_kernel': algorithm.c:(.text+0x12e4): undefined reference toclEnqueueWriteBuffer' /usr/bin/ld: algorithm.c:(.text+0x12f4): undefined reference to clSetKernelArg' /usr/bin/ld: algorithm.c:(.text+0x1304): undefined reference toclSetKernelArg' /usr/bin/ld: sgminer-algorithm.o: in function queue_sph_kernel': algorithm.c:(.text+0x134c): undefined reference toclEnqueueWriteBuffer' /usr/bin/ld: algorithm.c:(.text+0x135c): undefined reference to clSetKernelArg' /usr/bin/ld: algorithm.c:(.text+0x136c): undefined reference toclSetKernelArg' /usr/bin/ld: algorithm.c:(.text+0x137a): undefined reference to clSetKernelArg' /usr/bin/ld: sgminer-algorithm.o: in functionqueue_yescrypt_kernel': algorithm.c:(.text+0x13e4): undefined reference to clEnqueueWriteBuffer' /usr/bin/ld: algorithm.c:(.text+0x13f4): undefined reference toclSetKernelArg' /usr/bin/ld: algorithm.c:(.text+0x1404): undefined reference to clSetKernelArg' /usr/bin/ld: algorithm.c:(.text+0x1414): undefined reference toclSetKernelArg' /usr/bin/ld: algorithm.c:(.text+0x1424): undefined reference to clSetKernelArg' /usr/bin/ld: algorithm.c:(.text+0x1434): undefined reference toclSetKernelArg' /usr/bin/ld: sgminer-algorithm.o:algorithm.c:(.text+0x1442): more undefined references to clSetKernelArg' follow /usr/bin/ld: sgminer-algorithm.o: in functionqueue_pluck_kernel': algorithm.c:(.text+0x14ac): undefined reference to clEnqueueWriteBuffer' /usr/bin/ld: algorithm.c:(.text+0x14bc): undefined reference toclSetKernelArg' /usr/bin/ld: algorithm.c:(.text+0x14cc): undefined reference to clSetKernelArg' /usr/bin/ld: algorithm.c:(.text+0x14dc): undefined reference toclSetKernelArg' /usr/bin/ld: algorithm.c:(.text+0x14ea): undefined reference to clSetKernelArg' /usr/bin/ld: sgminer-algorithm.o: in functionqueue_whirlpoolx_kernel': algorithm.c:(.text+0x1936): undefined reference to clSetKernelArg' /usr/bin/ld: sgminer-algorithm.o:algorithm.c:(.text+0x1944): more undefined references toclSetKernelArg' follow /usr/bin/ld: sgminer-algorithm.o: in function queue_cryptonight_kernel': algorithm.c:(.text+0x1df2): undefined reference toclReleaseKernel' /usr/bin/ld: algorithm.c:(.text+0x1dfe): undefined reference to clCreateKernel' /usr/bin/ld: algorithm.c:(.text+0x1e6e): undefined reference toclEnqueueWriteBuffer' /usr/bin/ld: algorithm.c:(.text+0x1e7e): undefined reference to clSetKernelArg' /usr/bin/ld: algorithm.c:(.text+0x1e96): undefined reference toclSetKernelArg' /usr/bin/ld: algorithm.c:(.text+0x1ea8): undefined reference to clSetKernelArg' /usr/bin/ld: algorithm.c:(.text+0x1eba): undefined reference toclSetKernelArg' /usr/bin/ld: algorithm.c:(.text+0x1ece): undefined reference to clSetKernelArg' /usr/bin/ld: sgminer-algorithm.o:algorithm.c:(.text+0x1ee0): more undefined references toclSetKernelArg' follow /usr/bin/ld: sgminer-algorithm.o: in function queue_ethash_kernel': algorithm.c:(.text+0x2260): undefined reference toclReleaseMemObject' /usr/bin/ld: algorithm.c:(.text+0x2290): undefined reference to clCreateBuffer' /usr/bin/ld: algorithm.c:(.text+0x2322): undefined reference toclCreateBuffer' /usr/bin/ld: algorithm.c:(.text+0x2338): undefined reference to clReleaseMemObject' /usr/bin/ld: algorithm.c:(.text+0x2364): undefined reference toclSetKernelArg' /usr/bin/ld: algorithm.c:(.text+0x2376): undefined reference to clSetKernelArg' /usr/bin/ld: algorithm.c:(.text+0x238a): undefined reference toclSetKernelArg' /usr/bin/ld: algorithm.c:(.text+0x239c): undefined reference to clSetKernelArg' /usr/bin/ld: algorithm.c:(.text+0x23ae): undefined reference toclSetKernelArg' /usr/bin/ld: algorithm.c:(.text+0x23f8): undefined reference to clEnqueueNDRangeKernel' /usr/bin/ld: algorithm.c:(.text+0x2404): undefined reference toclFinish' /usr/bin/ld: algorithm.c:(.text+0x240a): undefined reference to clReleaseMemObject' /usr/bin/ld: algorithm.c:(.text+0x249c): undefined reference toclEnqueueWriteBuffer' /usr/bin/ld: algorithm.c:(.text+0x24b0): undefined reference to clSetKernelArg' /usr/bin/ld: algorithm.c:(.text+0x24c4): undefined reference toclSetKernelArg' /usr/bin/ld: algorithm.c:(.text+0x24d8): undefined reference to clSetKernelArg' /usr/bin/ld: algorithm.c:(.text+0x24ea): undefined reference toclSetKernelArg' /usr/bin/ld: algorithm.c:(.text+0x2502): undefined reference to clSetKernelArg' /usr/bin/ld: sgminer-algorithm.o:algorithm.c:(.text+0x2514): more undefined references toclSetKernelArg' follow /usr/bin/ld: ocl/sgminer-build_kernel.o: in function build_opencl_kernel': build_kernel.c:(.text+0x31e): undefined reference toclCreateProgramWithSource' /usr/bin/ld: build_kernel.c:(.text+0x374): undefined reference to clBuildProgram' /usr/bin/ld: build_kernel.c:(.text+0x39e): undefined reference toclGetProgramBuildInfo' /usr/bin/ld: build_kernel.c:(.text+0x3c4): undefined reference to clGetProgramBuildInfo' /usr/bin/ld: ocl/sgminer-build_kernel.o: in functionsave_opencl_kernel': build_kernel.c:(.text+0x43c): undefined reference to clGetProgramInfo' /usr/bin/ld: build_kernel.c:(.text+0x462): undefined reference toclGetProgramInfo' /usr/bin/ld: build_kernel.c:(.text+0x4c4): undefined reference to clGetProgramInfo' /usr/bin/ld: ocl/sgminer-binary_kernel.o: in functionload_opencl_binary_kernel': binary_kernel.c:(.text+0x10c): undefined reference to clCreateProgramWithBinary' /usr/bin/ld: binary_kernel.c:(.text+0x140): undefined reference toclBuildProgram' /usr/bin/ld: binary_kernel.c:(.text+0x16e): undefined reference to clGetProgramBuildInfo' /usr/bin/ld: binary_kernel.c:(.text+0x196): undefined reference toclGetProgramBuildInfo' /usr/bin/ld: binary_kernel.c:(.text+0x1ba): undefined reference to clReleaseProgram' collect2: error: ld returned 1 exit status make[1]: *** [Makefile:905: sgminer] Error 1 make[1]: Leaving directory '/opt/sgminer/sgminer-arm' make: *** [Makefile:1777: install-recursive] Error 1