Bitcoin Forum
May 01, 2017, 06:30:53 AM *
News: If the forum does not load normally for you, please send me a traceroute.
 
   Home   Help Search Donate Login Register  
Pages: « 1 2 3 4 [5] 6 7 8 9 10 11 12 »  All
  Print  
Author Topic: [ANN] cpuminer-multi v1.3.1 (Linux + Windows VStudio/MinGW64) GPL Open Source  (Read 127331 times)
chris190
Hero Member
*****
Offline Offline

Activity: 730



View Profile
September 24, 2015, 10:08:18 PM
 #81

I found a bug in the new cpuminer 1.2 with the new algorithm lyre2REv2.

It does not detect the address of payment even if the configuration is correct. How do you think can solve? I'm not the only one to have these problems!  Same problem with vertcoin and similar!




perhaps the solo cpu-gpu mining does not work with Lyra2REv2, I did the test with vtc in pool and It works great!

The old algorithm Lyra2re also works with solo cpu/gpu mining,  this not. I do not know why!  Huh


Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1493620253
Hero Member
*
Offline Offline

Posts: 1493620253

View Profile Personal Message (Offline)

Ignore
1493620253
Reply with quote  #2

1493620253
Report to moderator
Epsylon3
Legendary
*
Online Online

Activity: 952


ccminer/cpuminer developer


View Profile WWW
September 25, 2015, 06:03:51 AM
 #82

check the last VTC commits, their clones forgot to fix their getwork() function

Beware if you use the TIA wallet on windows, there is a trojan inside

And solo mining just use your master wallet address... not a problem. userpass is your rpc user and password, not an address

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi - yiimp
chris190
Hero Member
*****
Offline Offline

Activity: 730



View Profile
September 25, 2015, 08:00:54 AM
 #83

is not tia but mobilcash, new coin!

Epsylon3
Legendary
*
Online Online

Activity: 952


ccminer/cpuminer developer


View Profile WWW
September 25, 2015, 08:05:03 AM
 #84

I'm trying this coin, its the first getauxblock coin i see... its supported by yaamp/yiimp

but... the getwork() and getblocktemplate() methods seems broken in this wallet... look like there is no hope until kopiemtu guy fix it

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi - yiimp
chris190
Hero Member
*****
Offline Offline

Activity: 730



View Profile
September 25, 2015, 08:10:58 AM
 #85

I'm trying this coin, its the first getauxblock coin i see... its supported by yaamp/yiimp

but... the getwork() and getblocktemplate() methods seems broken in this wallet... look like there is no hope until kopiemtu guy fix it

ok, thanks! Wink

grendel25
Hero Member
*****
Offline Offline

Activity: 868



View Profile
September 27, 2015, 09:46:36 PM
 #86

Is there any way to set the intensity at which it mines?  The CPUs go 100% and it would be nice to tone it down to 80 or 90%.  I thought maybe the temperature setting but that is only for Linux and I'm on Windows.

BTC: 12MRgfQTP5wGXaaFyFm7CXS6ebeUyerA4u
djm34
Legendary
*
Offline Offline

Activity: 1036


View Profile WWW
September 27, 2015, 11:33:58 PM
 #87

Is there any way to set the intensity at which it mines?  The CPUs go 100% and it would be nice to tone it down to 80 or 90%.  I thought maybe the temperature setting but that is only for Linux and I'm on Windows.
you need to use a smaller number of thread "-t #thread"

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

Activity: 868



View Profile
September 28, 2015, 03:10:13 AM
 #88

Is there any way to set the intensity at which it mines?  The CPUs go 100% and it would be nice to tone it down to 80 or 90%.  I thought maybe the temperature setting but that is only for Linux and I'm on Windows.
you need to use a smaller number of thread "-t #thread"

But the cores still run at 100%.  Any way to get better control of how hard each core runs?

Edit: I found a program that is working:  http://mion.faireal.net/BES/

BTC: 12MRgfQTP5wGXaaFyFm7CXS6ebeUyerA4u
Epsylon3
Legendary
*
Online Online

Activity: 952


ccminer/cpuminer developer


View Profile WWW
September 28, 2015, 07:29:12 AM
 #89

nice tool, i just made tests with usleep about that, its really hard to do at the algo loop level (different for each algo)

