Pages:
Author

Topic: [ANN] sph-sgminer: multi-coin multi-algorithm GPU miner | added MaruCoin - page 20. (Read 515718 times)

hero member
Activity: 658
Merit: 500
A couple of 4 Sapphire Radeon 7770 rigs here with Windows 8.1 Update 1. Using the command "--auto-fan" triggers a crash every time. Last sph-sgminer version compiled for Windows.

Without the auto-fan command I'm getting 450 KH/s (darkcoin kernel) with every card (1.8 MH/s per rig) wich seems pretty nice.
Pretty sure auto fan is on by default
hero member
Activity: 658
Merit: 500
Does this look normal?  I hadn't tried mining X11 algorithm yet.   In the pool I am mining in, it shows my stats as normal but sgminer isn't showing accepted shares and I'm not used to my temps being so low, so I am wondering if I am configured right.

It also doesn't show the stratum address or pool I am connected too.

The GPU's are Gigabyte R9 270's

Code:
GPU_MAX_ALLOC_PERCENT=100

sgminer -d 0,1,2 -k darkcoin -o stratum+tcp://stratum1.xxx.xxx:3334 -u xxx.1 -p xxxx1 -I 18 -g 4 -w 128




Yes that is fairly normal
You could try pushing your clock speeds a little more since the temps are lower
At the rate you are mining it will take about 20 min to show 1 accepted since you are getting about .055 per min
--name is the command to set the pool name (use --poolname if that doesn't work)
legendary
Activity: 1148
Merit: 1001
A couple of 4 Sapphire Radeon 7770 rigs here with Windows 8.1 Update 1. Using the command "--auto-fan" triggers a crash every time. Last sph-sgminer version compiled for Windows.

Without the auto-fan command I'm getting 450 KH/s (darkcoin kernel) with every card (1.8 MH/s per rig) wich seems pretty nice.
newbie
Activity: 18
Merit: 0
Can someone point me too the correct libCURL download, I thought I downloaded the correct libcurl but the website is a little vague.
I downloaded the curl7.0.36.zip (third down from the top). http://curl.haxx.se/download.html
I get this error upon ./configure

Code:
configure: WARNING: Could not find curses library - if you want a TUI, install libncurses-dev or pdcurses-dev
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LIBCURL... no
checking for LIBCURL... no
configure: error: Missing required libcurl dev >= 7.18.2

(This is after a plethora of checks.)

Thanks
-erik
hero member
Activity: 658
Merit: 500
Does this look normal?  I hadn't tried mining X11 algorithm yet.   In the pool I am mining in, it shows my stats as normal but sgminer isn't showing accepted shares and I'm not used to my temps being so low, so I am wondering if I am configured right.

It also doesn't show the stratum address or pool I am connected too.

The GPU's are Gigabyte R9 270's

Code:
GPU_MAX_ALLOC_PERCENT=100

sgminer -d 0,1,2 -k darkcoin -o stratum+tcp://stratum1.xxx.xxx:3334 -u xxx.1 -p xxxx1 -I 18 -g 4 -w 128



newbie
Activity: 18
Merit: 0
Can somebody help me set up sph-sgminer for ubuntu.
I have downloaded it, now how do i compile?
Can somebody provide me with some directions?
Thanks
-erik
Did you try the method mentioned at the top of this page?

Yes, I get an error that says I needed to download git, so i did.
When I enter autoreconf -fvi I get the following:
error: possibly undefined macro: AC_PROG_LIBTOOL
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
 
do you have all the dependencies?

this is from the readme.md file

### Dependencies

Mandatory:

* [curl dev library](http://curl.haxx.se/libcurl/) - `libcurl4-openssl-dev` on Debian
* [pkg-config](http://www.freedesktop.org/wiki/Software/pkg-config)
* [libtool](http://www.gnu.org/software/libtool/)
* [AMD APP SDK](http://developer.amd.com/tools-and-sdks/heterogeneous-computing/amd-accelerated-parallel-processing-app-sdk/downloads/)   - available under various names as a package on different GNU/Linux distributions

Optional:

* curses dev library - `libncurses5-dev` on Debian or `libpdcurses` on WIN32, for text user interface
* [AMD ADL SDK](http://developer.amd.com/tools-and-sdks/graphics-development/display-library-adl-sdk/) - version 6, required for ATI GPU monitoring & clocking

If building from git:

* autoconf
* automake

EDIT: i just noticed this on the OP

Quote
Building on Linux:
Code:
./autogen.sh
./configure
make
You need a couple of dependencies beforehand. When in doubt, see README.
Hey, thanks for the help.
I have all the dependencies and i am currently following these outlined steps:

git clone git://github.com/prettyhatemachine/sph-sgminer.git
cd sph-sgminer
copy ADL files to ADL_SDK (look in this folder for where to get them)
autoreconf -fvi
./configure CFLAGS="-O2 -Wall -march=native" --enable-opencl
make
then to run it
./sgminer -k darkcoin -o : -u -p -I 18

I successfully completed step 1,2, and 3, and i now get the following upon entering step 4 (autoreconf -fvi).

Code:
Can't exec "libtoolize": No such file or directory at /usr/bin/autoreconf line 195.
Use of uninitialized value in pattern match (m//) at /usr/bin/autoreconf line 195.
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
autoreconf: configure.ac: tracing
autoreconf: configure.ac: adding subdirectory compat/jansson-2.5 to autoreconf
autoreconf: Entering directory `compat/jansson-2.5'
autoreconf: configure.ac: not using Libtool
autoreconf: running: /usr/bin/autoconf --force
configure.ac:14: error: possibly undefined macro: AC_PROG_LIBTOOL
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
autoreconf: /usr/bin/autoconf failed with exit status: 1

I have been searching on how to fix this error, which has only led me to more questions:
Why is there a lower directory titled "sph-sgminer" under the "sph-sgminer-master" directory?
I noticed that there was an ADL_SDK (empty) folder under the lower directory as well, should I include the ADL_SDK file in this folder too?
Does the libtool dependency need to be placed in a specific folder as well? (did I miss something?)
Why do I get this error?

hmm sph-sgminer-master is the one you downloaded manually
sph-sgminer is the one that you downloaded with the git command
try deleting both folders then

git clone git://github.com/prettyhatemachine/sph-sgminer.git
cd sph-sgminer
copy ADL files to ADL_SDK (look in this folder for where to get them)
./autogen.sh
./configure
make

Okay, so I followed your directions, got to the step "./auogen.sh" and I get the following:
Code:
Can't exec "libtoolize": No such file or directory at /usr/bin/autoreconf line 195.
Use of uninitialized value in pattern match (m//) at /usr/bin/autoreconf line 195.
hmm not sure but it seems like you may be missing libtool
maybe try reinstalling it
* [libtool](http://www.gnu.org/software/libtool/)
if that doesnt do it then i am out of ideas


Alright, well thanks. Wink
I have libtool downloaded, something else is wrong. Huh
If anyone can help it would be greatly appreciated.
Thanks
-erik

Are you sure it's installed? Do:
Code:
sudo apt-get install libtool
Hey thanks, but I fixed the problem! Grin
Thanks for your help though.
If anyone else has a problem relating to line 195 after this command: autoreconf -fvi.
Then enter the following in the ubuntu terminal:
Code:
sudo apt-get update && sudo apt-get install autotools-dev libltdl-dev libtool autoconf autopoint
Thanks again for everyones help! Grin
phm
full member
Activity: 378
Merit: 110
DATABLOCKCHAIN.IO SALE IS LIVE | MVP @ DBC.IO
Can somebody help me set up sph-sgminer for ubuntu.
I have downloaded it, now how do i compile?
Can somebody provide me with some directions?
Thanks
-erik
Did you try the method mentioned at the top of this page?

Yes, I get an error that says I needed to download git, so i did.
When I enter autoreconf -fvi I get the following:
error: possibly undefined macro: AC_PROG_LIBTOOL
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
 
do you have all the dependencies?

this is from the readme.md file

### Dependencies

Mandatory:

* [curl dev library](http://curl.haxx.se/libcurl/) - `libcurl4-openssl-dev` on Debian
* [pkg-config](http://www.freedesktop.org/wiki/Software/pkg-config)
* [libtool](http://www.gnu.org/software/libtool/)
* [AMD APP SDK](http://developer.amd.com/tools-and-sdks/heterogeneous-computing/amd-accelerated-parallel-processing-app-sdk/downloads/)   - available under various names as a package on different GNU/Linux distributions

Optional:

* curses dev library - `libncurses5-dev` on Debian or `libpdcurses` on WIN32, for text user interface
* [AMD ADL SDK](http://developer.amd.com/tools-and-sdks/graphics-development/display-library-adl-sdk/) - version 6, required for ATI GPU monitoring & clocking

If building from git:

* autoconf
* automake

EDIT: i just noticed this on the OP

Quote
Building on Linux:
Code:
./autogen.sh
./configure
make
You need a couple of dependencies beforehand. When in doubt, see README.
Hey, thanks for the help.
I have all the dependencies and i am currently following these outlined steps:

git clone git://github.com/prettyhatemachine/sph-sgminer.git
cd sph-sgminer
copy ADL files to ADL_SDK (look in this folder for where to get them)
autoreconf -fvi
./configure CFLAGS="-O2 -Wall -march=native" --enable-opencl
make
then to run it
./sgminer -k darkcoin -o : -u -p -I 18

I successfully completed step 1,2, and 3, and i now get the following upon entering step 4 (autoreconf -fvi).

Code:
Can't exec "libtoolize": No such file or directory at /usr/bin/autoreconf line 195.
Use of uninitialized value in pattern match (m//) at /usr/bin/autoreconf line 195.
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
autoreconf: configure.ac: tracing
autoreconf: configure.ac: adding subdirectory compat/jansson-2.5 to autoreconf
autoreconf: Entering directory `compat/jansson-2.5'
autoreconf: configure.ac: not using Libtool
autoreconf: running: /usr/bin/autoconf --force
configure.ac:14: error: possibly undefined macro: AC_PROG_LIBTOOL
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
autoreconf: /usr/bin/autoconf failed with exit status: 1

I have been searching on how to fix this error, which has only led me to more questions:
Why is there a lower directory titled "sph-sgminer" under the "sph-sgminer-master" directory?
I noticed that there was an ADL_SDK (empty) folder under the lower directory as well, should I include the ADL_SDK file in this folder too?
Does the libtool dependency need to be placed in a specific folder as well? (did I miss something?)
Why do I get this error?

hmm sph-sgminer-master is the one you downloaded manually
sph-sgminer is the one that you downloaded with the git command
try deleting both folders then

git clone git://github.com/prettyhatemachine/sph-sgminer.git
cd sph-sgminer
copy ADL files to ADL_SDK (look in this folder for where to get them)
./autogen.sh
./configure
make

Okay, so I followed your directions, got to the step "./auogen.sh" and I get the following:
Code:
Can't exec "libtoolize": No such file or directory at /usr/bin/autoreconf line 195.
Use of uninitialized value in pattern match (m//) at /usr/bin/autoreconf line 195.
hmm not sure but it seems like you may be missing libtool
maybe try reinstalling it
* [libtool](http://www.gnu.org/software/libtool/)
if that doesnt do it then i am out of ideas


Alright, well thanks. Wink
I have libtool downloaded, something else is wrong. Huh
If anyone can help it would be greatly appreciated.
Thanks
-erik

Are you sure it's installed? Do:
Code:
sudo apt-get install libtool
newbie
Activity: 18
Merit: 0
Can somebody help me set up sph-sgminer for ubuntu.
I have downloaded it, now how do i compile?
Can somebody provide me with some directions?
Thanks
-erik
Did you try the method mentioned at the top of this page?

Yes, I get an error that says I needed to download git, so i did.
When I enter autoreconf -fvi I get the following:
error: possibly undefined macro: AC_PROG_LIBTOOL
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
 
do you have all the dependencies?

this is from the readme.md file

### Dependencies

Mandatory:

* [curl dev library](http://curl.haxx.se/libcurl/) - `libcurl4-openssl-dev` on Debian
* [pkg-config](http://www.freedesktop.org/wiki/Software/pkg-config)
* [libtool](http://www.gnu.org/software/libtool/)
* [AMD APP SDK](http://developer.amd.com/tools-and-sdks/heterogeneous-computing/amd-accelerated-parallel-processing-app-sdk/downloads/)   - available under various names as a package on different GNU/Linux distributions

Optional:

* curses dev library - `libncurses5-dev` on Debian or `libpdcurses` on WIN32, for text user interface
* [AMD ADL SDK](http://developer.amd.com/tools-and-sdks/graphics-development/display-library-adl-sdk/) - version 6, required for ATI GPU monitoring & clocking

If building from git:

* autoconf
* automake

EDIT: i just noticed this on the OP

Quote
Building on Linux:
Code:
./autogen.sh
./configure
make
You need a couple of dependencies beforehand. When in doubt, see README.
Hey, thanks for the help.
I have all the dependencies and i am currently following these outlined steps:

git clone git://github.com/prettyhatemachine/sph-sgminer.git
cd sph-sgminer
copy ADL files to ADL_SDK (look in this folder for where to get them)
autoreconf -fvi
./configure CFLAGS="-O2 -Wall -march=native" --enable-opencl
make
then to run it
./sgminer -k darkcoin -o : -u -p -I 18

I successfully completed step 1,2, and 3, and i now get the following upon entering step 4 (autoreconf -fvi).

Code:
Can't exec "libtoolize": No such file or directory at /usr/bin/autoreconf line 195.
Use of uninitialized value in pattern match (m//) at /usr/bin/autoreconf line 195.
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
autoreconf: configure.ac: tracing
autoreconf: configure.ac: adding subdirectory compat/jansson-2.5 to autoreconf
autoreconf: Entering directory `compat/jansson-2.5'
autoreconf: configure.ac: not using Libtool
autoreconf: running: /usr/bin/autoconf --force
configure.ac:14: error: possibly undefined macro: AC_PROG_LIBTOOL
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
autoreconf: /usr/bin/autoconf failed with exit status: 1

I have been searching on how to fix this error, which has only led me to more questions:
Why is there a lower directory titled "sph-sgminer" under the "sph-sgminer-master" directory?
I noticed that there was an ADL_SDK (empty) folder under the lower directory as well, should I include the ADL_SDK file in this folder too?
Does the libtool dependency need to be placed in a specific folder as well? (did I miss something?)
Why do I get this error?

hmm sph-sgminer-master is the one you downloaded manually
sph-sgminer is the one that you downloaded with the git command
try deleting both folders then

git clone git://github.com/prettyhatemachine/sph-sgminer.git
cd sph-sgminer
copy ADL files to ADL_SDK (look in this folder for where to get them)
./autogen.sh
./configure
make

Okay, so I followed your directions, got to the step "./auogen.sh" and I get the following:
Code:
Can't exec "libtoolize": No such file or directory at /usr/bin/autoreconf line 195.
Use of uninitialized value in pattern match (m//) at /usr/bin/autoreconf line 195.
hmm not sure but it seems like you may be missing libtool
maybe try reinstalling it
* [libtool](http://www.gnu.org/software/libtool/)
if that doesnt do it then i am out of ideas


Alright, well thanks. Wink
I have libtool downloaded, something else is wrong. Huh
If anyone can help it would be greatly appreciated.
Thanks
-erik
hero member
Activity: 658
Merit: 500
Can somebody help me set up sph-sgminer for ubuntu.
I have downloaded it, now how do i compile?
Can somebody provide me with some directions?
Thanks
-erik
Did you try the method mentioned at the top of this page?

Yes, I get an error that says I needed to download git, so i did.
When I enter autoreconf -fvi I get the following:
error: possibly undefined macro: AC_PROG_LIBTOOL
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
 
do you have all the dependencies?

this is from the readme.md file

### Dependencies

Mandatory:

* [curl dev library](http://curl.haxx.se/libcurl/) - `libcurl4-openssl-dev` on Debian
* [pkg-config](http://www.freedesktop.org/wiki/Software/pkg-config)
* [libtool](http://www.gnu.org/software/libtool/)
* [AMD APP SDK](http://developer.amd.com/tools-and-sdks/heterogeneous-computing/amd-accelerated-parallel-processing-app-sdk/downloads/)   - available under various names as a package on different GNU/Linux distributions

Optional:

* curses dev library - `libncurses5-dev` on Debian or `libpdcurses` on WIN32, for text user interface
* [AMD ADL SDK](http://developer.amd.com/tools-and-sdks/graphics-development/display-library-adl-sdk/) - version 6, required for ATI GPU monitoring & clocking

If building from git:

* autoconf
* automake

EDIT: i just noticed this on the OP

Quote
Building on Linux:
Code:
./autogen.sh
./configure
make
You need a couple of dependencies beforehand. When in doubt, see README.
Hey, thanks for the help.
I have all the dependencies and i am currently following these outlined steps:

git clone git://github.com/prettyhatemachine/sph-sgminer.git
cd sph-sgminer
copy ADL files to ADL_SDK (look in this folder for where to get them)
autoreconf -fvi
./configure CFLAGS="-O2 -Wall -march=native" --enable-opencl
make
then to run it
./sgminer -k darkcoin -o : -u -p -I 18

I successfully completed step 1,2, and 3, and i now get the following upon entering step 4 (autoreconf -fvi).

Code:
Can't exec "libtoolize": No such file or directory at /usr/bin/autoreconf line 195.
Use of uninitialized value in pattern match (m//) at /usr/bin/autoreconf line 195.
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
autoreconf: configure.ac: tracing
autoreconf: configure.ac: adding subdirectory compat/jansson-2.5 to autoreconf
autoreconf: Entering directory `compat/jansson-2.5'
autoreconf: configure.ac: not using Libtool
autoreconf: running: /usr/bin/autoconf --force
configure.ac:14: error: possibly undefined macro: AC_PROG_LIBTOOL
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
autoreconf: /usr/bin/autoconf failed with exit status: 1

I have been searching on how to fix this error, which has only led me to more questions:
Why is there a lower directory titled "sph-sgminer" under the "sph-sgminer-master" directory?
I noticed that there was an ADL_SDK (empty) folder under the lower directory as well, should I include the ADL_SDK file in this folder too?
Does the libtool dependency need to be placed in a specific folder as well? (did I miss something?)
Why do I get this error?

hmm sph-sgminer-master is the one you downloaded manually
sph-sgminer is the one that you downloaded with the git command
try deleting both folders then

git clone git://github.com/prettyhatemachine/sph-sgminer.git
cd sph-sgminer
copy ADL files to ADL_SDK (look in this folder for where to get them)
./autogen.sh
./configure
make

Okay, so I followed your directions, got to the step "./auogen.sh" and I get the following:
Code:
Can't exec "libtoolize": No such file or directory at /usr/bin/autoreconf line 195.
Use of uninitialized value in pattern match (m//) at /usr/bin/autoreconf line 195.
hmm not sure but it seems like you may be missing libtool
maybe try reinstalling it
* [libtool](http://www.gnu.org/software/libtool/)
if that doesnt do it then i am out of ideas
sr. member
Activity: 1064
Merit: 253
That looks correct to me
The reason for the small number of accepts is because x11 works on very small units if you look you will see you are doing .061 WU/m which is about .6 accepted every 10 min
I suppose some decimal points on accepted and rejected should be added

edit: also you will not show any coins earned untill the pool finds a block, so if there if the pool has a small hash rate it may take a while

Cheers mate, much appreciated!
newbie
Activity: 18
Merit: 0
Can somebody help me set up sph-sgminer for ubuntu.
I have downloaded it, now how do i compile?
Can somebody provide me with some directions?
Thanks
-erik
Did you try the method mentioned at the top of this page?

Yes, I get an error that says I needed to download git, so i did.
When I enter autoreconf -fvi I get the following:
error: possibly undefined macro: AC_PROG_LIBTOOL
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
 
do you have all the dependencies?

this is from the readme.md file

### Dependencies

Mandatory:

* [curl dev library](http://curl.haxx.se/libcurl/) - `libcurl4-openssl-dev` on Debian
* [pkg-config](http://www.freedesktop.org/wiki/Software/pkg-config)
* [libtool](http://www.gnu.org/software/libtool/)
* [AMD APP SDK](http://developer.amd.com/tools-and-sdks/heterogeneous-computing/amd-accelerated-parallel-processing-app-sdk/downloads/)   - available under various names as a package on different GNU/Linux distributions

Optional:

* curses dev library - `libncurses5-dev` on Debian or `libpdcurses` on WIN32, for text user interface
* [AMD ADL SDK](http://developer.amd.com/tools-and-sdks/graphics-development/display-library-adl-sdk/) - version 6, required for ATI GPU monitoring & clocking

If building from git:

* autoconf
* automake

EDIT: i just noticed this on the OP

Quote
Building on Linux:
Code:
./autogen.sh
./configure
make
You need a couple of dependencies beforehand. When in doubt, see README.
Hey, thanks for the help.
I have all the dependencies and i am currently following these outlined steps:

git clone git://github.com/prettyhatemachine/sph-sgminer.git
cd sph-sgminer
copy ADL files to ADL_SDK (look in this folder for where to get them)
autoreconf -fvi
./configure CFLAGS="-O2 -Wall -march=native" --enable-opencl
make
then to run it
./sgminer -k darkcoin -o : -u -p -I 18

I successfully completed step 1,2, and 3, and i now get the following upon entering step 4 (autoreconf -fvi).

Code:
Can't exec "libtoolize": No such file or directory at /usr/bin/autoreconf line 195.
Use of uninitialized value in pattern match (m//) at /usr/bin/autoreconf line 195.
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
autoreconf: configure.ac: tracing
autoreconf: configure.ac: adding subdirectory compat/jansson-2.5 to autoreconf
autoreconf: Entering directory `compat/jansson-2.5'
autoreconf: configure.ac: not using Libtool
autoreconf: running: /usr/bin/autoconf --force
configure.ac:14: error: possibly undefined macro: AC_PROG_LIBTOOL
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
autoreconf: /usr/bin/autoconf failed with exit status: 1

I have been searching on how to fix this error, which has only led me to more questions:
Why is there a lower directory titled "sph-sgminer" under the "sph-sgminer-master" directory?
I noticed that there was an ADL_SDK (empty) folder under the lower directory as well, should I include the ADL_SDK file in this folder too?
Does the libtool dependency need to be placed in a specific folder as well? (did I miss something?)
Why do I get this error?

hmm sph-sgminer-master is the one you downloaded manually
sph-sgminer is the one that you downloaded with the git command
try deleting both folders then

git clone git://github.com/prettyhatemachine/sph-sgminer.git
cd sph-sgminer
copy ADL files to ADL_SDK (look in this folder for where to get them)
./autogen.sh
./configure
make

Okay, so I followed your directions, got to the step "./auogen.sh" and I get the following:
Code:
Can't exec "libtoolize": No such file or directory at /usr/bin/autoreconf line 195.
Use of uninitialized value in pattern match (m//) at /usr/bin/autoreconf line 195.
hero member
Activity: 658
Merit: 500
Can somebody help me set up sph-sgminer for ubuntu.
I have downloaded it, now how do i compile?
Can somebody provide me with some directions?
Thanks
-erik
Did you try the method mentioned at the top of this page?

Yes, I get an error that says I needed to download git, so i did.
When I enter autoreconf -fvi I get the following:
error: possibly undefined macro: AC_PROG_LIBTOOL
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
 
do you have all the dependencies?

this is from the readme.md file

### Dependencies

Mandatory:

* [curl dev library](http://curl.haxx.se/libcurl/) - `libcurl4-openssl-dev` on Debian
* [pkg-config](http://www.freedesktop.org/wiki/Software/pkg-config)
* [libtool](http://www.gnu.org/software/libtool/)
* [AMD APP SDK](http://developer.amd.com/tools-and-sdks/heterogeneous-computing/amd-accelerated-parallel-processing-app-sdk/downloads/)   - available under various names as a package on different GNU/Linux distributions

Optional:

* curses dev library - `libncurses5-dev` on Debian or `libpdcurses` on WIN32, for text user interface
* [AMD ADL SDK](http://developer.amd.com/tools-and-sdks/graphics-development/display-library-adl-sdk/) - version 6, required for ATI GPU monitoring & clocking

If building from git:

* autoconf
* automake

EDIT: i just noticed this on the OP

Quote
Building on Linux:
Code:
./autogen.sh
./configure
make
You need a couple of dependencies beforehand. When in doubt, see README.
Hey, thanks for the help.
I have all the dependencies and i am currently following these outlined steps:

git clone git://github.com/prettyhatemachine/sph-sgminer.git
cd sph-sgminer
copy ADL files to ADL_SDK (look in this folder for where to get them)
autoreconf -fvi
./configure CFLAGS="-O2 -Wall -march=native" --enable-opencl
make
then to run it
./sgminer -k darkcoin -o : -u -p -I 18

I successfully completed step 1,2, and 3, and i now get the following upon entering step 4 (autoreconf -fvi).

Code:
Can't exec "libtoolize": No such file or directory at /usr/bin/autoreconf line 195.
Use of uninitialized value in pattern match (m//) at /usr/bin/autoreconf line 195.
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
autoreconf: configure.ac: tracing
autoreconf: configure.ac: adding subdirectory compat/jansson-2.5 to autoreconf
autoreconf: Entering directory `compat/jansson-2.5'
autoreconf: configure.ac: not using Libtool
autoreconf: running: /usr/bin/autoconf --force
configure.ac:14: error: possibly undefined macro: AC_PROG_LIBTOOL
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
autoreconf: /usr/bin/autoconf failed with exit status: 1

I have been searching on how to fix this error, which has only led me to more questions:
Why is there a lower directory titled "sph-sgminer" under the "sph-sgminer-master" directory?
I noticed that there was an ADL_SDK (empty) folder under the lower directory as well, should I include the ADL_SDK file in this folder too?
Does the libtool dependency need to be placed in a specific folder as well? (did I miss something?)
Why do I get this error?

hmm sph-sgminer-master is the one you downloaded manually
sph-sgminer is the one that you downloaded with the git command
try deleting both folders then

git clone git://github.com/prettyhatemachine/sph-sgminer.git
cd sph-sgminer
copy ADL files to ADL_SDK (look in this folder for where to get them)
./autogen.sh
./configure
make
legendary
Activity: 1624
Merit: 1001
All cryptos are FIAT digital currency. Do not use.
my R9 270X get 1.3Mh/s and WU:0.019/m, is my sharerate 0.019/m normal??
that is about normal for darkcoin

With darkcoin, I used to see 1.4 mhash on one of my 7870/pitcairns and a bit over 1.7 on both the 7870xt/tahitis. Then something I did cost me 100 khash per gpu after a setting was changed and/or the driver re-install.

wtf ! lol
newbie
Activity: 18
Merit: 0
Can somebody help me set up sph-sgminer for ubuntu.
I have downloaded it, now how do i compile?
Can somebody provide me with some directions?
Thanks
-erik
Did you try the method mentioned at the top of this page?

Yes, I get an error that says I needed to download git, so i did.
When I enter autoreconf -fvi I get the following:
error: possibly undefined macro: AC_PROG_LIBTOOL
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
 
do you have all the dependencies?

this is from the readme.md file

### Dependencies

Mandatory:

* [curl dev library](http://curl.haxx.se/libcurl/) - `libcurl4-openssl-dev` on Debian
* [pkg-config](http://www.freedesktop.org/wiki/Software/pkg-config)
* [libtool](http://www.gnu.org/software/libtool/)
* [AMD APP SDK](http://developer.amd.com/tools-and-sdks/heterogeneous-computing/amd-accelerated-parallel-processing-app-sdk/downloads/)   - available under various names as a package on different GNU/Linux distributions

Optional:

* curses dev library - `libncurses5-dev` on Debian or `libpdcurses` on WIN32, for text user interface
* [AMD ADL SDK](http://developer.amd.com/tools-and-sdks/graphics-development/display-library-adl-sdk/) - version 6, required for ATI GPU monitoring & clocking

If building from git:

* autoconf
* automake

EDIT: i just noticed this on the OP

Quote
Building on Linux:
Code:
./autogen.sh
./configure
make
You need a couple of dependencies beforehand. When in doubt, see README.
Hey, thanks for the help.
I have all the dependencies and i am currently following these outlined steps:

git clone git://github.com/prettyhatemachine/sph-sgminer.git
cd sph-sgminer
copy ADL files to ADL_SDK (look in this folder for where to get them)
autoreconf -fvi
./configure CFLAGS="-O2 -Wall -march=native" --enable-opencl
make
then to run it
./sgminer -k darkcoin -o : -u -p -I 18

I successfully completed step 1,2, and 3, and i now get the following upon entering step 4 (autoreconf -fvi).

Code:
Can't exec "libtoolize": No such file or directory at /usr/bin/autoreconf line 195.
Use of uninitialized value in pattern match (m//) at /usr/bin/autoreconf line 195.
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
autoreconf: configure.ac: tracing
autoreconf: configure.ac: adding subdirectory compat/jansson-2.5 to autoreconf
autoreconf: Entering directory `compat/jansson-2.5'
autoreconf: configure.ac: not using Libtool
autoreconf: running: /usr/bin/autoconf --force
configure.ac:14: error: possibly undefined macro: AC_PROG_LIBTOOL
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
autoreconf: /usr/bin/autoconf failed with exit status: 1

I have been searching on how to fix this error, which has only led me to more questions:
Why is there a lower directory titled "sph-sgminer" under the "sph-sgminer-master" directory?
I noticed that there was an ADL_SDK (empty) folder under the lower directory as well, should I include the ADL_SDK file in this folder too?
Does the libtool dependency need to be placed in a specific folder as well? (did I miss something?)
Why do I get this error?
hero member
Activity: 658
Merit: 500
my R9 270X get 1.3Mh/s and WU:0.019/m, is my sharerate 0.019/m normal??
that is about normal for darkcoin
hero member
Activity: 658
Merit: 500
getting following error on Windows Vista

Code:
[13:46:45] Started sgminer 4.1.0-103-g00015
[13:46:55] WARNING: GPU_MAX_ALLOC_PERCENT is not specified!
[13:46:55] WARNING: GPU_USE_SYNC_OBJECTS is not specified!
[13:46:56] Error -11: Building Program (clBuildProgram)
[13:46:56] "C:\Users\XXX\AppData\Local\Temp\OCL456.tmp.cl", line 762: warning: v
ariable
          "ySIZE" was declared but never referenced
        const uint ySIZE = (1024/LOOKUP_GAP+(1024%LOOKUP_GAP>0));
                   ^

"C:\Users\XXX\AppData\Local\Temp\OCL456.tmp.cl",
[13:46:56] Failed to init GPU thread 0, disabling device 0
[13:46:56] Restarting the GPU from the menu will not fix this.
[13:46:56] Try restarting sgminer.
Press enter to continue:

Thanks
not sure if this is what is wrong but try running the miner from its directory, that usually solves error -11 problems

Quote
Common problems and solutions:
Error -11: Building Program (clBuildProgram) - execute miner from the directory where "kernel" directory is present
HW errors - select correct mining algorithm with -k option
still does not work - update Catalyst drivers to version 13.12
member
Activity: 117
Merit: 10
PC repair master, engeneer, radioamateur
my R9 270X get 1.3Mh/s and WU:0.019/m, is my sharerate 0.019/m normal??
hero member
Activity: 658
Merit: 500
Can somebody help me set up sph-sgminer for ubuntu.
I have downloaded it, now how do i compile?
Can somebody provide me with some directions?
Thanks
-erik
Did you try the method mentioned at the top of this page?

Yes, I get an error that says I needed to download git, so i did.
When I enter autoreconf -fvi I get the following:
error: possibly undefined macro: AC_PROG_LIBTOOL
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
 
do you have all the dependencies?

this is from the readme.md file

### Dependencies

Mandatory:

* [curl dev library](http://curl.haxx.se/libcurl/) - `libcurl4-openssl-dev` on Debian
* [pkg-config](http://www.freedesktop.org/wiki/Software/pkg-config)
* [libtool](http://www.gnu.org/software/libtool/)
* [AMD APP SDK](http://developer.amd.com/tools-and-sdks/heterogeneous-computing/amd-accelerated-parallel-processing-app-sdk/downloads/)   - available under various names as a package on different GNU/Linux distributions

Optional:

* curses dev library - `libncurses5-dev` on Debian or `libpdcurses` on WIN32, for text user interface
* [AMD ADL SDK](http://developer.amd.com/tools-and-sdks/graphics-development/display-library-adl-sdk/) - version 6, required for ATI GPU monitoring & clocking

If building from git:

* autoconf
* automake

EDIT: i just noticed this on the OP

Quote
Building on Linux:
Code:
./autogen.sh
./configure
make
You need a couple of dependencies beforehand. When in doubt, see README.
sr. member
Activity: 473
Merit: 250
"Proof-of-Asset Protocol"
getting following error on Windows Vista

Code:
[13:46:45] Started sgminer 4.1.0-103-g00015
[13:46:55] WARNING: GPU_MAX_ALLOC_PERCENT is not specified!
[13:46:55] WARNING: GPU_USE_SYNC_OBJECTS is not specified!
[13:46:56] Error -11: Building Program (clBuildProgram)
[13:46:56] "C:\Users\XXX\AppData\Local\Temp\OCL456.tmp.cl", line 762: warning: v
ariable
          "ySIZE" was declared but never referenced
        const uint ySIZE = (1024/LOOKUP_GAP+(1024%LOOKUP_GAP>0));
                   ^

"C:\Users\XXX\AppData\Local\Temp\OCL456.tmp.cl",
[13:46:56] Failed to init GPU thread 0, disabling device 0
[13:46:56] Restarting the GPU from the menu will not fix this.
[13:46:56] Try restarting sgminer.
Press enter to continue:

Thanks
newbie
Activity: 18
Merit: 0
Can somebody help me set up sph-sgminer for ubuntu.
I have downloaded it, now how do i compile?
Can somebody provide me with some directions?
Thanks
-erik
Did you try the method mentioned at the top of this page?

Yes, I get an error that says I needed to download git, so i did.
When I enter autoreconf -fvi I get the following:
error: possibly undefined macro: AC_PROG_LIBTOOL
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
 
Pages:
Jump to: