Bitcoin Forum
May 05, 2024, 10:00:29 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 3 »  All
  Print  
Author Topic: [ANN] Sia GPU Miner  (Read 10820 times)
Taek (OP)
Hero Member
*****
Offline Offline

Activity: 543
Merit: 501



View Profile
June 03, 2015, 04:25:26 PM
Last edit: June 03, 2015, 08:35:41 PM by Taek
 #1

Sia (www.siacoin.com) is a new decentralized storage platform, we're launching on June 7th. We've just completed a gpu miner for Sia. The gpu miner is incompatible with the download available at the website, so if you want to try out the gpu miner during beta, you'll have to build both Sia and the gpu miner yourself.

Sia repository here: https://github.com/NebulousLabs/Sia
GPU Miner here: https://github.com/NebulousLabs/Sia-GPU-Miner

Sia's POW algorithm is blake2b. As far as I'm aware, we have the only open source GPU blake2b implementation.

in the Sia repository, run 'make release'. Then run siad. The GPU needs to talk to siad while it is mining. To make the gpu miner, run 'make'. During the first few minutes, the GPU miner will be optimizing the number of cores in use. It should display a hashrate.

This is our first time making a GPU miner, let us know what you think. The currency launches on June 7th, we'd be excited to have you on board.
1714903229
Hero Member
*
Offline Offline

Posts: 1714903229

View Profile Personal Message (Offline)

Ignore
1714903229
Reply with quote  #2

1714903229
Report to moderator
"Governments are good at cutting off the heads of a centrally controlled networks like Napster, but pure P2P networks like Gnutella and Tor seem to be holding their own." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
anatolikostis
Legendary
*
Offline Offline

Activity: 2026
Merit: 1005



View Profile
June 03, 2015, 08:45:27 PM
 #2

git cloned both repo in MinGV (win7 x64 - I always compile miner in such way)
but "make" for gpu-miner/"make release" for sia - doesn`t work.
Code:
xxxx@rap ~/sia
$ make release
go install -a ./...
make: go: Command not found
make: *** [release] Error 127

Code:
xxxx@rap ~/sia-gpu-miner
$ make
gcc gpu-miner.o network.o -o gpu-miner -lOpenCL -lcurl
gpu-miner.o:gpu-miner.c:(.text+0x13e): undefined reference to `_imp__curl_easy_i
nit'
network.o:network.c:(.text+0x16a): undefined reference to `_imp__curl_easy_reset
'
network.o:network.c:(.text+0x18d): undefined reference to `_imp__curl_easy_setop
t'
network.o:network.c:(.text+0x1b0): undefined reference to `_imp__curl_easy_setop
t'
network.o:network.c:(.text+0x1d2): undefined reference to `_imp__curl_easy_setop
t'
network.o:network.c:(.text+0x1df): undefined reference to `_imp__curl_easy_perfo
rm'
network.o:network.c:(.text+0x1f5): undefined reference to `_imp__curl_easy_strer
ror'
network.o:network.c:(.text+0x32b): undefined reference to `_imp__curl_easy_reset
'
network.o:network.c:(.text+0x34e): undefined reference to `_imp__curl_easy_setop
t'
network.o:network.c:(.text+0x371): undefined reference to `_imp__curl_easy_setop
t'
network.o:network.c:(.text+0x39a): undefined reference to `_imp__curl_easy_setop
t'
network.o:network.c:(.text+0x3bc): undefined reference to `_imp__curl_easy_setop
t'
network.o:network.c:(.text+0x3c9): undefined reference to `_imp__curl_easy_perfo
rm'
network.o:network.c:(.text+0x3df): undefined reference to `_imp__curl_easy_strer
ror'
c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: network.o:
 bad reloc address 0x20 in section `.eh_frame'
c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: final link
 failed: Invalid operation
collect2.exe: error: ld returned 1 exit status
make: *** [gpu-miner] Error 1

any suggestions?
Taek (OP)
Hero Member
*****
Offline Offline

Activity: 543
Merit: 501



View Profile
June 04, 2015, 01:14:52 AM
 #3

