Bitcoin Forum
June 20, 2024, 03:16:50 AM *
News: Voting for pizza day contest
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Alternate cryptocurrencies / Mining (Altcoins) / Re: clDevicesNum returned error, no GPUs usable (Sgminer, Linux) on: October 08, 2014, 02:05:40 PM
-bump-

Anyone have an idea?
2  Alternate cryptocurrencies / Mining (Altcoins) / Re: clDevicesNum returned error, no GPUs usable (Sgminer, Linux) on: October 05, 2014, 11:59:13 PM
Here's the my log when I install amd app sdk:
Code:
========================================
Installing AMD APP SDK version 2.9...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  142M  100  142M    0     0  2367k      0  0:01:01  0:01:01 --:--:-- 2627k
AMD-APP-SDK-v2.9-RC-lnx64.tgz
default-install_lnx_64.pl
icd-registration.tgz
Install-AMD-APP.sh
ReadMe.txt
...
‘lib/x86_64/libamdocl64.so’ -> ‘/usr/lib/libamdocl64.so’
‘lib/x86_64/libGLEW.so’ -> ‘/usr/lib/libGLEW.so’
‘lib/x86_64/libglut.so’ -> ‘/usr/lib/libglut.so’
‘lib/x86_64/libOpenCL.so’ -> ‘/usr/lib/libOpenCL.so’
‘lib/x86_64/libOpenCL.so.1’ -> ‘/usr/lib/libOpenCL.so.1’
sending incremental file list

sent 179 bytes  received 12 bytes  382.00 bytes/sec
total size is 414,666  speedup is 2,171.03
etc/
etc/OpenCL/
etc/OpenCL/vendors/
etc/OpenCL/vendors/amdocl64.icd
etc/OpenCL/vendors/amdocl32.icd
sending incremental file list

sent 107 bytes  received 13 bytes  240.00 bytes/sec
total size is 30  speedup is 0.25
===========================================================
64-bit Operating System Found..
 
Starting Installation of AMD APPSDK v2.9 ....
 SDK package name is :AMD-APP-SDK-v2.9-RC-lnx64.tgz
Checking Latest Version Info.....
===========================================================
64-bit Operating System Found..
 
Starting Installation of AMD APPSDK v2.9 ....
 SDK package name is :AMD-APP-SDK-v2.9-RC-lnx64.tgz
Checking Latest Version Info.....
Continuing in background, pid 7858.
Continuing in background, pid 7858.
......
 Continuing Installation...
===============================================================

Directory already exists deleting
 ......
 Continuing Installation...
===============================================================

Directory already exists deleting
 Current directory path is  : /tmp/amd-app-sdk