I see there are sources available, maybe that will help me to do it at the thread/process level..

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi - yiimp
grendel25
Hero Member
*****
Offline Offline

Activity: 868



View Profile
September 29, 2015, 02:17:46 AM
 #90

nice tool, i just made tests with usleep about that, its really hard to do at the algo loop level (different for each algo)

I see there are sources available, maybe that will help me to do it at the thread/process level..

Yes, it was promising but in the end I dropped it because it doesn't really manage the limitation very well.  It just cuts out and restarts which equates to really poor mining performance.  

I ended up downclocking my CPU just a tad and that's actually working out really well.  Mining Lyra at 1225kH/s on an Intel i7 5820K OC'd to 4.3GHz.  Was trying for 4.4 but seemed to be just at the edge of where it starts to fail when mining on anywhere between 10 and 12 threads (6-core processor).

That would be great if something better could be implemented similar to the intensity settings of GPU miners.

BTC: 12MRgfQTP5wGXaaFyFm7CXS6ebeUyerA4u
sanyok
Newbie
*
Offline Offline

Activity: 12


View Profile
October 06, 2015, 02:19:53 AM
 #91

Two days I'm trying to compile miner for Win x86 platform..

Visual Studio 2013 first errors was like this:
Code:
LNK2001: unresolved external symbol _libssh2_version
As solution was to move variable declaration at top of functions:

Code:
   json_t *status;

   // some code

   status = json_object_get(res_val, "status");

instead of:

Code:
json_t *status = json_object_get(res_val, "status");

When I tried to compile x86, VS asked me for libs: "libcurl.x84.lib openssl.x84.lib zlib.x84.lib", which was found here:
http://sourceforge.net/projects/curlforwindows/files/?source=navbar