git cloned both repo in MinGV (win7 x64 - I always compile miner in such way)
but "make" for gpu-miner/"make release" for sia - doesn`t work.
Code:
xxxx@rap ~/sia
$ make release
go install -a ./...
make: go: Command not found
make: *** [release] Error 127

To make Sia you are going to need a golang compiler, this error means you don't have a go compiler.

Code:
xxxx@rap ~/sia-gpu-miner
$ make
gcc gpu-miner.o network.o -o gpu-miner -lOpenCL -lcurl
gpu-miner.o:gpu-miner.c:(.text+0x13e): undefined reference to `_imp__curl_easy_i
nit'
network.o:network.c:(.text+0x16a): undefined reference to `_imp__curl_easy_reset
'
network.o:network.c:(.text+0x18d): undefined reference to `_imp__curl_easy_setop
t'
network.o:network.c:(.text+0x1b0): undefined reference to `_imp__curl_easy_setop
t'
network.o:network.c:(.text+0x1d2): undefined reference to `_imp__curl_easy_setop
t'
network.o:network.c:(.text+0x1df): undefined reference to `_imp__curl_easy_perfo
rm'
network.o:network.c:(.text+0x1f5): undefined reference to `_imp__curl_easy_strer
ror'
network.o:network.c:(.text+0x32b): undefined reference to `_imp__curl_easy_reset
'
network.o:network.c:(.text+0x34e): undefined reference to `_imp__curl_easy_setop
t'
network.o:network.c:(.text+0x371): undefined reference to `_imp__curl_easy_setop
t'
network.o:network.c:(.text+0x39a): undefined reference to `_imp__curl_easy_setop
t'
network.o:network.c:(.text+0x3bc): undefined reference to `_imp__curl_easy_setop
t'
network.o:network.c:(.text+0x3c9): undefined reference to `_imp__curl_easy_perfo
rm'
network.o:network.c:(.text+0x3df): undefined reference to `_imp__curl_easy_strer
ror'
c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: network.o:
 bad reloc address 0x20 in section `.eh_frame'
c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: final link
 failed: Invalid operation
collect2.exe: error: ld returned 1 exit status
make: *** [gpu-miner] Error 1

any suggestions?

This makes it look like you don't have libCurl, which is how the miner talks to the daemon.
cwrmyy888
Member
**
Offline Offline

Activity: 81
Merit: 10


View Profile
June 07, 2015, 12:06:38 PM
 #4

How to use Sia-GPU-Miner-master ?

NO exe ?
djm34
Legendary
*
Offline Offline

Activity: 1400
Merit: 1050


View Profile WWW
June 07, 2015, 02:27:18 PM
 #5

will it work with standard sgminer/ccminer (and getwork/stratum stuff) or is it something entirely different ?


djm34 facebook page
BTC: 1NENYmxwZGHsKFmyjTc5WferTn5VTFb7Ze
Pledge for neoscrypt ccminer to that address: 16UoC4DmTz2pvhFvcfTQrzkPTrXkWijzXw
Taek (OP)
Hero Member
*****
Offline Offline

Activity: 543
Merit: 501



View Profile
June 08, 2015, 02:50:13 PM
 #6

will it work with standard sgminer/ccminer (and getwork/stratum stuff) or is it something entirely different ?



It's entirely different. You can find binaries here: https://github.com/NebulousLabs/Sia-GPU-Miner/releases
go6ooo1212
Legendary
*
Offline Offline

Activity: 1512
Merit: 1000


quarkchain.io


View Profile
June 08, 2015, 02:57:40 PM
 #7

will it work with standard sgminer/ccminer (and getwork/stratum stuff) or is it something entirely different ?



It's entirely different. You can find binaries here: https://github.com/NebulousLabs/Sia-GPU-Miner/releases

Its working now to me either , but the rig shows activity only on one of the cards. Speed is about 32MH/s
Rabinovitch
Legendary
*
Offline Offline

Activity: 2030
Merit: 1076


BTCLife.global participant


View Profile
June 10, 2015, 08:46:53 AM
 #8

Still can't start this new miner release "as is", Sia_GPU-Miner-v1.0.1-win64. Why does it seems that Wolf0 is smarter than developers of this miner?..

Quote
D:\Distrib\Siacoin\Sia_GPU-Miner-v1.0.1-win64>sia_GPU-Miner.exe
Initializing...failed to get Device IDs: -1

Win7 x64, 14.6 RC catalyst driver.