Current directory path is  : /tmp/amd-app-sdk
Untar command executed succesfully, The SDK package available
Untar command executed succesfully, The ICD package available
Copying files to /opt/AMDAPP/ ...
Untar command executed succesfully, The SDK package available
Untar command executed succesfully, The ICD package available
Copying files to /opt/AMDAPP/ ...
SDK files copied successfully at /opt/AMDAPP/
SDK files copied successfully at /opt/AMDAPP/
AMD Catalyst OpenCL Runtime is available hence skipping OpenCL CPU Runtime Installation
AMD Catalyst OpenCL Runtime is available hence skipping OpenCL CPU Runtime Installation
ln: failed to create symbolic link ‘/usr/lib64/libOpenCL.so’ln: failed to create symbolic link ‘/usr/lib64/libOpenCL.so’: File exists
: File exists
ln: failed to create symbolic link ‘/usr/lib/libOpenCL.so’ln: failed to create symbolic link ‘/usr/lib/libOpenCL.so’: File exists
: File exists
Updating Environment variables...
Updating Environment variables...
32-bit path is :32-bit path is :/opt/AMDAPP/lib/x86
/opt/AMDAPP/lib/x86
64-bit path is :64-bit path is :/opt/AMDAPP/lib/x86_64
/opt/AMDAPP/lib/x86_64
Environment variables updated successfully
Environment variables updated successfully
AMD APPSDK v2.9 installation  Completed
>> Reboot required to reflect the changes
===============================================================
AMD APPSDK v2.9 installation  Completed
>> Reboot required to reflect the changes
===============================================================
3  Alternate cryptocurrencies / Mining (Altcoins) / Re: clDevicesNum returned error, no GPUs usable (Sgminer, Linux) on: October 05, 2014, 11:47:08 PM
Here's my log when I install sgminer:
Code:
========================================
Downloading sgminer...
Cloning into 'sgminer'...
========================================
Installing sgminer...
Submodule 'jansson' (https://github.com/akheron/jansson.git) registered for path 'submodules/jansson'
Cloning into 'submodules/jansson'...
Submodule path 'submodules/jansson': checked out 'df248712a5d982b0721b6e8d15b09d4a9264301e'
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
configure.ac:11: installing './compile'
configure.ac:12: installing './config.guess'
configure.ac:12: installing './config.sub'
configure.ac:5: installing './install-sh'
configure.ac:5: installing './missing'
src/Makefile.am: installing './depcomp'
parallel-tests: installing './test-driver'
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
configure.ac:24: installing './compile'
configure.ac:17: installing './config.guess'
configure.ac:17: installing './config.sub'
configure.ac:22: installing './install-sh'
configure.ac:22: installing './missing'
Makefile.am: installing './depcomp'
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking for ranlib... ranlib
checking whether gcc needs -traditional... no
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... (cached) ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking for stdint.h... (cached) yes
checking for mprotect... yes
checking for sigaction... yes
checking for sigaltstack... yes
checking for siginterrupt... yes
checking for mmap... yes
checking for MAP_ANONYMOUS... yes
checking whether memchr works... yes
checking whether memmem is declared... yes
checking for memmem... yes
checking whether memmem works... yes
checking for C/C++ restrict keyword... __restrict
checking for uid_t in sys/types.h... yes
checking for inline... inline
checking whether the preprocessor supports include_next... yes
checking whether system header files limit the line length... no
checking for wchar_t... yes
checking for unsigned long long int... yes
checking for long long int... yes
checking whether stdint.h conforms to C99... yes
checking whether memmem is declared without a macro... yes
checking whether mempcpy is declared without a macro... yes
checking whether memrchr is declared without a macro... yes
checking whether rawmemchr is declared without a macro... yes
checking whether stpcpy is declared without a macro... yes
checking whether stpncpy is declared without a macro... yes
checking whether strchrnul is declared without a macro... yes
checking whether strdup is declared without a macro... yes
checking whether strncat is declared without a macro... yes
checking whether strndup is declared without a macro... yes
checking whether strnlen is declared without a macro... yes
checking whether strpbrk is declared without a macro... yes
checking whether strsep is declared without a macro... yes
checking whether strcasestr is declared without a macro... yes
checking whether strtok_r is declared without a macro... yes
checking whether strerror_r is declared without a macro... yes
checking whether strsignal is declared without a macro... yes
checking whether strverscmp is declared without a macro... yes
checking whether memmem works in linear time... yes
checking for memmem... (cached) yes
checking whether memmem works... (cached) yes
checking for struct sigaction.sa_sigaction... yes
checking for volatile sig_atomic_t... yes
checking for sighandler_t... yes
checking whether sigaction is declared without a macro... yes
checking whether sigaddset is declared without a macro... yes
checking whether sigdelset is declared without a macro... yes
checking whether sigemptyset is declared without a macro... yes
checking whether sigfillset is declared without a macro... yes
checking whether sigismember is declared without a macro... yes
checking whether sigpending is declared without a macro... yes
checking whether sigprocmask is declared without a macro... yes
checking for sigprocmask... yes
checking whether NULL can be used in arbitrary expressions... yes
checking for ANSI C header files... (cached) yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for OpenCL... yes
checking for pthread_create in -lpthread... yes
checking for ./ADL_SDK/adl_sdk.h... yes
checking for library containing addstr... -lncurses
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LIBCURL... yes
checking whether to use git version if available... checking for git... git
checking for .git/... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating submodules/Makefile
config.status: creating ccan/Makefile
config.status: creating lib/Makefile
config.status: creating sph/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
=== configuring in submodules/jansson (/home/dan/sgminer/submodules/jansson)
configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local'  'CFLAGS=-O2 -Wall -march=native' --cache-file=/dev/null --srcdir=.
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking endian.h usability... yes
checking endian.h presence... yes
checking for endian.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking sched.h usability... yes
checking sched.h presence... yes
checking for sched.h... yes
checking for unistd.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for sys/stat.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for sys/types.h... (cached) yes
checking for int32_t... yes
checking for uint32_t... yes
checking for uint16_t... yes
checking for uint8_t... yes
checking for unsigned long long int... yes
checking for long long int... yes
checking for inline... inline
checking for close... yes
checking for getpid... yes
checking for gettimeofday... yes
checking for localeconv... yes
checking for open... yes
checking for read... yes
checking for sched_yield... yes
checking for strtoll... yes
checking for gcc __sync builtins... yes
checking for gcc __atomic builtins... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating jansson.pc
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating src/Makefile
config.status: creating src/jansson_config.h
config.status: creating test/Makefile
config.status: creating test/bin/Makefile
config.status: creating test/suites/Makefile
config.status: creating test/suites/api/Makefile
config.status: creating jansson_private_config.h
config.status: executing depfiles commands
config.status: executing libtool commands



------------------------------------------------------------------------
sgminer 5.0.0
------------------------------------------------------------------------


Configuration Options Summary:

  Use git version......: yes
  libcurl(GBT+getwork).: Enabled: -lcurl
  curses.TUI...........: FOUND: -lncurses
  OpenCL...............: FOUND. GPU mining support enabled
  ADL..................: SDK found, GPU monitoring support enabled

Compilation............: make (or gmake)
  CPPFLAGS.............:
  CFLAGS...............: -O2 -Wall -march=native
  LDFLAGS..............:  -lpthread
  LDADD................: -ldl -lcurl  submodules/jansson/src/.libs/libjansson.a -lpthread -L/opt/AMDAPP/lib/x86_64 -lOpenCL    -lm -lrt

Installation...........: make install (as root if needed, with 'su' or 'sudo')
  prefix...............: /usr/local

make  all-recursive
make[1]: Entering directory '/home/dan/sgminer'
Making all in lib
make[2]: Entering directory '/home/dan/sgminer/lib'
  GEN      arg-nonnull.h
  GEN      c++defs.h
  GEN      warn-on-use.h
  GEN      signal.h
  GEN      string.h
make  all-recursive
make[3]: Entering directory '/home/dan/sgminer/lib'
make[4]: Entering directory '/home/dan/sgminer/lib'
  CC       dummy.o
  AR       libgnu.a
make[4]: Leaving directory '/home/dan/sgminer/lib'
make[3]: Leaving directory '/home/dan/sgminer/lib'
make[2]: Leaving directory '/home/dan/sgminer/lib'
Making all in submodules
make[2]: Entering directory '/home/dan/sgminer/submodules'
Making all in jansson
make[3]: Entering directory '/home/dan/sgminer/submodules/jansson'
make  all-recursive
make[4]: Entering directory '/home/dan/sgminer/submodules/jansson'
Making all in doc
make[5]: Entering directory '/home/dan/sgminer/submodules/jansson/doc'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/home/dan/sgminer/submodules/jansson/doc'
Making all in src
make[5]: Entering directory '/home/dan/sgminer/submodules/jansson/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -MT dump.lo -MD -MP -MF .deps/dump.Tpo -c -o dump.lo dump.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -MT dump.lo -MD -MP -MF .deps/dump.Tpo -c dump.c  -fPIC -DPIC -o .libs/dump.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -MT dump.lo -MD -MP -MF .deps/dump.Tpo -c dump.c -o dump.o >/dev/null 2>&1
mv -f .deps/dump.Tpo .deps/dump.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -MT error.lo -MD -MP -MF .deps/error.Tpo -c -o error.lo error.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -MT error.lo -MD -MP -MF .deps/error.Tpo -c error.c  -fPIC -DPIC -o .libs/error.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -MT error.lo -MD -MP -MF .deps/error.Tpo -c error.c -o error.o >/dev/null 2>&1
mv -f .deps/error.Tpo .deps/error.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -MT hashtable.lo -MD -MP -MF .deps/hashtable.Tpo -c -o hashtable.lo hashtable.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -MT hashtable.lo -MD -MP -MF .deps/hashtable.Tpo -c hashtable.c  -fPIC -DPIC -o .libs/hashtable.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -MT hashtable.lo -MD -MP -MF .deps/hashtable.Tpo -c hashtable.c -o hashtable.o >/dev/null 2>&1
mv -f .deps/hashtable.Tpo .deps/hashtable.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -MT hashtable_seed.lo -MD -MP -MF .deps/hashtable_seed.Tpo -c -o hashtable_seed.lo hashtable_seed.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -MT hashtable_seed.lo -MD -MP -MF .deps/hashtable_seed.Tpo -c hashtable_seed.c  -fPIC -DPIC -o .libs/hashtable_seed.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -MT hashtable_seed.lo -MD -MP -MF .deps/hashtable_seed.Tpo -c hashtable_seed.c -o hashtable_seed.o >/dev/null 2>&1
mv -f .deps/hashtable_seed.Tpo .deps/hashtable_seed.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -MT load.lo -MD -MP -MF .deps/load.Tpo -c -o load.lo load.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -MT load.lo -MD -MP -MF .deps/load.Tpo -c load.c  -fPIC -DPIC -o .libs/load.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -MT load.lo -MD -MP -MF .deps/load.Tpo -c load.c -o load.o >/dev/null 2>&1
mv -f .deps/load.Tpo .deps/load.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -MT memory.lo -MD -MP -MF .deps/memory.Tpo -c -o memory.lo memory.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -MT memory.lo -MD -MP -MF .deps/memory.Tpo -c memory.c  -fPIC -DPIC -o .libs/memory.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -MT memory.lo -MD -MP -MF .deps/memory.Tpo -c memory.c -o memory.o >/dev/null 2>&1
mv -f .deps/memory.Tpo .deps/memory.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -MT pack_unpack.lo -MD -MP -MF .deps/pack_unpack.Tpo -c -o pack_unpack.lo pack_unpack.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -MT pack_unpack.lo -MD -MP -MF .deps/pack_unpack.Tpo -c pack_unpack.c  -fPIC -DPIC -o .libs/pack_unpack.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -MT pack_unpack.lo -MD -MP -MF .deps/pack_unpack.Tpo -c pack_unpack.c -o pack_unpack.o >/dev/null 2>&1
mv -f .deps/pack_unpack.Tpo .deps/pack_unpack.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -MT strbuffer.lo -MD -MP -MF .deps/strbuffer.Tpo -c -o strbuffer.lo strbuffer.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -MT strbuffer.lo -MD -MP -MF .deps/strbuffer.Tpo -c strbuffer.c  -fPIC -DPIC -o .libs/strbuffer.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -MT strbuffer.lo -MD -MP -MF .deps/strbuffer.Tpo -c strbuffer.c -o strbuffer.o >/dev/null 2>&1
mv -f .deps/strbuffer.Tpo .deps/strbuffer.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -MT strconv.lo -MD -MP -MF .deps/strconv.Tpo -c -o strconv.lo strconv.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -MT strconv.lo -MD -MP -MF .deps/strconv.Tpo -c strconv.c  -fPIC -DPIC -o .libs/strconv.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -MT strconv.lo -MD -MP -MF .deps/strconv.Tpo -c strconv.c -o strconv.o >/dev/null 2>&1
mv -f .deps/strconv.Tpo .deps/strconv.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -MT utf.lo -MD -MP -MF .deps/utf.Tpo -c -o utf.lo utf.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -MT utf.lo -MD -MP -MF .deps/utf.Tpo -c utf.c  -fPIC -DPIC -o .libs/utf.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -MT utf.lo -MD -MP -MF .deps/utf.Tpo -c utf.c -o utf.o >/dev/null 2>&1
mv -f .deps/utf.Tpo .deps/utf.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -MT value.lo -MD -MP -MF .deps/value.Tpo -c -o value.lo value.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -MT value.lo -MD -MP -MF .deps/value.Tpo -c value.c  -fPIC -DPIC -o .libs/value.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -MT value.lo -MD -MP -MF .deps/value.Tpo -c value.c -o value.o >/dev/null 2>&1
mv -f .deps/value.Tpo .deps/value.Plo
/bin/sh ../libtool  --tag=CC   --mode=link gcc -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -no-undefined -export-symbols-regex '^json_' -version-info 10:0:6  -o libjansson.la -rpath /usr/local/lib dump.lo error.lo hashtable.lo hashtable_seed.lo load.lo memory.lo pack_unpack.lo strbuffer.lo strconv.lo utf.lo value.lo  
libtool: link: /usr/bin/nm -B  .libs/dump.o .libs/error.o .libs/hashtable.o .libs/hashtable_seed.o .libs/load.o .libs/memory.o .libs/pack_unpack.o .libs/strbuffer.o .libs/strconv.o .libs/utf.o .libs/value.o   | sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' | /usr/bin/sed 's/.* //' | sort | uniq > .libs/libjansson.exp
libtool: link: /usr/bin/grep -E -e "^json_" ".libs/libjansson.exp" > ".libs/libjansson.expT"
libtool: link: mv -f ".libs/libjansson.expT" ".libs/libjansson.exp"
libtool: link: echo "{ global:" > .libs/libjansson.ver
libtool: link:  cat .libs/libjansson.exp | sed -e "s/\(.*\)/\1;/" >> .libs/libjansson.ver
libtool: link:  echo "local: *; };" >> .libs/libjansson.ver
libtool: link:  gcc -shared  -fPIC -DPIC  .libs/dump.o .libs/error.o .libs/hashtable.o .libs/hashtable_seed.o .libs/load.o .libs/memory.o .libs/pack_unpack.o .libs/strbuffer.o .libs/strconv.o .libs/utf.o .libs/value.o    -O2 -march=native   -Wl,-soname -Wl,libjansson.so.4 -Wl,-version-script -Wl,.libs/libjansson.ver -o .libs/libjansson.so.4.6.0
libtool: link: (cd ".libs" && rm -f "libjansson.so.4" && ln -s "libjansson.so.4.6.0" "libjansson.so.4")
libtool: link: (cd ".libs" && rm -f "libjansson.so" && ln -s "libjansson.so.4.6.0" "libjansson.so")
libtool: link: ar cru .libs/libjansson.a  dump.o error.o hashtable.o hashtable_seed.o load.o memory.o pack_unpack.o strbuffer.o strconv.o utf.o value.o
libtool: link: ranlib .libs/libjansson.a
libtool: link: ( cd ".libs" && rm -f "libjansson.la" && ln -s "../libjansson.la" "libjansson.la" )
make[5]: Leaving directory '/home/dan/sgminer/submodules/jansson/src'
Making all in test
make[5]: Entering directory '/home/dan/sgminer/submodules/jansson/test'
Making all in bin
make[6]: Entering directory '/home/dan/sgminer/submodules/jansson/test/bin'
make[6]: Nothing to be done for 'all'.
make[6]: Leaving directory '/home/dan/sgminer/submodules/jansson/test/bin'
Making all in suites
make[6]: Entering directory '/home/dan/sgminer/submodules/jansson/test/suites'
Making all in api
make[7]: Entering directory '/home/dan/sgminer/submodules/jansson/test/suites/api'
make[7]: Nothing to be done for 'all'.
make[7]: Leaving directory '/home/dan/sgminer/submodules/jansson/test/suites/api'
make[7]: Entering directory '/home/dan/sgminer/submodules/jansson/test/suites'
make[7]: Nothing to be done for 'all-am'.
make[7]: Leaving directory '/home/dan/sgminer/submodules/jansson/test/suites'
make[6]: Leaving directory '/home/dan/sgminer/submodules/jansson/test/suites'
make[6]: Entering directory '/home/dan/sgminer/submodules/jansson/test'
make[6]: Nothing to be done for 'all-am'.
make[6]: Leaving directory '/home/dan/sgminer/submodules/jansson/test'
make[5]: Leaving directory '/home/dan/sgminer/submodules/jansson/test'
make[5]: Entering directory '/home/dan/sgminer/submodules/jansson'
make[5]: Leaving directory '/home/dan/sgminer/submodules/jansson'
make[4]: Leaving directory '/home/dan/sgminer/submodules/jansson'
make[3]: Leaving directory '/home/dan/sgminer/submodules/jansson'
make[3]: Entering directory '/home/dan/sgminer/submodules'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/dan/sgminer/submodules'
make[2]: Leaving directory '/home/dan/sgminer/submodules'
Making all in ccan
make[2]: Entering directory '/home/dan/sgminer/ccan'
  CC       opt/libccan_a-helpers.o
  CC       opt/libccan_a-opt.o
  CC       opt/libccan_a-parse.o
  CC       opt/libccan_a-usage.o
  AR       libccan.a
make[2]: Leaving directory '/home/dan/sgminer/ccan'
Making all in sph
make[2]: Entering directory '/home/dan/sgminer/sph'
  CC       bmw.o
  CC       echo.o
  CC       jh.o
  CC       luffa.o
  CC       simd.o
  CC       blake.o
  CC       cubehash.o
  CC       groestl.o
  CC       keccak.o
  CC       shavite.o
  CC       skein.o
  CC       sha2.o
  CC       sha2big.o
  CC       fugue.o
  CC       hamsi.o
  CC       panama.o
  CC       shabal.o
  CC       whirlpool.o
  AR       libsph.a
make[2]: Leaving directory '/home/dan/sgminer/sph'
make[2]: Entering directory '/home/dan/sgminer'
  CC       sgminer-sgminer.o
  CC       sgminer-api.o
api.c: In function ‘print_data’:
api.c:768:29: warning: argument to ‘sizeof’ in ‘snprintf’ call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess]
         snprintf(buf, sizeof(buf), "0x%08x", *((uint32_t *)(root->data)));
                             ^
  CC       sgminer-util.o
  CC       sgminer-logging.o
  CC       sgminer-driver-opencl.o
  CC       sgminer-ocl.o
ocl.c: In function ‘initCl’:
ocl.c:361:11: warning: variable ‘slot’ set but not used [-Wunused-but-set-variable]
   cl_uint slot, cpnd;
           ^
  CC       sgminer-findnonce.o
  CC       sgminer-adl.o
  CC       sgminer-pool.o
  CC       sgminer-algorithm.o
  CC       sgminer-config_parser.o
config_parser.c: In function ‘build_pool_json’:
config_parser.c:1246:13: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
     else if (!empty_string(pool->xintensity))
             ^
config_parser.c:1242:8: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
     if (!empty_string(pool->rawintensity))
        ^
config_parser.c: In function ‘build_profile_settings_json’:
config_parser.c:1350:11: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
   else if (!empty_string(profile->xintensity))
           ^
config_parser.c:1346:6: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
   if (!empty_string(profile->rawintensity))
      ^
  CC       ocl/sgminer-patch_kernel.o
  CC       ocl/sgminer-build_kernel.o
  CC       ocl/sgminer-binary_kernel.o
  CC       algorithm/sgminer-scrypt.o
  CC       algorithm/sgminer-darkcoin.o
  CC       algorithm/sgminer-qubitcoin.o
  CC       algorithm/sgminer-quarkcoin.o
  CC       algorithm/sgminer-myriadcoin-groestl.o
  CC       algorithm/sgminer-fuguecoin.o
  CC       algorithm/sgminer-inkcoin.o
  CC       algorithm/sgminer-animecoin.o
  CC       algorithm/sgminer-groestlcoin.o
  CC       algorithm/sgminer-sifcoin.o
  CC       algorithm/sgminer-twecoin.o
  CC       algorithm/sgminer-marucoin.o
  CC       algorithm/sgminer-maxcoin.o
  CC       algorithm/sgminer-talkcoin.o
  CC       algorithm/sgminer-bitblock.o
  CC       algorithm/sgminer-x14.o
  CC       algorithm/sgminer-fresh.o
