Post
Topic
Board Mining (Altcoins)
Re: [ANN][DRK|Q2C|QRK|MYR] sph-sgminer - multi-algo GPU miner | MYR groestl added!
by
MOCKBA
on 20/03/2014, 01:08:48 UTC
Anybody have luck on Mac?

I compiled on Mac after making quarkhash, xhash and quash "static inline" instead of just inline and it does start but after a while GPU get's sick and I don't see any hashes... Tried all of them kernels - same result with exception of scrypt. Any ideas what I might be missing?


ehhh? i don't know what you did but if you want to compile with working qubitcoin, and quarkcoin try using the one from here
https://github.com/DJstone/sph-sgminer
no mod needed just compile and go
I was using prettyhatemachine branch.

Regardless I am getting the same link error on DJstone and same 0h/s GPU reported as sick after a while...
Code:
Undefined symbols for architecture x86_64:
  "_qhash", referenced from:
      _qubitcoin_test in sgminer-qubitcoin.o
      _qubitcoin_regenhash in sgminer-qubitcoin.o
      _scanhash_qubitcoin in sgminer-qubitcoin.o
  "_quarkhash", referenced from:
      _quarkcoin_test in sgminer-quarkcoin.o
      _quarkcoin_regenhash in sgminer-quarkcoin.o
      _scanhash_quarkcoin in sgminer-quarkcoin.o
  "_xhash", referenced from:
      _darkcoin_test in sgminer-darkcoin.o
      _darkcoin_regenhash in sgminer-darkcoin.o
      _scanhash_darkcoin in sgminer-darkcoin.o
ld: symbol(s) not found for architecture x86_64
did you configure with
CFLAGS="-O2 -Wall -march=native" ./configure --enable-opencl

edit: not sure of the steps you need to take... (i am a windows user)

some guys working on it here http://www.asteroidapp.com/forums/discussion/402/support-for-sph-sgminer/p1
would love to know results. good luck!

Seems resolved in the thread I posted above:

"Just remove the inline in front of xhash, qhash, and quarkhash. The linker can't find the functions precisely because they're inline in their respective *.c file."

If you get this working PLEASE upload the compiled binary somewhere. Many thanks.

I think proper solution considering this is to add -std=gnu89 to CFLAGS.

CFLAGS="-O3 -std=gnu89 -march=native" ./configure

It would compile just fine, but still doesn't work for me (0 khs) on quark, dark and qubit... It does work for scrypt and grostl and needless to say that everything works on the same Mac in Windows...

It did for qubit for me but hash rates are pathetic 77kH/s vs. 500+ I am getting on the same Mac in Windows. Still no luck with quark or dark.