From Siberia with love! Hosting by Rabinovitch!
Fundraising for BOINC Farm
Пpoфeccиoнaльнo зaнимaюcь paзвёpтывaниeм фepм (ASIC, GPU, BURST, STORJ, Filecoin), oбopyдoвaниeм пoмeщeний для мaйнингa.
Taek (OP)
Hero Member
*****
Offline Offline

Activity: 543
Merit: 501



View Profile
June 14, 2015, 02:39:19 PM
 #9

Still can't start this new miner release "as is", Sia_GPU-Miner-v1.0.1-win64. Why does it seems that Wolf0 is smarter than developers of this miner?..

Because Wolf0 has been doing gpu mining for a long time, and knows his way around miners much better than we do. When it comes to mining, Wolf0 definitely knows more than we do.

On that note, the master branch of the official Sia miner has some recent changes + optimizations, some of which were made by Wolf0 himself: https://github.com/NebulousLabs/Sia-GPU-Miner
ol92
Sr. Member
****
Offline Offline

Activity: 445
Merit: 255


View Profile
June 14, 2015, 04:02:01 PM
 #10

Still can't start this new miner release "as is", Sia_GPU-Miner-v1.0.1-win64. Why does it seems that Wolf0 is smarter than developers of this miner?..

Quote
D:\Distrib\Siacoin\Sia_GPU-Miner-v1.0.1-win64>sia_GPU-Miner.exe
Initializing...failed to get Device IDs: -1

Win7 x64, 14.6 RC catalyst driver.




With the last version you can specify -p1 : the opencl platform is usually 0 but in my case it was 1 : I had the same error than you, and now it works.
chrysophylax
Legendary
*
Offline Offline

Activity: 2814
Merit: 1091


--- ChainWorks Industries ---


View Profile WWW
June 16, 2015, 11:09:40 AM
 #11

git cloned both repo in MinGV (win7 x64 - I always compile miner in such way)
but "make" for gpu-miner/"make release" for sia - doesn`t work.
Code:
xxxx@rap ~/sia
$ make release
go install -a ./...
make: go: Command not found
make: *** [release] Error 127

To make Sia you are going to need a golang compiler, this error means you don't have a go compiler.

Code:
xxxx@rap ~/sia-gpu-miner
$ make
gcc gpu-miner.o network.o -o gpu-miner -lOpenCL -lcurl
gpu-miner.o:gpu-miner.c:(.text+0x13e): undefined reference to `_imp__curl_easy_i
nit'
network.o:network.c:(.text+0x16a): undefined reference to `_imp__curl_easy_reset
'
network.o:network.c:(.text+0x18d): undefined reference to `_imp__curl_easy_setop
t'
network.o:network.c:(.text+0x1b0): undefined reference to `_imp__curl_easy_setop
t'
network.o:network.c:(.text+0x1d2): undefined reference to `_imp__curl_easy_setop
t'
network.o:network.c:(.text+0x1df): undefined reference to `_imp__curl_easy_perfo
rm'
network.o:network.c:(.text+0x1f5): undefined reference to `_imp__curl_easy_strer
ror'
network.o:network.c:(.text+0x32b): undefined reference to `_imp__curl_easy_reset
'
network.o:network.c:(.text+0x34e): undefined reference to `_imp__curl_easy_setop
t'
network.o:network.c:(.text+0x371): undefined reference to `_imp__curl_easy_setop
t'
network.o:network.c:(.text+0x39a): undefined reference to `_imp__curl_easy_setop
t'
network.o:network.c:(.text+0x3bc): undefined reference to `_imp__curl_easy_setop
t'
network.o:network.c:(.text+0x3c9): undefined reference to `_imp__curl_easy_perfo
rm'
network.o:network.c:(.text+0x3df): undefined reference to `_imp__curl_easy_strer
ror'
c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: network.o:
 bad reloc address 0x20 in section `.eh_frame'
c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: final link
 failed: Invalid operation
collect2.exe: error: ld returned 1 exit status
make: *** [gpu-miner] Error 1

any suggestions?

This makes it look like you don't have libCurl, which is how the miner talks to the daemon.

so how is one to compile sia miner using go? ...

apart from the golang and dependencies that get installed with yum - what are the commands and procedures to compile sia gpuminer? ...

#crysx

chrysophylax
Legendary
*
Offline Offline

Activity: 2814
Merit: 1091


--- ChainWorks Industries ---


View Profile WWW
June 16, 2015, 11:22:59 AM
 #12

git cloned both repo in MinGV (win7 x64 - I always compile miner in such way)
but "make" for gpu-miner/"make release" for sia - doesn`t work.
Code:
xxxx@rap ~/sia
$ make release
go install -a ./...
make: go: Command not found
make: *** [release] Error 127

To make Sia you are going to need a golang compiler, this error means you don't have a go compiler.

Code:
xxxx@rap ~/sia-gpu-miner
$ make
gcc gpu-miner.o network.o -o gpu-miner -lOpenCL -lcurl
gpu-miner.o:gpu-miner.c:(.text+0x13e): undefined reference to `_imp__curl_easy_i
nit'
network.o:network.c:(.text+0x16a): undefined reference to `_imp__curl_easy_reset
'
network.o:network.c:(.text+0x18d): undefined reference to `_imp__curl_easy_setop
t'
network.o:network.c:(.text+0x1b0): undefined reference to `_imp__curl_easy_setop
t'
network.o:network.c:(.text+0x1d2): undefined reference to `_imp__curl_easy_setop
t'
network.o:network.c:(.text+0x1df): undefined reference to `_imp__curl_easy_perfo
rm'
network.o:network.c:(.text+0x1f5): undefined reference to `_imp__curl_easy_strer
ror'
network.o:network.c:(.text+0x32b): undefined reference to `_imp__curl_easy_reset
'
network.o:network.c:(.text+0x34e): undefined reference to `_imp__curl_easy_setop
t'
network.o:network.c:(.text+0x371): undefined reference to `_imp__curl_easy_setop
t'
network.o:network.c:(.text+0x39a): undefined reference to `_imp__curl_easy_setop
t'
network.o:network.c:(.text+0x3bc): undefined reference to `_imp__curl_easy_setop
t'
network.o:network.c:(.text+0x3c9): undefined reference to `_imp__curl_easy_perfo
rm'
network.o:network.c:(.text+0x3df): undefined reference to `_imp__curl_easy_strer
ror'
c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: network.o:
 bad reloc address 0x20 in section `.eh_frame'
c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: final link
 failed: Invalid operation
collect2.exe: error: ld returned 1 exit status
make: *** [gpu-miner] Error 1

any suggestions?

This makes it look like you don't have libCurl, which is how the miner talks to the daemon.

so how is one to compile sia miner using go? ...

apart from the golang and dependencies that get installed with yum - what are the commands and procedures to compile sia gpuminer? ...

#crysx

Er... you don't. It's not in Go; it's in C.

well - thats what im asking wolf ...

how on earth do you compile this thing ...

it seems WAY different to any of the compiles i have had to do before ...

and reading earlier - taek was saying that you needed the golang compiler to do so ...

so now im confused as ever ...

#crysx

chrysophylax
Legendary
*
Offline Offline

Activity: 2814
Merit: 1091


--- ChainWorks Industries ---


View Profile WWW
June 16, 2015, 11:57:27 AM
 #13

git cloned both repo in MinGV (win7 x64 - I always compile miner in such way)
but "make" for gpu-miner/"make release" for sia - doesn`t work.
Code:
xxxx@rap ~/sia
$ make release
go install -a ./...
make: go: Command not found
make: *** [release] Error 127

To make Sia you are going to need a golang compiler, this error means you don't have a go compiler.

Code:
xxxx@rap ~/sia-gpu-miner
$ make
gcc gpu-miner.o network.o -o gpu-miner -lOpenCL -lcurl
gpu-miner.o:gpu-miner.c:(.text+0x13e): undefined reference to `_imp__curl_easy_i
nit'
network.o:network.c:(.text+0x16a): undefined reference to `_imp__curl_easy_reset
'
network.o:network.c:(.text+0x18d): undefined reference to `_imp__curl_easy_setop
t'
network.o:network.c:(.text+0x1b0): undefined reference to `_imp__curl_easy_setop
t'
network.o:network.c:(.text+0x1d2): undefined reference to `_imp__curl_easy_setop
t'
network.o:network.c:(.text+0x1df): undefined reference to `_imp__curl_easy_perfo
rm'
network.o:network.c:(.text+0x1f5): undefined reference to `_imp__curl_easy_strer
ror'
network.o:network.c:(.text+0x32b): undefined reference to `_imp__curl_easy_reset
'
network.o:network.c:(.text+0x34e): undefined reference to `_imp__curl_easy_setop
t'
network.o:network.c:(.text+0x371): undefined reference to `_imp__curl_easy_setop
t'
network.o:network.c:(.text+0x39a): undefined reference to `_imp__curl_easy_setop
t'
network.o:network.c:(.text+0x3bc): undefined reference to `_imp__curl_easy_setop
t'
network.o:network.c:(.text+0x3c9): undefined reference to `_imp__curl_easy_perfo
rm'
network.o:network.c:(.text+0x3df): undefined reference to `_imp__curl_easy_strer
ror'
c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: network.o:
 bad reloc address 0x20 in section `.eh_frame'