algorithm/fresh.c: In function ‘fresh_regenhash’:
algorithm/fresh.c:138:9: warning: unused variable ‘scratchbuf’ [-Wunused-variable]
   char *scratchbuf;
         ^
algorithm/fresh.c: In function ‘scanhash_fresh’:
algorithm/fresh.c:153:9: warning: unused variable ‘scratchbuf’ [-Wunused-variable]
   char *scratchbuf;
         ^
  CCLD     sgminer
make[2]: Leaving directory '/home/dan/sgminer'
make[1]: Leaving directory '/home/dan/sgminer'
Making install in lib
make[1]: Entering directory '/home/dan/sgminer/lib'
make  install-recursive
make[2]: Entering directory '/home/dan/sgminer/lib'
make[3]: Entering directory '/home/dan/sgminer/lib'
make[4]: Entering directory '/home/dan/sgminer/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 '/home/dan/sgminer/lib'
make[3]: Leaving directory '/home/dan/sgminer/lib'
make[2]: Leaving directory '/home/dan/sgminer/lib'
make[1]: Leaving directory '/home/dan/sgminer/lib'
Making install in submodules
make[1]: Entering directory '/home/dan/sgminer/submodules'
Making install in jansson
make[2]: Entering directory '/home/dan/sgminer/submodules/jansson'
Making install in doc
make[3]: Entering directory '/home/dan/sgminer/submodules/jansson/doc'
make[4]: Entering directory '/home/dan/sgminer/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 '/home/dan/sgminer/submodules/jansson/doc'
make[3]: Leaving directory '/home/dan/sgminer/submodules/jansson/doc'
Making install in src
make[3]: Entering directory '/home/dan/sgminer/submodules/jansson/src'
make[4]: Entering directory '/home/dan/sgminer/submodules/jansson/src'
 /usr/bin/mkdir -p '/usr/local/lib'
 /bin/sh ../libtool   --mode=install /usr/bin/install -c   libjansson.la '/usr/local/lib'