Next errors was stronger than me (
Code:
Error 1 error LNK2001: unresolved external symbol _libssh2_version C:\Users\Bingo\Documents\Visual Studio 2013\tpruvot\cpuminer-multi-1.1-multi\libcurl.x86.lib(version.obj) cpuminer
Error 2 error LNK2001: unresolved external symbol _libssh2_exit C:\Users\Bingo\Documents\Visual Studio 2013\tpruvot\cpuminer-multi-1.1-multi\libcurl.x86.lib(easy.obj) cpuminer
Error 3 error LNK2001: unresolved external symbol _libssh2_init C:\Users\Bingo\Documents\Visual Studio 2013\tpruvot\cpuminer-multi-1.1-multi\libcurl.x86.lib(easy.obj) cpuminer

This is the end of VS story. I installed Mingw. Than in msys console from sources was compilled and installed curl, openssl, jansson, pthreads.
Compilation fails with:

Code:
$ make
make  all-recursive
make[1]: Entering directory `/go/tpruvot'
Making all in compat
make[2]: Entering directory `/go/tpruvot/compat'
make[3]: Entering directory `/go/tpruvot/compat'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/go/tpruvot/compat'
make[2]: Leaving directory `/go/tpruvot/compat'
make[2]: Entering directory `/go/tpruvot'
gcc -std=gnu99 -DHAVE_CONFIG_H -I.  -fno-strict-aliasing  -I.  -Wno-pointer-sign
 -Wno-pointer-to-int-cast   -g -O2  -MT cpuminer-cpu-miner.o -MD -MP -MF .deps/c
puminer-cpu-miner.Tpo -c -o cpuminer-cpu-miner.o `test -f 'cpu-miner.c' || echo
'./'`cpu-miner.c
In file included from miner.h:31:0,
                 from cpu-miner.c:48:
c:\mingw\include\pthread.h:321:8: error: redefinition of 'struct timespec'
 struct timespec {
        ^
In file included from c:\mingw\include\unistd.h:95:0,
                 from cpu-miner.c:21:
c:\mingw\include\parts\time.h:65:8: note: originally defined here
 struct timespec
        ^
In file included from cpu-miner.c:51:0:
compat/winansi.h:10:0: warning: "fileno" redefined [enabled by default]
 #define fileno(fd) _fileno(fd)
 ^
In file included from cpu-miner.c:16:0:
c:\mingw\include\stdio.h:595:0: note: this is the location of the previous defin
ition
 #define fileno(__F) ((__F)->_file)
 ^
cpu-miner.c: In function 'proper_exit':
cpu-miner.c:462:3: warning: implicit declaration of function 'GetConsoleWindow'
[-Wimplicit-function-declaration]
   HWND hcon = GetConsoleWindow();
   ^
cpu-miner.c:462:15: warning: initialization makes pointer from integer without a
 cast [enabled by default]
   HWND hcon = GetConsoleWindow();
               ^
cpu-miner.c: In function 'main':
cpu-miner.c:3009:15: warning: initialization makes pointer from integer without
a cast [enabled by default]
   HWND hcon = GetConsoleWindow();
               ^
make[2]: *** [cpuminer-cpu-miner.o] Error 1
make[2]: Leaving directory `/go/tpruvot'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/go/tpruvot'
make: *** [all] Error 2

After googling, structure in pthread.h was commented.

Next errors I still can't resolve:

Code:
make  all-recursive
make[1]: Entering directory `/go/tpruvot'
Making all in compat
make[2]: Entering directory `/go/tpruvot/compat'
make[3]: Entering directory `/go/tpruvot/compat'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/go/tpruvot/compat'
make[2]: Leaving directory `/go/tpruvot/compat'
make[2]: Entering directory `/go/tpruvot'
gcc -std=gnu99 -Wno-pointer-sign -Wno-pointer-to-int-cast   -DCURL_STATICLIB -DO
PENSSL_NO_ASM -DUSE_ASM -O3 -Wall -D_REENTRANT -fmerge-all-constants  -I/usr/loc
al/include -I/usr/local/ssl/include icon.o -L/usr/local/ssl/lib -L/usr/local/lib
  icon.o -L/usr/local/ssl/lib -L/usr/local/lib  -o cpuminer.exe cpuminer-cpu-min
er.o cpuminer-util.o cpuminer-api.o cpuminer-sysinfos.o sha3/cpuminer-sph_keccak
.o sha3/cpuminer-sph_hefty1.o sha3/cpuminer-sph_groestl.o sha3/cpuminer-sph_skei
n.o sha3/cpuminer-sph_bmw.o sha3/cpuminer-sph_jh.o sha3/cpuminer-sph_shavite.o s
ha3/cpuminer-sph_blake.o sha3/cpuminer-mod_blakecoin.o sha3/cpuminer-sph_luffa.o
 sha3/cpuminer-sph_cubehash.o sha3/cpuminer-sph_simd.o sha3/cpuminer-sph_echo.o
sha3/cpuminer-sph_hamsi.o sha3/cpuminer-sph_fugue.o sha3/cpuminer-sph_sha2.o sha
3/cpuminer-sph_sha2big.o sha3/cpuminer-sph_shabal.o sha3/cpuminer-sph_whirlpool.
o crypto/cpuminer-blake2s.o crypto/cpuminer-oaes_lib.o crypto/cpuminer-c_keccak.
o crypto/cpuminer-c_groestl.o crypto/cpuminer-c_blake256.o crypto/cpuminer-c_jh.
o crypto/cpuminer-c_skein.o crypto/cpuminer-hash.o crypto/cpuminer-aesb.o lyra2/
cpuminer-Lyra2.o lyra2/cpuminer-Sponge.o algo/cpuminer-animecoin.o algo/cpuminer
-axiom.o algo/cpuminer-blake.o algo/cpuminer-blakecoin.o algo/cpuminer-blake2.o
algo/cpuminer-bmw256.o algo/cpuminer-c11.o algo/cpuminer-cryptonight.o algo/cpum
iner-drop.o algo/cpuminer-fresh.o algo/cpuminer-groestl.o algo/cpuminer-heavy.o
algo/cpuminer-ink.o algo/cpuminer-luffa.o algo/cpuminer-lyra2re.o algo/cpuminer-
myr-groestl.o algo/cpuminer-keccak.o algo/cpuminer-pentablake.o algo/cpuminer-qu
ark.o algo/cpuminer-neoscrypt.o algo/cpuminer-nist5.o algo/cpuminer-pluck.o algo
/cpuminer-qubit.o algo/cpuminer-scrypt.o algo/cpuminer-sha2.o algo/cpuminer-skei
n.o algo/cpuminer-skein2.o algo/cpuminer-s3.o algo/cpuminer-x11.o algo/cpuminer-
x13.o algo/cpuminer-x14.o algo/cpuminer-x15.o algo/cpuminer-zr5.o asm/cpuminer-n
eoscrypt_asm.o     -lcurl -lz -lssl -lcrypto -ljansson -lpthreadGC2
c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: cannot fin
d -lz
collect2.exe: error: ld returned 1 exit status
make[2]: *** [cpuminer.exe] Error 1
make[2]: Leaving directory `/go/tpruvot'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/go/tpruvot'
make: *** [all] Error 2
C:\MinGW\bin\strip.exe: 'cpuminer.exe': No such file

And when I installing zlib-1.2.8 I get:

Code:
cpuminer-api.o:api.c:(.text+0xd5a): undefined reference to `closesocket@4'
cpuminer-api.o:api.c:(.text+0xdf3): undefined reference to `closesocket@4'
cpuminer-api.o:api.c:(.text+0x12d5): undefined reference to `send@16'
cpuminer-api.o:api.c:(.text+0x13aa): undefined reference to `send@16'
cpuminer-api.o:api.c:(.text+0x1432): undefined reference to `send@16'
algo/cpuminer-cryptonight.o:cryptonight.c:(.text+0x4cd): undefined reference to
`mul128'
algo/cpuminer-cryptonight.o:cryptonight.c:(.text+0x5bf): undefined reference to
`mul128'
algo/cpuminer-cryptonight.o:cryptonight.c:(.text+0xba3): undefined reference to
`fast_aesb_pseudo_round_mut'
algo/cpuminer-cryptonight.o:cryptonight.c:(.text+0xbbe): undefined reference to
`fast_aesb_pseudo_round_mut'
algo/cpuminer-cryptonight.o:cryptonight.c:(.text+0xbd9): undefined reference to
`fast_aesb_pseudo_round_mut'
algo/cpuminer-cryptonight.o:cryptonight.c:(.text+0xbf4): undefined reference to
`fast_aesb_pseudo_round_mut'
algo/cpuminer-cryptonight.o:cryptonight.c:(.text+0xc0f): undefined reference to
`fast_aesb_pseudo_round_mut'
algo/cpuminer-cryptonight.o:cryptonight.c:(.text+0xc2a): more undefined referenc
es to `fast_aesb_pseudo_round_mut' follow
algo/cpuminer-cryptonight.o:cryptonight.c:(.text+0xd87): undefined reference to
`fast_aesb_single_round'
algo/cpuminer-cryptonight.o:cryptonight.c:(.text+0xdfd): undefined reference to
`mul128'
algo/cpuminer-cryptonight.o:cryptonight.c:(.text+0xe79): undefined reference to
`fast_aesb_single_round'
algo/cpuminer-cryptonight.o:cryptonight.c:(.text+0xeef): undefined reference to
`mul128'
algo/cpuminer-cryptonight.o:cryptonight.c:(.text+0x100a): undefined reference to
 `fast_aesb_pseudo_round_mut'
algo/cpuminer-cryptonight.o:cryptonight.c:(.text+0x1045): undefined reference to
 `fast_aesb_pseudo_round_mut'
algo/cpuminer-cryptonight.o:cryptonight.c:(.text+0x1084): undefined reference to
 `fast_aesb_pseudo_round_mut'
algo/cpuminer-cryptonight.o:cryptonight.c:(.text+0x10c3): undefined reference to
 `fast_aesb_pseudo_round_mut'
algo/cpuminer-cryptonight.o:cryptonight.c:(.text+0x1102): undefined reference to
 `fast_aesb_pseudo_round_mut'
algo/cpuminer-cryptonight.o:cryptonight.c:(.text+0x113d): more undefined referen
ces to `fast_aesb_pseudo_round_mut' follow
algo/cpuminer-pluck.o:pluck.c:(.text+0x3348): undefined reference to `htonl@4'
algo/cpuminer-scrypt.o:scrypt.c:(.text+0x50): undefined reference to `sha256_use
_4way'
algo/cpuminer-scrypt.o:scrypt.c:(.text+0x7b4): undefined reference to `scrypt_co
re'
algo/cpuminer-scrypt.o:scrypt.c:(.text+0xbfe): undefined reference to `sha256_tr
ansform_4way'
algo/cpuminer-scrypt.o:scrypt.c:(.text+0xc18): undefined reference to `sha256_in
it_4way'
algo/cpuminer-scrypt.o:scrypt.c:(.text+0xc70): undefined reference to `sha256_tr
ansform_4way'
algo/cpuminer-scrypt.o:scrypt.c:(.text+0xc7c): undefined reference to `sha256_in
it_4way'
algo/cpuminer-scrypt.o:scrypt.c:(.text+0xcd3): undefined reference to `sha256_tr
ansform_4way'
algo/cpuminer-scrypt.o:scrypt.c:(.text+0xd02): undefined reference to `sha256_tr
ansform_4way'
algo/cpuminer-scrypt.o:scrypt.c:(.text+0xe3a): undefined reference to `sha256_tr
ansform_4way'
algo/cpuminer-scrypt.o:scrypt.c:(.text+0xe68): undefined reference to `sha256_tr
ansform_4way'
algo/cpuminer-scrypt.o:scrypt.c:(.text+0xeeb): undefined reference to `scrypt_co
re'
algo/cpuminer-scrypt.o:scrypt.c:(.text+0xf05): undefined reference to `scrypt_co
re'
algo/cpuminer-scrypt.o:scrypt.c:(.text+0xf1f): undefined reference to `scrypt_co
re'
algo/cpuminer-scrypt.o:scrypt.c:(.text+0xf32): undefined reference to `scrypt_co
re'
algo/cpuminer-scrypt.o:scrypt.c:(.text+0xf81): undefined reference to `sha256_tr
ansform_4way'
algo/cpuminer-scrypt.o:scrypt.c:(.text+0xfa0): undefined reference to `sha256_tr
ansform_4way'
algo/cpuminer-scrypt.o:scrypt.c:(.text+0xfbc): undefined reference to `sha256_tr
ansform_4way'
algo/cpuminer-scrypt.o:scrypt.c:(.text+0xffd): undefined reference to `sha256_tr
ansform_4way'
algo/cpuminer-sha2.o:sha2.c:(.text+0x3e84): undefined reference to `sha256_use_4
way'
algo/cpuminer-sha2.o:sha2.c:(.text+0x9732): undefined reference to `sha256d_ms_4
way'
c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: .rsrc merg
e failure: duplicate leaf: type: e (GROUP_ICON) name: 0 lang: 409
c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: .rsrc merg
e failure: duplicate leaf: type: 3 (ICON) name: 3 lang: 409
c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: .rsrc merg
e failure: duplicate leaf: type: 3 (ICON) name: 2 lang: 409
c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: .rsrc merg
e failure: duplicate leaf: type: 3 (ICON) name: 1 lang: 409
collect2.exe: error: ld returned 1 exit status
make[2]: *** [cpuminer.exe] Error 1
make[2]: Leaving directory `/go/tpruvot'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/go/tpruvot'
make: *** [all] Error 2
C:\MinGW\bin\strip.exe: 'cpuminer.exe': No such file

When uninstalling, it fails with a previous error.
What should I try more? What I forget?

p.s.
I already read "you need to install the dev packages", but what ***-dev packages are still pending in my set?
Epsylon3
Legendary
*
Online Online

Activity: 952


ccminer/cpuminer developer


View Profile WWW
October 06, 2015, 02:29:15 AM
 #92

You can find the vs2013 x86 lib in my ccminer project... These prebuilt libs are huge so didnt add it to this project because x64 is faster...

Else ssh stuff is not included in our curl... And i dont build mingw32 binaries

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi - yiimp
sanyok
Newbie
*
Offline Offline

Activity: 12


View Profile
October 06, 2015, 02:44:59 AM
 #93

You can find the vs2013 x86 lib in my ccminer project... These prebuilt libs are huge so didnt add it to this project because x64 is faster...

Hmm, I will be able to compile x86 miner without adding to project x86 libs? Just to place them in folder, yes?
Epsylon3
Legendary
*
Online Online

Activity: 952


ccminer/cpuminer developer


View Profile WWW
October 06, 2015, 02:49:25 AM
 #94

Try and learn... A forum is not a chat.. Check the vcxproj content

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi - yiimp
mytool
Newbie
*
Offline Offline

Activity: 1


View Profile
October 26, 2015, 08:21:00 AM
 #95

Hi Epsylon3
Is it possible to support encrypted cpuminer-conf.json, such as base64?
Epsylon3
Legendary
*
Online Online

Activity: 952


ccminer/cpuminer developer


View Profile WWW
October 26, 2015, 08:31:26 AM
 #96

nope, do it if you find that useful :p

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi - yiimp
skycatbg
Newbie
*
Offline Offline

Activity: 3


View Profile
October 30, 2015, 03:58:46 AM
 #97

Hi Epsylon,

greetings for great job around cpu-miner - this is very good result for me.. Smiley

I also have little troubles with compiling x86 version, who can work with automatic start from .json config file..

Can you compile one copy for me please?

regards


Edit: My x64 version also no work with .json file.. maybe I miss something...

Anyone can help me to compile two wersions with work .json option file please?

Thanks
Andrelvogue
Full Member
***
Offline Offline

Activity: 140


View Profile
October 30, 2015, 08:19:17 AM
 #98

Good Job! Dude thank you for the information.
wladston
Full Member
***
Offline Offline

Activity: 147


Always remember to be awesome.


View Profile WWW
November 20, 2015, 07:21:17 PM
 #99

I could not get it to build on OS X. I've been trying to fix this for over 6 hours, so maybe this could help someone.

I'm on Mac OS X 10.11.1. Here is what I'm doing, exactly a per README instructions:

Code:
git clone https://github.com/tpruvot/cpuminer-multi.git && cd cpuminer-multi
./autogen.sh && chmod +x nomacro.pl && ./nomacro.pl
./configure --with-curl --with-crypto=/opt/local CFLAGS="-march=native"
make

I am presented with an error about macros. You moved the asm sources into an "asm" folder, but you didn't change the nomacro.pl to parse files in that folder. So I try again:

Code:
git clone https://github.com/tpruvot/cpuminer-multi.git && cd cpuminer-multi
./autogen.sh && chmod +x nomacro.pl && cd asm && ../nomacro.pl && cd ..
./configure --with-curl --with-crypto=/opt/local CFLAGS="-march=native"
make

Then I get this following error (full compile log is here: http://pastebin.com/nj0hQnTa)

Code:
Undefined symbols for architecture x86_64:
  "_neoscrypt_blkcpy", referenced from:
      _neoscrypt in cpuminer-neoscrypt.o
      _neoscrypt_blkmix in cpuminer-neoscrypt.o
  "_neoscrypt_blkswp", referenced from:
      _neoscrypt_blkmix in cpuminer-neoscrypt.o
  "_neoscrypt_blkxor", referenced from:
      _neoscrypt in cpuminer-neoscrypt.o
      _neoscrypt_blkmix in cpuminer-neoscrypt.o
  "_neoscrypt_chacha", referenced from:
      _neoscrypt_blkmix in cpuminer-neoscrypt.o
  "_neoscrypt_salsa", referenced from:
      _neoscrypt_blkmix in cpuminer-neoscrypt.o
  "_neoscrypt_salsa_tangle", referenced from:
      _neoscrypt in cpuminer-neoscrypt.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

It seems like this ASM code isn't working for neoscrypt, for some reason... So I try again once more now disabling ASM manually

Code:
git clone https://github.com/tpruvot/cpuminer-multi.git && cd cpuminer-multi
./autogen.sh && chmod +x nomacro.pl && cd asm && ../nomacro.pl && cd ..
./configure --with-curl --with-crypto=/opt/local CFLAGS="-march=native"
perl -p -i -e "s/#if \(WINDOWS\)/#define ASM 0\n#if (WINDOWS)/g" algo/neoscrypt.c
make

Now it worked Smiley


Love programming? Checkout my book at http://code.energy/book
Epsylon3
Legendary
*
Online Online

Activity: 952


ccminer/cpuminer developer


View Profile WWW
November 21, 2015, 03:50:39 AM
 #100

tx for the report, i fixed the chmod and the asm/ path in the script

not sure that fix the neoscrypt problem but its a start :p

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi - yiimp
Pages: « 1 2 3 4 [5] 6 7 8 9 10 11 12 »  All
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!