c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: final link
 failed: Invalid operation
collect2.exe: error: ld returned 1 exit status
make: *** [gpu-miner] Error 1

any suggestions?

This makes it look like you don't have libCurl, which is how the miner talks to the daemon.

so how is one to compile sia miner using go? ...

apart from the golang and dependencies that get installed with yum - what are the commands and procedures to compile sia gpuminer? ...

#crysx

Er... you don't. It's not in Go; it's in C.

well - thats what im asking wolf ...

how on earth do you compile this thing ...

it seems WAY different to any of the compiles i have had to do before ...

and reading earlier - taek was saying that you needed the golang compiler to do so ...

so now im confused as ever ...

#crysx

On Linux? A simple make should do it. As long as libcurl and the opencl libs aren't in stupid places, it'll work.

wolf ... this is fedora ...

OF COURSE they are in stupid places! ...

-------

[root@ace-test-cm Sia-GPU-Miner] $ make
gcc -c -s -std=c11 -Wall -pedantic gpu-miner.c -o gpu-miner.o
gpu-miner.c:20:19: fatal error: CL/cl.h: No such file or directory
 #include <CL/cl.h>

-------

thats error everytime ...

#crysx

chrysophylax
Legendary
*
Offline Offline

Activity: 2814
Merit: 1091


--- ChainWorks Industries ---


View Profile WWW
June 17, 2015, 01:19:02 AM
 #14

git cloned both repo in MinGV (win7 x64 - I always compile miner in such way)
but "make" for gpu-miner/"make release" for sia - doesn`t work.
Code:
xxxx@rap ~/sia
$ make release
go install -a ./...
make: go: Command not found
make: *** [release] Error 127

To make Sia you are going to need a golang compiler, this error means you don't have a go compiler.

Code:
xxxx@rap ~/sia-gpu-miner
$ make
gcc gpu-miner.o network.o -o gpu-miner -lOpenCL -lcurl
gpu-miner.o:gpu-miner.c:(.text+0x13e): undefined reference to `_imp__curl_easy_i
nit'
network.o:network.c:(.text+0x16a): undefined reference to `_imp__curl_easy_reset
'
network.o:network.c:(.text+0x18d): undefined reference to `_imp__curl_easy_setop
t'
network.o:network.c:(.text+0x1b0): undefined reference to `_imp__curl_easy_setop
t'
network.o:network.c:(.text+0x1d2): undefined reference to `_imp__curl_easy_setop
t'
network.o:network.c:(.text+0x1df): undefined reference to `_imp__curl_easy_perfo
rm'
network.o:network.c:(.text+0x1f5): undefined reference to `_imp__curl_easy_strer
ror'
network.o:network.c:(.text+0x32b): undefined reference to `_imp__curl_easy_reset
'
network.o:network.c:(.text+0x34e): undefined reference to `_imp__curl_easy_setop
t'
network.o:network.c:(.text+0x371): undefined reference to `_imp__curl_easy_setop
t'
network.o:network.c:(.text+0x39a): undefined reference to `_imp__curl_easy_setop
t'
network.o:network.c:(.text+0x3bc): undefined reference to `_imp__curl_easy_setop
t'
network.o:network.c:(.text+0x3c9): undefined reference to `_imp__curl_easy_perfo
rm'
network.o:network.c:(.text+0x3df): undefined reference to `_imp__curl_easy_strer
ror'
c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: network.o:
 bad reloc address 0x20 in section `.eh_frame'