libtool: install: /usr/bin/install -c .libs/libjansson.so.4.6.0 /usr/local/lib/libjansson.so.4.6.0
libtool: install: (cd /usr/local/lib && { ln -s -f libjansson.so.4.6.0 libjansson.so.4 || { rm -f libjansson.so.4 && ln -s libjansson.so.4.6.0 libjansson.so.4; }; })
libtool: install: (cd /usr/local/lib && { ln -s -f libjansson.so.4.6.0 libjansson.so || { rm -f libjansson.so && ln -s libjansson.so.4.6.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/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/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:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

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 '/home/dan/sgminer/submodules/jansson/src'
make[3]: Leaving directory '/home/dan/sgminer/submodules/jansson/src'
Making install in test
make[3]: Entering directory '/home/dan/sgminer/submodules/jansson/test'
Making install in bin
make[4]: Entering directory '/home/dan/sgminer/submodules/jansson/test/bin'
make[5]: Entering directory '/home/dan/sgminer/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 '/home/dan/sgminer/submodules/jansson/test/bin'
make[4]: Leaving directory '/home/dan/sgminer/submodules/jansson/test/bin'
Making install in suites
make[4]: Entering directory '/home/dan/sgminer/submodules/jansson/test/suites'
Making install in api
make[5]: Entering directory '/home/dan/sgminer/submodules/jansson/test/suites/api'
make[6]: Entering directory '/home/dan/sgminer/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 '/home/dan/sgminer/submodules/jansson/test/suites/api'
make[5]: Leaving directory '/home/dan/sgminer/submodules/jansson/test/suites/api'
make[5]: Entering directory '/home/dan/sgminer/submodules/jansson/test/suites'
make[6]: Entering directory '/home/dan/sgminer/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 '/home/dan/sgminer/submodules/jansson/test/suites'
make[5]: Leaving directory '/home/dan/sgminer/submodules/jansson/test/suites'
make[4]: Leaving directory '/home/dan/sgminer/submodules/jansson/test/suites'
make[4]: Entering directory '/home/dan/sgminer/submodules/jansson/test'
make[5]: Entering directory '/home/dan/sgminer/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 '/home/dan/sgminer/submodules/jansson/test'
make[4]: Leaving directory '/home/dan/sgminer/submodules/jansson/test'
make[3]: Leaving directory '/home/dan/sgminer/submodules/jansson/test'
make[3]: Entering directory '/home/dan/sgminer/submodules/jansson'
make[4]: Entering directory '/home/dan/sgminer/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 '/home/dan/sgminer/submodules/jansson'
make[3]: Leaving directory '/home/dan/sgminer/submodules/jansson'
make[2]: Leaving directory '/home/dan/sgminer/submodules/jansson'
make[2]: Entering directory '/home/dan/sgminer/submodules'
make[3]: Entering directory '/home/dan/sgminer/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 '/home/dan/sgminer/submodules'
make[2]: Leaving directory '/home/dan/sgminer/submodules'
make[1]: Leaving directory '/home/dan/sgminer/submodules'
Making install in ccan
make[1]: Entering directory '/home/dan/sgminer/ccan'
make[2]: Entering directory '/home/dan/sgminer/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 '/home/dan/sgminer/ccan'
make[1]: Leaving directory '/home/dan/sgminer/ccan'
Making install in sph
make[1]: Entering directory '/home/dan/sgminer/sph'
make[2]: Entering directory '/home/dan/sgminer/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 '/home/dan/sgminer/sph'
make[1]: Leaving directory '/home/dan/sgminer/sph'
make[1]: Entering directory '/home/dan/sgminer'
make[2]: Entering directory '/home/dan/sgminer'
 /usr/bin/mkdir -p '/usr/local/bin'
  /bin/sh ./libtool   --mode=install /usr/bin/install -c sgminer '/usr/local/bin'
libtool: install: /usr/bin/install -c sgminer /usr/local/bin/sgminer
 /usr/bin/mkdir -p '/usr/local/bin'
 /usr/bin/install -c ./kernel/aes_helper.cl ./kernel/alexkarnew.cl ./kernel/alexkarold.cl ./kernel/animecoin.cl ./kernel/bitblock.cl ./kernel/bitblockold.cl ./kernel/blake.cl ./kernel/bmw.cl ./kernel/bufius.cl ./kernel/ckolivas.cl ./kernel/cubehash.cl ./kernel/darkcoin.cl ./kernel/darkcoin-mod.cl ./kernel/echo.cl ./kernel/fresh.cl ./kernel/fugue.cl ./kernel/fuguecoin.cl ./kernel/groestl.cl ./kernel/groestlcoin.cl ./kernel/hamsi.cl ./kernel/hamsi_helper_big.cl ./kernel/hamsi_helper.cl ./kernel/inkcoin.cl ./kernel/jh.cl ./kernel/keccak.cl ./kernel/luffa.cl ./kernel/marucoin.cl ./kernel/marucoin-mod.cl ./kernel/marucoin-modold.cl ./kernel/maxcoin.cl ./kernel/myriadcoin-groestl.cl ./kernel/panama.cl ./kernel/psw.cl ./kernel/quarkcoin.cl ./kernel/qubitcoin.cl ./kernel/shabal.cl ./kernel/shavite.cl ./kernel/sifcoin.cl ./kernel/simd.cl ./kernel/skein.cl '/usr/local/bin'
 /usr/bin/install -c ./kernel/talkcoin-mod.cl ./kernel/twecoin.cl ./kernel/whirlpool.cl ./kernel/x14.cl ./kernel/x14old.cl ./kernel/zuikkis.cl '/usr/local/bin'
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/home/dan/sgminer'
make[1]: Leaving directory '/home/dan/sgminer'
[17:58:49] CL Platform vendor: Mesa
[17:58:49] CL Platform name: Default
[17:58:49] CL Platform version: OpenCL 1.1 MESA 10.3.0
[17:58:49] Error -1: Getting Device IDs (num)
[17:58:49] clDevicesNum returned error, no GPUs usable
[17:58:49] 0 GPU devices max detected
[17:58:49] CL Platform vendor: Mesa                    
[17:58:49] CL Platform name: Default                    
[17:58:49] CL Platform version: OpenCL 1.1 MESA 10.3.0                    
[17:58:49] Error -1: Getting Device IDs (num)                    
[17:58:49] clDevicesNum returned error, no GPUs usable                    
[17:58:49] 0 GPU devices max detected                    
Found fglrx primary device section
Using /etc/X11/xorg.conf
Saving back-up to /etc/X11/xorg.conf.fglrx-5
4  Alternate cryptocurrencies / Mining (Altcoins) / clDevicesNum returned error, no GPUs usable (Sgminer, Linux) on: October 05, 2014, 11:29:00 PM
I'm trying to run sgminer on an AMD Radeon HD 7970. I'm using Arch Linux 64 bit with the catalyst-total package from the AUR (catalyst version 14.9). I've spent a ridiculous amount of time trying to figure this out and I've run out of things to try. The really odd thing is that it works in Xubuntu, just not Linux Mint XFCE or Arch.

Problem: sgminer doesn't detect my GPU

My steps are:
-install catalyst 14.9 ("catalyst-total" from AUR)
-install amd amd app sdk 2.9
-git clone sgminer from the "sgminer-dev" git source
-move amd adl sdk (version 6) into sgminer's adl_sdk directory
-install sgminer with these commands:
Code:
git submodule init
git submodule update
autoreconf -i
CFLAGS="-O2 -Wall -march=native" ./configure
make
sudo make install

After all that, here's the output of "sgminer -n":
Code:
 sgminer -n
[17:59:14] CL Platform vendor: Mesa                    
[17:59:14] CL Platform name: Default                    
[17:59:14] CL Platform version: OpenCL 1.1 MESA 10.3.0                    
[17:59:14] Error -1: Getting Device IDs (num)                    
[17:59:14] clDevicesNum returned error, no GPUs usable                    
[17:59:14] 0 GPU devices max detected

Here's the output of "fglrxinfo":
Code:
$ fglrxinfo
display: :0.0  screen: 0
OpenGL vendor string: Advanced Micro Devices, Inc.
OpenGL renderer string: AMD Radeon HD 7900 Series
OpenGL version string: 4.4.13084 Compatibility Profile Context 14.301.1001

Here's the output of "aticonfig --lsa":
Code:
$ sudo aticonfig --lsa
* 0. 01:00.0 AMD Radeon HD 7900 Series

* - Default adapter
5  Alternate cryptocurrencies / Mining (Altcoins) / Re: Cannot compile any version of darkcoin cpuminer on Ubuntu, vps or amd! on: September 05, 2014, 05:23:55 PM
Maybe it's a dependency problem? You could try installing the dependencies I have listed in this guide: https://darkcointalk.org/threads/noob-proof-how-to-install-cpuminer-under-ubuntu-linux.2168/
6  Alternate cryptocurrencies / Mining (Altcoins) / Re: How to Install Sgminer, AMD Drivers, and Mine Darkcoin under Linux/Ubuntu 64-bit on: July 29, 2014, 03:41:31 PM
Thanks for the guide. i will try it

Let me know if you have any problems or questions. Smiley
7  Alternate cryptocurrencies / Mining (Altcoins) / Re: How to Install Sgminer, AMD Drivers, and Mine Darkcoin under Linux/Ubuntu 64-bit on: July 19, 2014, 05:55:07 PM
If you got stuck on step 5 (like if all you see is a blank screen), this might help you login.
Press ctrl+alt+f1 to get to the Terminal, aka "black screen of death" (jk  Wink). Type in your username (the name of your Home folder) and then your password. Then type this in:
Code:
sudo amdconfig --adapter=all --initial
sudo service lightdm stop
rm ~/.config/dconf/user
sudo reboot
If you STILL see just a blank screen, don't worry! It's ok!  Smiley Press ctrl+alt+f1 to get to the Terminal. Type in your username and then type in your password. Now just go back up to step 6 under post 1 of this thread and continue the guide. Once you install the AMD driver, you SHOULD be able to login normally again. Smiley
8  Alternate cryptocurrencies / Mining (Altcoins) / Re: How to Install Sgminer, AMD Drivers, and Mine Darkcoin under Linux/Ubuntu 64-bit on: July 19, 2014, 05:47:54 PM
Configuring Sgminer
20- Now make a script that you'll use whenever you want to launch sgminer. This script saves your mining preferences. It's pretty handy.
Code:
cd ~
gedit darkgpu
21- An empty file should pop up. Copy and paste this in there:
Code:
#!/bin/bash
cd ~/sgminer
export DISPLAY=:0
export GPU_MAX_ALLOC_PERCENT=100
export GPU_USE_SYNC_OBJECTS=1
./sgminer -k x11mod -o # -u # -p # --no-submit-stale -I #
22- Now you can fill in your sgminer configuration. *Always keep the first 5 lines the same,* but you'll want to replace the "#" signs with something else. If you have no idea what to put for "#", keep reading. If you know what to put, then skip to step 25.

  • "-o" stands for your pool's address and port. "stratum+tcp://address.com:####" Find that on your pool's website (usually under "Help" and then "Getting started"). This is what mine is:
Code:
./sgminer -k x11mod -o stratum+tcp://darkcoin.stonedpuppy.com:9902

  • "-u" stands for your personal username that you use on your pool's website. BUT "-u" also includes a worker name that you have to create on your pool's website. On your pool's website, you can have ONE username but MANY different workers. Think of it this way. The "username" represents "you" and the "workers" are the "slaves" that work for you. :eek: Your username identifies you, and each worker represents each computer that's mining for you. You create a name for each one of your workers on your pool's website. This is what it looks like when you type it after "-u": "username.worker". So if the username on my pool is "GreenRaccoon23," and I created a worker on there named "chucknorris," it would look like this:
Code:
./sgminer -k x11mod -o stratum+tcp://darkcoin.stonedpuppy.com:9902 -u GreenRaccoon23.chucknorris

  • "-p" stands for your password: your WORKER'S password, NOT your username's password. You set this up on your pool's website. So if the password for my worker "chucknorris" is "knowsvictoriassecret," this is what it would look like:
Code:
./sgminer -k x11mod -o stratum+tcp://darkcoin.stonedpuppy.com:9902 -u GreenRaccoon23.chucknorris -p knowsvictoriassecret

  • "-I" stands for "intensity," and you type it as a number. 18 is probably a good starting point. If you make it too high, sgminer will just whine that something's not right. For my Radeon HD7970, mine's set to 25. Start out low and work your way up one number at a time until sgminer starts to whine. Here's our final result of a basic config:
Code:
sudo ./sgminer -k x11mod -o stratum+tcp://darkcoin.stonedpuppy.com:9902 -u GreenRaccoon23.chucknorris -p knowsvictoriassecret -I 25


  • To give you some reference, here's my own darkgpu file for my Radeon HD7970 (except the personal stuff, of course). I run sgminer (GPU miner) and minerd (CPU miner) at the same time, and this is as fast as I can make sgminer run without my computer crashing:
Code:
#!/bin/bash
cd ~/sgminer
export DISPLAY=:0
export GPU_MAX_ALLOC_PERCENT=100
export GPU_USE_SYNC_OBJECTS=1
./sgminer -k x11mod -o stratum+tcp://darkcoin.stonedpuppy.com:9902 -u GreenRaccoon23.chucknorris -p knowsvictoriassecret --no-submit-stale --auto-fan --auto-gpu --gpu-fan 25-75 --gpu-memclock 850 --thread-concurrency 8192 -I 23

23- Save.
24- Make the script executable.
Code:
chmod +x darkgpu

Run Sgminer
25- Running sgminer is easy once you make that "darkgpu" script explained above. Just go to your home directory (the default) and run the script:
Code:
cd ~
./darkgpu
26- IT IS ALIVE. When you want to stop it, press "q" or "ctrl+c". To run it again, redo step 25. To change sgminer's settings, go through steps 20-23 again.

*NOTE:* If you ever have a problem running the darkgpu script (where it starts and then stops right away), it means that sgminer has already saved your settings. Instead of running "./darkgpu", run "sgminer -k x11mod -I 23". Replace "23" with whatever number you'd like for intensity.

Sources:
https://forums.chunkypools.com/t/guide-compiling-sgminer-for-x11-coins-in-ubuntu/28
https://help.ubuntu.com/community/BinaryDriverHowto/AMD
https://github.com/djm34/sph-sgminer_x11mod
https://bitcointalk.org/index.php?topic=658411.0
http://ubuntuforums.org/showthread.php?t=2234408
http://www.distrogeeks.com/install-cgminer-3-7-2-ubuntu/
https://wiki.archlinux.org/index.php/AMD_Catalyst
http://darkcoin.stonedpuppy.com/index.php?page=gettingstarted (site has been taken down)

(If you want to install cpuminer for CPU mining also, I have another guide: https://darkcointalk.org/threads/noob-proof-how-to-install-cpuminer-under-ubuntu-linux.2168/)[/B]
9  Alternate cryptocurrencies / Mining (Altcoins) / How to Install Sgminer, AMD Drivers, and Mine Darkcoin under Linux/Ubuntu 64-bit on: July 19, 2014, 05:36:08 PM
***This guide shows how to set up sgminer (GPU miner) on 64-bit Linux when your computer has an AMD/ATI GPU or APU.*** This is targeted for Ubuntu, Xubuntu, etc. users. I can't get it to work for Linux Mint or Arch Linux. I figured out how to run sgminer on Linux Mint and Arch Linux. See the *NOTE* after step 26.

I've spent a ridiculous amount of time trying to figure all of this out, so I've made this guide ridiculously *DETAILED* to prevent any more headaches. This guide looks daunting  Shocked, but it's just because I tried to cover every single base I could think of. Even if you're a Linux noob, you should be able to do this fine.
  • Note: This won't work for every AMD GPU, but it should work for the most common ones used for mining (as of the time this thread was posted). Your computer probably won't turn into a nuclear bomb if something goes wrong, but BACK UP beforehand just in case. Be on the safe side so it's not the end of the world if something odd happens and you have to reinstall Ubunt:o Shocked (I had to reinstall Ubuntu 3 times trying to figure all this out, hence the reason why I'm making this guide.)
----------------------------------------------------------------------------------------------------
*****UPDATE*****
I've written some scripts for you guys. Grin If you'd rather run some scripts than copy and paste every single step below, you have the option to do that now. Grin
13 Nov-14: Updated the scripts. Only a couple minor changes, but I also made a sweet ascii image. Cool
Here's how to copy and run them:

1- Run this as one, single command (to download the right scripts for your distribution):
Code:
cd ~ &&
wget "https://raw.githubusercontent.com/GreenRaccoon23/sgminer-install-scripts/master/INSTALL" &&
chmod +x INSTALL &&
./INSTALL
2- Run the first script:
Code:
./sgminer1.in
If you're running Arch Linux, you'll need to run './arch-sgminer1.in' instead.
3- The script will tell you when to run the next ones.

----------------------------------------------------------------------------------------------------
Second Option: Step-by-Step Instructions
1
- Update your computer and install dependencies. Open up Terminal with ctrl+alt+t. Then copy (ctrl+c) and paste (ctrl+SHIFT+v) this:
Code:
sudo aptitude update
sudo aptitude upgrade -y
sudo aptitude install -yr git curl unzip automake autogen yasm autoconf dh-autoreconf build-essential pkg-config openssh-server screen libtool libcurl4-openssl-dev libtool libncurses5-dev libudev-dev xserver-xorg-core xserver-xorg-video-ati gdebi gedit execstack dh-modaliases lib32gcc1 dkms
Set Up AMD Drivers
2- Check which driver you're using. Open up Terminal with ctrl+alt+t and type this in:
Code:
fglrxinfo
3- If that command wasn't found, skip to step 6 because you're not using an fglrx driver.  Smiley If that command did give you something, that's ok, but it means you need to do more work, sorry.  Cry You're going to need to switch drivers. Run this command.
Code:
sudo sh /usr/share/ati/fglrx-uninstall.sh
4- If that worked, great. If it didn't, it should be ok too. In either case, do this next.
Code:
sudo aptitude purge fglrx fglrx_* fglrx-amdcccle* fglrx-dev* xorg-driver-fglrx &&
sudo aptitude reinstall -y libgl1-mesa-glx libgl1-mesa-dri xserver-xorg-core &&
sudo dpkg-reconfigure xserver-xorg
5- Reboot. (If you can't login to your computer after rebooting, post 3 of this thread might help.)
6- Download the AMD 14.6 Catalyst driver:
Code:
cd ~/Downloads
curl -o driver.zip http://www2.ati.com/drivers/linux/amd-catalyst-14-9-linux-x86-x86-64.zip --referer http://support.amd.com/en-us/kb-articles/Pages/Catalyst-Linux-Installer-
7- Install the Catalyst driver. (Don't change the *'s.)
Code:
unzip driver.zip
cd fglrx-14.20
chmod a+x *.run
sudo sh *.run
8- The installation application will now launch. Soon, a a screen should pop up with the two options 'Install Driver 14.20...'' or 'Generate Distribution Specific Driver Package'.
  • If an error screen pops up instead, use this command to open up the log
Code:
sudo gedit /usr/share/ati/fglrx-install.log
  • Then install the packages it tells you that it needs:
Code:
sudo apt-get install ...
  • Then run:
Code:
sudo sh ~/Downloads/fglr*/*.run
    9- Once you can get the application open to the screen with the two options 'Install Driver 14.20...'' or 'Generate Distribution Specific Driver Package', follow these steps:
    • First, choose 'Generate Distribution Specific Driver Package' and click 'Continue'.
    • Next, choose 'I agree' (if you agree).
    • Next, scroll down and choose 'Build package for detected OS: Ubuntu/trusty', then click 'Continue'.
    • Next, it'll look like it has crashed. It actually IS running; it just takes forever. Seriously, forever--like up to 15 minutes.
    • Once it's FINALLY done, click 'Exit' to close.
    • ***IMPORTANT!*** Next, something will pop up. DO NOT CHOOSE 'YES.' CHOOSE 'NO'. (If you accidentally hit 'yes', it shouldn't be a big deal though. Just keep going.)
    10- Then, install the new packages:
    Code:
    sudo gdebi *.deb
    11- BEFORE you reboot, run these commands.
    Code:
    sudo aptitude update
    sudo aptitude upgrade -y
    sudo aticonfig --adapter=all --initial
    sudo aptitude install -yr boinc-amd-opencl opencl-headers mesa-utils libglu1-mesa libgl1-mesa-glx libgl1-mesa-dri
    12- Reboot.
    13-
    Now install the APP SDK:
    Code:
    cd /tmp
    curl -o amd-app-sdk.tgz http://blog.truepps.com/downloads/AMD/AMD-APP-SDK-v2.9-lnx64.tgz
    sudo mkdir amd-app-sdk
    sudo mv amd-app-sdk.tgz amd-app-sdk
    cd amd-app-sdk
    sudo tar -zxvf amd-app-sdk.tgz
    sudo tar -zxvf AMD-APP-SDK-v2.9-RC-lnx64.tgz
    cd AMD-APP-SDK-v2.9-RC-lnx64
    sudo cp -pv lib/x86_64/* /usr/lib/
    sudo rsync -avl include/CL/ /usr/include/CL/
    cd ..
    sudo tar -zxvf icd-registration.tgz
    sudo rsync -avl etc/OpenCL/ /etc/OpenCL/
    sudo ldconfig
    sudo perl default-install_lnx_64.pl
    sudo aticonfig --adapter=all --initial
    14- Reboot.
    Install Sgminer
    15- The hard part's over (yay!). Copy/git sgminer's files to your computer:
    Code:
    cd ~/
    git clone https://github.com/sgminer-dev/sgminer.git
    16- Sgminer needs three files from the AMD ADL SDK:
    Code:
    cd ~/Downloads
    curl -o adl_sdk.zip http://blog.truepps.com/downloads/AMD/ADL_SDK_6.0.zip
    mkdir adl_sdk
    mv adl_sdk.zip adl_sdk
    cd adl_sdk
    unzip adl_sdk.zip
    cp ~/Downloads/adl_sdk/include/* ~/sgminer/ADL_SDK
    17- Compile, make, and install it.
    Code:
    cd ~/sgminer
    git submodule init
    git submodule update
    autoreconf -i
    CFLAGS="-O2 -Wall -march=native" ./configure
    make
    sudo make install
    18- Check to make sure it worked
    Code:
    sgminer -n
    19- If it does detect your GPU('s), continue to step 22. If it does not detect your GPU('s) run "sudo aticonfig --adapter=all --initial" and then reboot.
    10  Alternate cryptocurrencies / Mining (Altcoins) / Sgminer HW Error (AMD GPU on Ubuntu 64 bit) on: July 15, 2014, 08:20:43 PM
    This is a Linux issue trying to set up and mine darkcoin with a new GPU.

    I recently put in an AMD Radeon HD7970 GPU in my desktop. Previously, I was running lasybear's sgminer on an AMD Kaveri A10-7850K APU. I was getting about 580 khash/s with that APU.

    Sgminer doesn't work with the new GPU installed (even after recompiling it from lasybear's git source). If I put my intensity over 16, I get the dreaded "GPU 0: invalid nonce: HW error". If I put the intensity to 16 or below, I get 100% rejected shares. I've tried switching my thread-concurrency between 4096 and 8192, and I've also tried taking off all of the parameters but "-o", "-u", "-p", and "-I". Also, when the shares are being rejected, the GPU is only running 350-400 khash/s, which is like 1/4 of the speed this GPU usually gets.

    I'm using Ubuntu 14.04 64 bit, and I'm 99% sure it's a driver problem. I've spent hours trying to figure this out. I've installed version 2.7 of the APP SDK, which is recommended for 7970 GPU's.

    I've tried using the fglrx and fglrx-updates drivers in Ubuntu's "Additional Drivers" settings. They install fine, but sgminer has problems with them. I've also tried installing the Catalyst drivers directly from AMD's website. The 14.04 driver installed great but still had the sgminer problems. 12.8 wouldn't install because it was whining that there was no "/lib/modules/3.13.0-30-generic/build/include/linux/version.h" file. 12.6 won't even download (Come on, AMD...). 12.4 installs great, but when I reboot the computer, I can't go to the desktop. As soon as I login, the xserver crashes and takes me back to the login menu.

    After searching through a bunch of online forums, the AMD drivers most people recommend for sgminer are 12.4 and 12.8. Neither of these are working for me.

    Whenever I install any of these drivers, I make sure that I run these commands:
    Code:
    sudo aticonfig --adapters=all --initial
    export DISPLAY=:0
    sudo reboot

    Anyone have some direction for me?

    -----EDIT-----

    From the original post (https://bitcointalk.org/index.php?topic=623409.0), it looks like people are having luck with the 14.6 Beta Catalyst driver. I never would've thought the beta driver would work better. Undecided I'll give that a try later.

    -----EDIT-----

    Fixed! I  installed the 14.6 driver and djm34's sgminer (https://github.com/djm34/sph-sgminer_x11mod).
    Pages: [1]
    Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!