c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: final link
 failed: Invalid operation
collect2.exe: error: ld returned 1 exit status
make: *** [gpu-miner] Error 1

any suggestions?

This makes it look like you don't have libCurl, which is how the miner talks to the daemon.

so how is one to compile sia miner using go? ...

apart from the golang and dependencies that get installed with yum - what are the commands and procedures to compile sia gpuminer? ...

#crysx

Er... you don't. It's not in Go; it's in C.

well - thats what im asking wolf ...

how on earth do you compile this thing ...

it seems WAY different to any of the compiles i have had to do before ...

and reading earlier - taek was saying that you needed the golang compiler to do so ...

so now im confused as ever ...

#crysx

On Linux? A simple make should do it. As long as libcurl and the opencl libs aren't in stupid places, it'll work.

wolf ... this is fedora ...

OF COURSE they are in stupid places! ...

-------

[root@ace-test-cm Sia-GPU-Miner] $ make
gcc -c -s -std=c11 -Wall -pedantic gpu-miner.c -o gpu-miner.o
gpu-miner.c:20:19: fatal error: CL/cl.h: No such file or directory
 #include <CL/cl.h>

-------

thats error everytime ...

#crysx

Right, well, you need to find it, then. If you can build SGMiner, then you will be able to build this.

You'll need to find it, though. First, if OpenCL headers aren't installed, you'll need 'em. They're only needed for building OpenCL - not running it - so you may not have it already. Install them, do a "find /usr -name cl.h", and add that to the include path in the CFLAGS var in the makefile. If you have another problem after this at the link step, it's just another find command away, then add that to the LFLAGS variable in the makefile to make the linker search there.

tanx wolf ...

all good Smiley ...

#crysx

chrysophylax
Legendary
*
Offline Offline

Activity: 2814
Merit: 1091


--- ChainWorks Industries ---


View Profile WWW
June 17, 2015, 03:56:46 AM
Last edit: June 27, 2015, 09:44:12 AM by chrysophylax
 #15

git cloned both repo in MinGV (win7 x64 - I always compile miner in such way)
but "make" for gpu-miner/"make release" for sia - doesn`t work.
Code:
xxxx@rap ~/sia
$ make release
go install -a ./...
make: go: Command not found
make: *** [release] Error 127

To make Sia you are going to need a golang compiler, this error means you don't have a go compiler.

Code:
xxxx@rap ~/sia-gpu-miner
$ make
gcc gpu-miner.o network.o -o gpu-miner -lOpenCL -lcurl
gpu-miner.o:gpu-miner.c:(.text+0x13e): undefined reference to `_imp__curl_easy_i
nit'
network.o:network.c:(.text+0x16a): undefined reference to `_imp__curl_easy_reset
'
network.o:network.c:(.text+0x18d): undefined reference to `_imp__curl_easy_setop
t'
network.o:network.c:(.text+0x1b0): undefined reference to `_imp__curl_easy_setop
t'
network.o:network.c:(.text+0x1d2): undefined reference to `_imp__curl_easy_setop
t'
network.o:network.c:(.text+0x1df): undefined reference to `_imp__curl_easy_perfo
rm'
network.o:network.c:(.text+0x1f5): undefined reference to `_imp__curl_easy_strer
ror'
network.o:network.c:(.text+0x32b): undefined reference to `_imp__curl_easy_reset
'
network.o:network.c:(.text+0x34e): undefined reference to `_imp__curl_easy_setop
t'
network.o:network.c:(.text+0x371): undefined reference to `_imp__curl_easy_setop
t'
network.o:network.c:(.text+0x39a): undefined reference to `_imp__curl_easy_setop
t'
network.o:network.c:(.text+0x3bc): undefined reference to `_imp__curl_easy_setop
t'
network.o:network.c:(.text+0x3c9): undefined reference to `_imp__curl_easy_perfo
rm'
network.o:network.c:(.text+0x3df): undefined reference to `_imp__curl_easy_strer
ror'
c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: network.o:
 bad reloc address 0x20 in section `.eh_frame'
c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: final link
 failed: Invalid operation
collect2.exe: error: ld returned 1 exit status
make: *** [gpu-miner] Error 1

any suggestions?

This makes it look like you don't have libCurl, which is how the miner talks to the daemon.

so how is one to compile sia miner using go? ...

apart from the golang and dependencies that get installed with yum - what are the commands and procedures to compile sia gpuminer? ...

#crysx

Er... you don't. It's not in Go; it's in C.

well - thats what im asking wolf ...

how on earth do you compile this thing ...

it seems WAY different to any of the compiles i have had to do before ...

and reading earlier - taek was saying that you needed the golang compiler to do so ...

so now im confused as ever ...

#crysx

On Linux? A simple make should do it. As long as libcurl and the opencl libs aren't in stupid places, it'll work.

wolf ... this is fedora ...

OF COURSE they are in stupid places! ...

-------

[root@ace-test-cm Sia-GPU-Miner] $ make
gcc -c -s -std=c11 -Wall -pedantic gpu-miner.c -o gpu-miner.o
gpu-miner.c:20:19: fatal error: CL/cl.h: No such file or directory
 #include <CL/cl.h>

-------

thats error everytime ...

#crysx

Right, well, you need to find it, then. If you can build SGMiner, then you will be able to build this.

You'll need to find it, though. First, if OpenCL headers aren't installed, you'll need 'em. They're only needed for building OpenCL - not running it - so you may not have it already. Install them, do a "find /usr -name cl.h", and add that to the include path in the CFLAGS var in the makefile. If you have another problem after this at the link step, it's just another find command away, then add that to the LFLAGS variable in the makefile to make the linker search there.

tanx wolf ...

all good Smiley ...

#crysx

Good to hear; can be a minor pain without configure around to find stuff automatically.

exactly ...

if ./configure was there and active - it may have made the whole process a lot easier ...

eitherway - its a learning experience ...

i will be working on setting up a wallet / app on the storage server some time soon - too much on my plate at the moment ... this server will have at least 5TB of RAIDed storage for immediate use / testing ...

so i hope i wont have to go through the same compilation issues as this miner ... its a production system ( that is being decommissioned in our network ) - so i dont want to stuff around with it too much ...

scientific linux  x64 - and rock solid ...

may even setup a separate network for this storage facility altogether ...

#crysx

Taek (OP)
Hero Member
*****
Offline Offline

Activity: 543
Merit: 501



View Profile
June 22, 2015, 05:25:32 AM
 #16

Unfortunately:

A critical security vulnerability has been discovered.

This is a vulnerability that has existed in all versions prior to the current version. Even if you downloaded 0.3.3.2, you should download it again. The original download for 0.3.3.2 was still affected by the security vulnerability.

For obvious reasons, we will not be disclosing the nature of the vulnerability for the next few weeks, we wish to give everyone a chance to upgrade before opening the doors to exploitation. We will say however that it is not related to the blockchain code, it is related to the frontend code.
bitsum
Sr. Member
****
Offline Offline

Activity: 279
Merit: 250


View Profile
June 27, 2015, 07:27:24 AM
 #17

Any windows verison of the gpu miner?

mmmaybe
Sr. Member
****
Offline Offline

Activity: 462
Merit: 250



View Profile WWW
June 28, 2015, 01:05:54 AM
 #18

Unfortunately:

A critical security vulnerability has been discovered.

This is a vulnerability that has existed in all versions prior to the current version. Even if you downloaded 0.3.3.2, you should download it again. The original download for 0.3.3.2 was still affected by the security vulnerability.

For obvious reasons, we will not be disclosing the nature of the vulnerability for the next few weeks, we wish to give everyone a chance to upgrade before opening the doors to exploitation. We will say however that it is not related to the blockchain code, it is related to the frontend code.

Didn't read this until now... Hope you will not disclosing it in awhile.

May I ask how the exploit was discovered, by internal review or external usage of it?

ffman
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
July 01, 2015, 11:41:56 AM
 #19

HI Taek !
I will not compile, how to begin.
Zenitur
Sr. Member
****
Offline Offline

Activity: 362
Merit: 250


View Profile
July 13, 2015, 02:06:16 PM
 #20

Can I mine by network using few PC's? I don't want to make two wallets.
Pages: [1] 2 3 »  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!