Bitcoin Forum

Alternate cryptocurrencies => Mining (Altcoins) => Topic started by: Epsylon3 on October 31, 2014, 05:22:10 AM



Title: [ANN] cpuminer-multi v1.3 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: Epsylon3 on October 31, 2014, 05:22:10 AM
Winter is coming, and this year i shutdown elecric heaters ;)

Fork of Lucas Jones 1.0.3 version, with colors and some new algos.
my v1.0.4 changes were merged but nothing new from Lucas, so :

http://i59.tinypic.com/1zfkcaf.png

Download: https://github.com/tpruvot/cpuminer-multi/releases
Sources: https://github.com/tpruvot/cpuminer-multi

Last binaries :
http://cryptomining-blog.com/6359-updated-cpuminer-multi-1-2-dev-windows-binary-with-new-algorithms/
https://talk.vanillacoin.net/topic/311/blake256-8-round-normal-hashing-standard-tools/47

Linux Build status : https://travis-ci.org/tpruvot/cpuminer-multi

Code:
Version 1.3 (Tanguy Pruvot)
- Add decred algo
- Add lbry algo
- Add sia algo
- Add x11evo algo
- Add x17 and xevan algos
- Add veltor algo
- Enhance Blake2-S
- Stratum benchmarks support
- Show diff and solved blocks by default

Version 1.2 (Tanguy Pruvot)
- Add cryptonight-light (Aeon)
- Add Lyra2REv2 algo (Vertcoin)
- Allow to load a remote config with curl
- Algorithm parameter is now case insensitive
- Drop anime algo (dead coin)
- Add Sib(coin) algo
- Add Bastion algo
- Add Yescrypt and scrypt-jane algos
- Compute and show network diff in pools too
- Compute Shares diff and count solved blocks
- Checkup on arm, tested ok on Tegra K1 (CyanogenMod 12.1)

version 1.1
- Add basic API remote control (quit/seturl)
- Add GroestlCoin, Diamond and Myriad variants
- Add Pluck algo and fix gbt query crash
- Add ZR5 algo (ZRC) and fix longpoll bug on linux
- Add Luffa algo
- Add Skein2 algo (Double Skein for Woodcoin)
- Add Animecoin algo (Quark variant)
- Add Dropcoin pok algo
- Add BMW-256 (MDT) algo
- Add Axiom algo
- Change some logged strings
- Use all cores by default, not N-1
- Handle a default config to run without params
- add cpu-priority and cpu-affinity options
- add NSIS installer script for windows setup
- Implement background option on windows
- add -m stratum option (diff-multiplier)
- Time limit to allow benchmarks or cron jobs
- Fix Cryptonight stratum support
- Allow to disable extranonce support

Version 1.0.9
- pool extranonce subscribe
- upgrade jansson
- lyra2 algo
- fix for solo mining
- API websocket support

Version 1.0.8
- API Monitoring Support
- Enhance config values support (int/real/bool)
- Rewrite blake algo (speed x2)

Version 1.0.7 - VC2013 + MinGW 64

- Add NIST5 and QUBIT algos
- Show current stratum bloc height
- Fix wallet solo mining

Version multi 1.0.6

- Fix scrypt algo
- More work on VC2013
- Add -f tuning option to test with reduced difficulty
- Add S3 algo

Version 1.0.5

- Merge remaining v2.4 pooler cpu-miner changes
- Add colored output (disable with --no-color)
- Test and fix blake on NEOS, needs 14 rounds (was 8)
- Add pentablake (5x blake256) (from bitbandi)
- Add neoscrypt
- Windows (VC++ 2013 and MinGW64 build support)
- Enhance --version informations (compiler + lib versions)

Version 1.0.4 (Tanguy Pruvot)

- Add x13 x14 and x15 algos (Sherlockcoin, X14Coin, Webcoin..)
- Add scrypt:N variants (Vertcoin)
- Add fresh algo
- Fix thread khashes/s value output
- Add a configure option --disable-assembly

TODO in next versions :
- Enhance ASM support for VC2013
- Add more algos
- JSON Interface for stats

Usage (--help) :
Code:
** cpuminer-multi 1.1 by Tanguy Pruvot (tpruvot@github) **
BTC donation address: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd

Usage: cpuminer-multi [OPTIONS]
Options:
  -a, --algo=ALGO       specify the algorithm to use
                          scrypt       scrypt(1024, 1, 1) (default)
                          scrypt:N     scrypt(N, 1, 1)
                          sha256d      SHA-256d
                          anime        Animecoin
                          axiom        Axiom MemoHash
                          blake        Blake-256 (SFR)
                          blakecoin    Blakecoin
                          blake2s      Blake-2 S
                          bmw          BMW 256
                          c11/flax     C11
                          cryptonight  CryptoNight
                          dmd-gr       Diamond-Groestl
                          drop         Dropcoin
                          fresh        Fresh
                          groestl      GroestlCoin
                          heavy        Heavy
                          keccak       Keccak
                          luffa        Luffa
                          lyra2        Lyra2RE
                          myr-gr       Myriad-Groestl
                          neoscrypt    NeoScrypt(128, 2, 1)
                          nist5        Nist5
                          pluck        Pluck:128 (Supcoin)
                          pentablake   Pentablake
                          quark        Quark
                          qubit        Qubit
                          shavite3     Shavite3
                          skein        Skein+Sha (Skeincoin)
                          skein2       Double Skein (Woodcoin)
                          s3           S3
                          x11          X11
                          x13          X13
                          x14          X14
                          x15          X15
                          zr5          ZR5
  -o, --url=URL         URL of mining server
  -O, --userpass=U:P    username:password pair for mining server
  -u, --user=USERNAME   username for mining server
  -p, --pass=PASSWORD   password for mining server
      --cert=FILE       certificate for mining server using SSL
  -x, --proxy=[PROTOCOL://]HOST[:PORT]  connect through a proxy
  -t, --threads=N       number of miner threads (default: number of processors)
  -r, --retries=N       number of times to retry if a network call fails
                          (default: retry indefinitely)
  -R, --retry-pause=N   time to pause between retries, in seconds (default: 30)
      --time-limit=N    maximum time [s] to mine before exiting the program.
  -T, --timeout=N       timeout for long poll and stratum (default: 300 seconds)
  -s, --scantime=N      upper bound on time spent scanning current work when
                          long polling is unavailable, in seconds (default: 5)
      --randomize       Randomize scan range start to reduce duplicates
  -f, --diff-factor     Divide req. difficulty by this factor (std is 1.0)
  -m, --diff-multiplier Multiply difficulty by this factor (std is 1.0)
  -n, --nfactor         neoscrypt N-Factor
      --coinbase-addr=ADDR  payout address for solo mining
      --coinbase-sig=TEXT  data to insert in the coinbase when possible
      --no-longpoll     disable long polling support
      --no-getwork      disable getwork support
      --no-gbt          disable getblocktemplate support
      --no-stratum      disable X-Stratum support
      --no-extranonce   disable Stratum extranonce support
      --no-redirect     ignore requests to change the URL of the mining server
  -q, --quiet           disable per-thread hashmeter output
      --no-color        disable colored output
  -D, --debug           enable debug output
  -P, --protocol-dump   verbose dump of protocol-level activities
  -S, --syslog          use system log for output messages
  -B, --background      run the miner in the background
      --benchmark       run in offline benchmark mode
      --cputest         debug hashes from cpu algorithms
      --cpu-affinity    set process affinity to cpu core(s), mask 0x3 for cores 0 and 1
      --cpu-priority    set process priority (default: 0 idle, 2 normal to 5 highest)
  -b, --api-bind        IP/Port for the miner API (default: 127.0.0.1:4048)
      --api-remote      Allow remote control
      --max-temp=N      Only mine if cpu temp is less than specified value (linux)
      --max-rate=N[KMG] Only mine if net hashrate is less than specified value
      --max-diff=N      Only mine if net difficulty is less than specified value
  -c, --config=FILE     load a JSON-format configuration file
  -V, --version         display version information and exit
  -h, --help            display this help text and exit

Donations for the work done in this fork are accepted :

Tanguy Pruvot :

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd
DASH: XeVrkPrWB7pDbdFLfKhF1Z3xpqhsx6wkH3

Lucas Jones :

MRO: 472haywQKoxFzf7asaQ4XKBc2foAY4ezk8HiN63ifW4iAbJiLnfmJfhHSR9XmVKw2WYPnszJV9MEHj9 Z5WMK9VCNHaGLDmJ
BTC: 139QWoktddChHsZMWZFxmBva4FM96X2dhE


Title: Re: [ANN] cpuminer-multi v1.0.5 (Linux + Windows)
Post by: twoturtles on October 31, 2014, 06:31:06 AM
Nice work! =)


Title: Re: [ANN] cpuminer-multi v1.0.5 (Linux + Windows)
Post by: Epsylon3 on October 31, 2014, 07:27:43 AM
i detected a bug in scrypt... fixed in version 1.0.6


Title: Re: [ANN] cpuminer-multi v1.0.8 (Linux + Windows) now with API monitoring
Post by: Epsylon3 on November 15, 2014, 10:50:19 PM
Version 1.0.8 released :) with the same kind of API as i implemented in ccminer


Title: Re: [ANN] cpuminer-multi v1.0.8 (Linux + Windows)
Post by: poiuty on January 04, 2015, 12:13:12 AM
Code:
mv -f .deps/cpuminer-aesb-x64.Tpo .deps/cpuminer-aesb-x64.Po
gcc -std=gnu99 -Wno-pointer-sign -Wno-pointer-to-int-cast   -g -O2    -o cpuminer cpuminer-cpu-miner.o cpuminer-util.o cpuminer-api.o cpuminer-sensors.o sha3/cpuminer-sph_keccak.o sha3/cpuminer-sph_hefty1.o sha3/cpuminer-sph_groestl.o sha3/cpuminer-sph_skein.o sha3/cpuminer-sph_bmw.o sha3/cpuminer-sph_jh.o sha3/cpuminer-sph_shavite.o sha3/cpuminer-sph_blake.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_shabal.o sha3/cpuminer-sph_whirlpool.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 cpuminer-blake.o cpuminer-cryptonight.o cpuminer-fresh.o cpuminer-heavy.o cpuminer-ink.o cpuminer-lyra2re.o cpuminer-keccak.o cpuminer-pentablake.o cpuminer-quark.o cpuminer-neoscrypt.o cpuminer-nist5.o cpuminer-qubit.o cpuminer-scrypt.o cpuminer-sha2.o cpuminer-skein.o cpuminer-s3.o cpuminer-x11.o cpuminer-x13.o cpuminer-x14.o cpuminer-x15.o cpuminer-neoscrypt_asm.o  cpuminer-sha2-x64.o cpuminer-scrypt-x64.o cpuminer-aesb-x64.o    -ljansson -lpthread
cpuminer-cpu-miner.o: In function `show_version_and_exit':
/home/mining/cpuminer-multi-1.0.9-multi/cpu-miner.c:2196: undefined reference to `curl_version'
cpuminer-cpu-miner.o: In function `longpoll_thread':
/home/mining/cpuminer-multi-1.0.9-multi/cpu-miner.c:1909: undefined reference to `curl_easy_init'
/home/mining/cpuminer-multi-1.0.9-multi/cpu-miner.c:2021: undefined reference to `curl_easy_cleanup'
cpuminer-cpu-miner.o: In function `workio_thread':
/home/mining/cpuminer-multi-1.0.9-multi/cpu-miner.c:1411: undefined reference to `curl_easy_init'
/home/mining/cpuminer-multi-1.0.9-multi/cpu-miner.c:1449: undefined reference to `curl_easy_cleanup'
cpuminer-cpu-miner.o: In function `main':
/home/mining/cpuminer-multi-1.0.9-multi/cpu-miner.c:2692: undefined reference to `curl_global_init'
cpuminer-util.o: In function `stratum_connect':
/home/mining/cpuminer-multi-1.0.9-multi/util.c:957: undefined reference to `curl_easy_cleanup'
/home/mining/cpuminer-multi-1.0.9-multi/util.c:958: undefined reference to `curl_easy_init'
/home/mining/cpuminer-multi-1.0.9-multi/util.c:982: undefined reference to `curl_easy_setopt'
/home/mining/cpuminer-multi-1.0.9-multi/util.c:983: undefined reference to `curl_easy_setopt'
/home/mining/cpuminer-multi-1.0.9-multi/util.c:984: undefined reference to `curl_easy_setopt'
/home/mining/cpuminer-multi-1.0.9-multi/util.c:985: undefined reference to `curl_easy_setopt'
/home/mining/cpuminer-multi-1.0.9-multi/util.c:986: undefined reference to `curl_easy_setopt'
cpuminer-util.o:/home/mining/cpuminer-multi-1.0.9-multi/util.c:987: more undefined references to `curl_easy_setopt' follow
cpuminer-util.o: In function `stratum_connect':
/home/mining/cpuminer-multi-1.0.9-multi/util.c:1002: undefined reference to `curl_easy_perform'
/home/mining/cpuminer-multi-1.0.9-multi/util.c:1005: undefined reference to `curl_easy_cleanup'
/home/mining/cpuminer-multi-1.0.9-multi/util.c:981: undefined reference to `curl_easy_setopt'
cpuminer-util.o: In function `stratum_disconnect':
/home/mining/cpuminer-multi-1.0.9-multi/util.c:1022: undefined reference to `curl_easy_cleanup'
cpuminer-util.o: In function `json_rpc_call':
/home/mining/cpuminer-multi-1.0.9-multi/util.c:398: undefined reference to `curl_easy_setopt'
/home/mining/cpuminer-multi-1.0.9-multi/util.c:400: undefined reference to `curl_easy_setopt'
/home/mining/cpuminer-multi-1.0.9-multi/util.c:401: undefined reference to `curl_easy_setopt'
/home/mining/cpuminer-multi-1.0.9-multi/util.c:402: undefined reference to `curl_easy_setopt'
/home/mining/cpuminer-multi-1.0.9-multi/util.c:403: undefined reference to `curl_easy_setopt'
cpuminer-util.o:/home/mining/cpuminer-multi-1.0.9-multi/util.c:404: more undefined references to `curl_easy_setopt' follow
cpuminer-util.o: In function `json_rpc_call':
/home/mining/cpuminer-multi-1.0.9-multi/util.c:442: undefined reference to `curl_slist_append'
/home/mining/cpuminer-multi-1.0.9-multi/util.c:443: undefined reference to `curl_slist_append'
/home/mining/cpuminer-multi-1.0.9-multi/util.c:444: undefined reference to `curl_slist_append'
/home/mining/cpuminer-multi-1.0.9-multi/util.c:445: undefined reference to `curl_slist_append'
/home/mining/cpuminer-multi-1.0.9-multi/util.c:449: undefined reference to `curl_easy_setopt'
/home/mining/cpuminer-multi-1.0.9-multi/util.c:451: undefined reference to `curl_easy_perform'
/home/mining/cpuminer-multi-1.0.9-multi/util.c:525: undefined reference to `curl_slist_free_all'
/home/mining/cpuminer-multi-1.0.9-multi/util.c:526: undefined reference to `curl_easy_reset'
/home/mining/cpuminer-multi-1.0.9-multi/util.c:429: undefined reference to `curl_easy_setopt'
/home/mining/cpuminer-multi-1.0.9-multi/util.c:415: undefined reference to `curl_easy_setopt'
/home/mining/cpuminer-multi-1.0.9-multi/util.c:397: undefined reference to `curl_easy_setopt'
/home/mining/cpuminer-multi-1.0.9-multi/util.c:534: undefined reference to `curl_slist_free_all'
/home/mining/cpuminer-multi-1.0.9-multi/util.c:535: undefined reference to `curl_easy_reset'
/home/mining/cpuminer-multi-1.0.9-multi/util.c:455: undefined reference to `curl_easy_getinfo'
cpuminer-api.o: In function `websocket_handshake':
/home/mining/cpuminer-multi-1.0.9-multi/api.c:298: undefined reference to `SHA1_Init'
/home/mining/cpuminer-multi-1.0.9-multi/api.c:299: undefined reference to `SHA1_Update'
/home/mining/cpuminer-multi-1.0.9-multi/api.c:300: undefined reference to `SHA1_Final'
cpuminer-heavy.o: In function `heavyhash':
/home/mining/cpuminer-multi-1.0.9-multi/heavy.c:45: undefined reference to `SHA256_Init'
/home/mining/cpuminer-multi-1.0.9-multi/heavy.c:46: undefined reference to `SHA256_Update'
/home/mining/cpuminer-multi-1.0.9-multi/heavy.c:47: undefined reference to `SHA256_Update'
/home/mining/cpuminer-multi-1.0.9-multi/heavy.c:48: undefined reference to `SHA256_Final'
cpuminer-skein.o: In function `skeinhash':
/home/mining/cpuminer-multi-1.0.9-multi/skein.c:23: undefined reference to `SHA256_Init'
/home/mining/cpuminer-multi-1.0.9-multi/skein.c:24: undefined reference to `SHA256_Update'
/home/mining/cpuminer-multi-1.0.9-multi/skein.c:25: undefined reference to `SHA256_Final'
collect2: error: ld returned 1 exit status
make[2]: *** [cpuminer] Error 1
make[2]: Leaving directory `/home/mining/cpuminer-multi-1.0.9-multi'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/mining/cpuminer-multi-1.0.9-multi'
make: *** [all] Error 2


Title: Re: [ANN] cpuminer-multi v1.0.9 (Linux + Windows)
Post by: Epsylon3 on January 04, 2015, 02:42:50 PM
you need curl sources, then use ./build.sh


Title: Re: [ANN] cpuminer-multi v1.0.9 (Linux + Windows)
Post by: poiuty on January 05, 2015, 04:43:22 AM
When ./autogen.sh

In Makefile
Code:
cpuminer_LDADD =  -ljansson -lpthread

fix
Code:
cpuminer_LDADD =  -L/usr/lib/x86_64-linux-gnu -lcurl -ljansson -lpthread

When ./build.sh -> work fine.


Title: Re: [ANN] cpuminer-multi v1.0.9 (Linux + Windows)
Post by: Epsylon3 on January 05, 2015, 11:45:27 AM
your curl lib should be automatically found by configure, cf : https://travis-ci.org/tpruvot/cpuminer-multi


Title: Re: [ANN] cpuminer-multi v1.0.9 (Linux + Windows)
Post by: sirslayer on May 13, 2015, 05:12:22 AM
im on xubuntu 15.04 and i get this error..when i run "make"

make  all-recursive
make[1]: Entering directory '/home/sirdell/cpuminer'
Making all in compat
make[2]: Entering directory '/home/sirdell/cpuminer/compat'
Making all in jansson
make[3]: Entering directory '/home/sirdell/cpuminer/compat/jansson'
depbase=`echo dump.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..     -g -O2  -Iyes/include -Iyes/include -MT dump.o -MD -MP -MF $depbase.Tpo -c -o dump.o dump.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo error.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..     -g -O2  -Iyes/include -Iyes/include -MT error.o -MD -MP -MF $depbase.Tpo -c -o error.o error.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo hashtable.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..     -g -O2  -Iyes/include -Iyes/include -MT hashtable.o -MD -MP -MF $depbase.Tpo -c -o hashtable.o hashtable.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo load.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..     -g -O2  -Iyes/include -Iyes/include -MT load.o -MD -MP -MF $depbase.Tpo -c -o load.o load.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo memory.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..     -g -O2  -Iyes/include -Iyes/include -MT memory.o -MD -MP -MF $depbase.Tpo -c -o memory.o memory.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo pack_unpack.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..     -g -O2  -Iyes/include -Iyes/include -MT pack_unpack.o -MD -MP -MF $depbase.Tpo -c -o pack_unpack.o pack_unpack.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo strbuffer.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..     -g -O2  -Iyes/include -Iyes/include -MT strbuffer.o -MD -MP -MF $depbase.Tpo -c -o strbuffer.o strbuffer.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo strconv.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..     -g -O2  -Iyes/include -Iyes/include -MT strconv.o -MD -MP -MF $depbase.Tpo -c -o strconv.o strconv.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo utf.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..     -g -O2  -Iyes/include -Iyes/include -MT utf.o -MD -MP -MF $depbase.Tpo -c -o utf.o utf.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo value.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..     -g -O2  -Iyes/include -Iyes/include -MT value.o -MD -MP -MF $depbase.Tpo -c -o value.o value.c &&\
mv -f $depbase.Tpo $depbase.Po
rm -f libjansson.a
ar cru libjansson.a dump.o error.o hashtable.o load.o memory.o pack_unpack.o strbuffer.o strconv.o utf.o value.o
ranlib libjansson.a
make[3]: Leaving directory '/home/sirdell/cpuminer/compat/jansson'
make[3]: Entering directory '/home/sirdell/cpuminer/compat'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/sirdell/cpuminer/compat'
make[2]: Leaving directory '/home/sirdell/cpuminer/compat'
make[2]: Entering directory '/home/sirdell/cpuminer'
gcc -std=gnu99 -DHAVE_CONFIG_H -I.  -fno-strict-aliasing -I./compat/jansson -I.  -Wno-pointer-sign -Wno-pointer-to-int-cast   -g -O2  -Iyes/include -Iyes/include -MT cpuminer-cpu-miner.o -MD -MP -MF .deps/cpuminer-cpu-miner.Tpo -c -o cpuminer-cpu-miner.o `test -f 'cpu-miner.c' || echo './'`cpu-miner.c
cpu-miner.c:28:25: fatal error: openssl/sha.h: No such file or directory
 #include <openssl/sha.h>
                         ^
compilation terminated.
Makefile:1011: recipe for target 'cpuminer-cpu-miner.o' failed
make[2]: *** [cpuminer-cpu-miner.o] Error 1
make[2]: Leaving directory '/home/sirdell/cpuminer'
Makefile:1914: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/sirdell/cpuminer'
Makefile:501: recipe for target 'all' failed
make: *** [all] Error 2
sirdell@sirdell:~/cpuminer$



cant find <openssl/sha.h>  ????   how do you fix this??



Title: Re: [ANN] cpuminer-multi v1.0.9 (Linux + Windows)
Post by: sirslayer on May 13, 2015, 06:05:13 AM
ok it was just a openssl header error... i think i fixed that but now i get this

sirdell@sirdell:~/cpuminer$ sudo make
make  all-recursive
make[1]: Entering directory '/home/sirdell/cpuminer'
Making all in compat
make[2]: Entering directory '/home/sirdell/cpuminer/compat'
make[3]: Entering directory '/home/sirdell/cpuminer/compat'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/sirdell/cpuminer/compat'
make[2]: Leaving directory '/home/sirdell/cpuminer/compat'
make[2]: Entering directory '/home/sirdell/cpuminer'
gcc -std=gnu99 -Wno-pointer-sign -Wno-pointer-to-int-cast   -g -O2  -Iyes/include -Iyes/include -Lyes/lib -Lyes/lib  -Lyes/lib -Lyes/lib  -o cpuminer cpuminer-cpu-miner.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_skein.o sha3/cpuminer-sph_bmw.o sha3/cpuminer-sph_jh.o sha3/cpuminer-sph_shavite.o sha3/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 sha3/cpuminer-sph_sha2big.o sha3/cpuminer-sph_shabal.o sha3/cpuminer-sph_whirlpool.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-blake.o algo/cpuminer-blakecoin.o algo/cpuminer-cryptonight.o algo/cpuminer-fresh.o algo/cpuminer-groestl.o algo/cpuminer-heavy.o algo/cpuminer-ink.o algo/cpuminer-lyra2re.o algo/cpuminer-myr-groestl.o algo/cpuminer-keccak.o algo/cpuminer-pentablake.o algo/cpuminer-quark.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-skein.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-neoscrypt_asm.o  asm/cpuminer-sha2-x64.o asm/cpuminer-scrypt-x64.o asm/cpuminer-aesb-x64.o   -lcurl -lz -lssl -lcrypto -ljansson -lpthread 
/usr/bin/ld: cannot find -lz
collect2: error: ld returned 1 exit status
Makefile:766: recipe for target 'cpuminer' failed
make[2]: *** [cpuminer] Error 1
make[2]: Leaving directory '/home/sirdell/cpuminer'
Makefile:1914: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/sirdell/cpuminer'
Makefile:501: recipe for target 'all' failed
make: *** [all] Error 2


Title: Re: [ANN] cpuminer-multi v1.0.9 (Linux + Windows)
Post by: Epsylon3 on May 13, 2015, 02:41:51 PM
you need to install the dev packages


Title: Re: [ANN] cpuminer-multi v1.0.9 (Linux + Windows)
Post by: IMweasel on June 01, 2015, 12:11:36 PM
Nice job on the extra performance!
But how comes that these miners start up with 7 threads on a 8 core CPU? It does seem to put load on all cores though.
The original miner from Pooler launches 8 threads.


Title: Re: [ANN] cpuminer-multi v1.0.9 (Linux + Windows)
Post by: Jake-R on June 05, 2015, 12:36:26 AM
Nice job on the extra performance!
But how comes that these miners start up with 7 threads on a 8 core CPU? It does seem to put load on all cores though.
The original miner from Pooler launches 8 threads.
I get similar results. It is like the program calculates threads to run like: Number of cores - 1 = number of threads.


Title: Re: [ANN] cpuminer-multi v1.0.9 (Linux + Windows)
Post by: Epsylon3 on June 05, 2015, 12:20:09 PM
indeed to let some cpu on work threads, but you can use -t 8 to force it


Title: Re: [ANN] cpuminer-multi v1.0.9 (Linux + Windows)
Post by: temroa on June 05, 2015, 12:23:00 PM
is compiling the miner with mingw64 so hard ?


Title: Re: [ANN] cpuminer-multi v1.0.9 (Linux + Windows)
Post by: Epsylon3 on June 05, 2015, 12:24:59 PM
is compiling the miner with mingw64 so hard ?

No it works perfectly when you have built the dependencies curl openssl zlib pthreads and jansson.... Good luck ;)


Title: Re: [ANN] cpuminer-multi v1.0.9 (Linux + Windows)
Post by: temroa on June 05, 2015, 12:28:44 PM
if it will be short can you post the instructions ?


Title: Re: [ANN] cpuminer-multi v1.0.9 (Linux + Windows)
Post by: Epsylon3 on June 05, 2015, 12:31:24 PM
Its not short.. It why i've prebuilt libs in vstudio... But its junk for the git tree... Even the mingw64 standard env is hard to setup... Need msys etc

EDIT: i will upload my prebuilt env. in a few minutes...


Title: Re: [ANN] cpuminer-multi v1.0.9 (Linux + Windows)
Post by: Epsylon3 on June 05, 2015, 01:12:28 PM
You can download it here : http://ccminer.org/mingw64/

And please read the README.txt

then ./build.sh in cpuminer folder should be enough (not included in the archive)


Title: Re: [ANN] cpuminer-multi v1.0.9 (Linux + Windows)
Post by: Jake-R on June 05, 2015, 02:49:25 PM
I really like this new miner. I have a couple questions about it.

In the sample batch file there is a -b 0.0.0.0:4048 function. However, in the help this does not appear to be documented. What is -b for?

Also, about every 30 minutes. I get this error on any workstation I run this on:  Stratum connection timed out, Stratum connection interrupted. I do not get this when GPU mining on the same pool (http://simplemulti.com/). I am mining Vertcoin. Is this a client side issue, or an issue with the mining pool?

I am using this as my batch file for start-up:

cpuminer-multi-mingw64 -a lyra2 -o stratum+tcp://ca.simplemulti.com:3374 -u addresskey.worker1 -p x

pause


Title: Re: [ANN] cpuminer-multi v1.0.9 (Linux + Windows)
Post by: Epsylon3 on June 05, 2015, 02:51:34 PM
cpuminer --help to get the help :p -b is api-bind

0.0.0.0 allow to bind to the network (nice to monitor linux servers) -b 0 disable it, and -b 127.0.0.1:4048 means only allow api calls from localhost (default)

Stratum connection timed out just mean you were disconnected, pool server restart or network disconnect... but it should reconnect automatically to send the next shares


Title: Re: [ANN] cpuminer-multi v1.0.9 (Linux + Windows)
Post by: Jake-R on June 06, 2015, 03:33:28 AM
cpuminer --help to get the help :p -b is api-bind

0.0.0.0 allow to bind to the network (nice to monitor linux servers) -b 0 disable it, and -b 127.0.0.1:4048 means only allow api calls from localhost (default)

Stratum connection timed out just mean you were disconnected, pool server restart or network disconnect... but it should reconnect automatically to send the next shares

This is the error to which I am referring. Is it the miner? The Stratum? The internet? It happens about every 15 minutes:

http://i.imgur.com/1cmxrEp.png


Title: Re: [ANN] cpuminer-multi v1.0.9 (Linux + Windows)
Post by: sirslayer on June 06, 2015, 11:13:13 PM
thank you :)   Epsylon3


Title: Re: [ANN] cpuminer-multi v1.0.9 (Linux + Windows)
Post by: cjambox on June 28, 2015, 02:34:51 PM
Epsylon3 when i benchmarking at cpuminer-multi-mingw64 with neoscrypt algo i got error at windows


Title: Re: [ANN] cpuminer-multi v1.0.9 (Linux + Windows)
Post by: Epsylon3 on June 28, 2015, 04:12:18 PM
yep, i get the error also... dunno why yet, asm stuff not proper i guess


Title: Re: [ANN] cpuminer-multi v1.0.9 (Linux + Windows)
Post by: Katerich on June 29, 2015, 11:33:27 AM
cpuminer --help to get the help :p -b is api-bind

0.0.0.0 allow to bind to the network (nice to monitor linux servers) -b 0 disable it, and -b 127.0.0.1:4048 means only allow api calls from localhost (default)

Stratum connection timed out just mean you were disconnected, pool server restart or network disconnect... but it should reconnect automatically to send the next shares

This is the error to which I am referring. Is it the miner? The Stratum? The internet? It happens about every 15 minutes:

http://i.imgur.com/1cmxrEp.png

yes, I also get an error same with Jake-R when getting started this miner


Title: Re: [ANN] cpuminer-multi v1.0.9 (Linux + Windows)
Post by: Epsylon3 on June 29, 2015, 11:37:04 AM
please copy paste your log and the command line you used...


Title: Re: [ANN] cpuminer-multi v1.0.9 (Linux + Windows)
Post by: setowae on June 30, 2015, 02:03:20 AM
hi guys
forgive for interrupted
i just download this app
but i dont know how to work it
how to used the hash?
should i input my crytpo adress? and where i have to chance it?
cause the app just work
thanx you for answer...

[/img]http://s14.postimg.org/flo0cmitt/Screenshot_96.png[/img]


Title: Re: [ANN] cpuminer-multi v1.0.9 (Linux + Windows)
Post by: oldkolobok on July 15, 2015, 09:18:47 AM
I am seen version 1.1, but it is not in the release. Why?


Title: Re: [ANN] cpuminer-multi v1.0.9 (Linux + Windows)
Post by: Epsylon3 on July 15, 2015, 12:19:28 PM
because its not "finished" yet ;)


Title: Re: [ANN] cpuminer-multi v1.1 (Linux + Windows)
Post by: Epsylon3 on July 29, 2015, 02:34:00 PM
Now it is... https://github.com/tpruvot/cpuminer-multi/releases/tag/v1.1-multi


Title: Re: [ANN] cpuminer-multi v1.1 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: _javi_ on July 29, 2015, 07:57:14 PM
Is 54 H/s ok for an AMD FX-8150 with -t 7, on Axiom algo ??


Title: Re: [ANN] cpuminer-multi v1.1 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: Epsylon3 on July 29, 2015, 07:58:56 PM
yes, its a really slow algo, maybe the slowest ive seen with scrypt-jane and pluck (one hash require 128K sub shabal 256 hashes) so the real shabal256 speed is like 128000x faster ;p


Title: Re: [ANN] cpuminer-multi v1.1 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: _javi_ on July 29, 2015, 08:01:36 PM
thanks for your quick answer.

keep on the good work! congrats.


Title: Re: [ANN] cpuminer-multi v1.1 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: dhsc19 on July 29, 2015, 10:59:17 PM
Can't seem to compile (Ubuntu 14.02...all dependencies are installed).  Anyone else have any hints:

make  all-recursive
make[1]: Entering directory `/home/dhsc19/Downloads/mining/cpuminer-multi'
Making all in compat
make[2]: Entering directory `/home/dhsc19/Downloads/mining/cpuminer-multi/compat'
make[3]: Entering directory `/home/dhsc19/Downloads/mining/cpuminer-multi/compat'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/dhsc19/Downloads/mining/cpuminer-multi/compat'
make[2]: Leaving directory `/home/dhsc19/Downloads/mining/cpuminer-multi/compat'
make[2]: Entering directory `/home/dhsc19/Downloads/mining/cpuminer-multi'
gcc -std=gnu99 -Wno-pointer-sign -Wno-pointer-to-int-cast   -march=native    -o cpuminer cpuminer-cpu-miner.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_skein.o sha3/cpuminer-sph_bmw.o sha3/cpuminer-sph_jh.o sha3/cpuminer-sph_shavite.o sha3/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 sha3/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/cpuminer-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-quark.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-skein.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-neoscrypt_asm.o  asm/cpuminer-sha2-x64.o asm/cpuminer-scrypt-x64.o asm/cpuminer-aesb-x64.o   -ljansson -lpthread
cpuminer-cpu-miner.o: In function `workio_thread':
cpu-miner.c:(.text+0x38a5): undefined reference to `curl_easy_init'
cpu-miner.c:(.text+0x3994): undefined reference to `curl_easy_cleanup'
cpuminer-cpu-miner.o: In function `stratum_gen_work':
cpu-miner.c:(.text+0x3ddf): undefined reference to `SHA256'
cpuminer-cpu-miner.o: In function `longpoll_thread':
cpu-miner.c:(.text+0x5e1a): undefined reference to `curl_easy_init'
cpu-miner.c:(.text+0x63d8): undefined reference to `curl_easy_cleanup'
cpuminer-cpu-miner.o: In function `show_version_and_exit':
cpu-miner.c:(.text+0x6b7c): undefined reference to `curl_version'
cpuminer-cpu-miner.o: In function `main':
cpu-miner.c:(.text+0x8840): undefined reference to `curl_global_init'
cpuminer-util.o: In function `json_rpc_call':
util.c:(.text+0x11e2): undefined reference to `curl_easy_setopt'
util.c:(.text+0x120f): undefined reference to `curl_easy_setopt'
util.c:(.text+0x1248): undefined reference to `curl_easy_setopt'
util.c:(.text+0x1273): undefined reference to `curl_easy_setopt'
util.c:(.text+0x129e): undefined reference to `curl_easy_setopt'
cpuminer-util.o:util.c:(.text+0x12c9): more undefined references to `curl_easy_setopt' follow
cpuminer-util.o: In function `json_rpc_call':
util.c:(.text+0x169b): undefined reference to `curl_slist_append'
util.c:(.text+0x16bb): undefined reference to `curl_slist_append'
util.c:(.text+0x16d6): undefined reference to `curl_slist_append'
util.c:(.text+0x16f1): undefined reference to `curl_slist_append'
util.c:(.text+0x1725): undefined reference to `curl_easy_setopt'
util.c:(.text+0x1734): undefined reference to `curl_easy_perform'
util.c:(.text+0x178d): undefined reference to `curl_easy_getinfo'
util.c:(.text+0x1cb1): undefined reference to `curl_slist_free_all'
util.c:(.text+0x1cc0): undefined reference to `curl_easy_reset'
util.c:(.text+0x1d14): undefined reference to `curl_slist_free_all'
util.c:(.text+0x1d23): undefined reference to `curl_easy_reset'
cpuminer-util.o: In function `stratum_connect':
util.c:(.text+0x317f): undefined reference to `curl_easy_cleanup'
util.c:(.text+0x3184): undefined reference to `curl_easy_init'
util.c:(.text+0x32ed): undefined reference to `curl_easy_setopt'
util.c:(.text+0x3312): undefined reference to `curl_easy_setopt'
util.c:(.text+0x3334): undefined reference to `curl_easy_setopt'
util.c:(.text+0x3356): undefined reference to `curl_easy_setopt'
util.c:(.text+0x337b): undefined reference to `curl_easy_setopt'
cpuminer-util.o:util.c:(.text+0x339d): more undefined references to `curl_easy_setopt' follow
cpuminer-util.o: In function `stratum_connect':
util.c:(.text+0x34cf): undefined reference to `curl_easy_perform'
util.c:(.text+0x3503): undefined reference to `curl_easy_cleanup'
cpuminer-util.o: In function `stratum_disconnect':
util.c:(.text+0x3558): undefined reference to `curl_easy_cleanup'
cpuminer-api.o: In function `websocket_handshake':
api.c:(.text+0xa0c): undefined reference to `SHA1_Init'
api.c:(.text+0xa37): undefined reference to `SHA1_Update'
api.c:(.text+0xa50): undefined reference to `SHA1_Final'
algo/cpuminer-heavy.o: In function `heavyhash':
heavy.c:(.text+0x22b): undefined reference to `SHA256_Init'
heavy.c:(.text+0x24d): undefined reference to `SHA256_Update'
heavy.c:(.text+0x26b): undefined reference to `SHA256_Update'
heavy.c:(.text+0x284): undefined reference to `SHA256_Final'
algo/cpuminer-skein.o: In function `skeinhash':
skein.c:(.text+0x159): undefined reference to `SHA256_Init'
skein.c:(.text+0x177): undefined reference to `SHA256_Update'
skein.c:(.text+0x190): undefined reference to `SHA256_Final'
collect2: error: ld returned 1 exit status
make[2]: *** [cpuminer] Error 1
make[2]: Leaving directory `/home/dhsc19/Downloads/mining/cpuminer-multi'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/dhsc19/Downloads/mining/cpuminer-multi'
make: *** [all] Error 2


Title: Re: [ANN] cpuminer-multi v1.1 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: Epsylon3 on July 29, 2015, 11:12:54 PM
Yes 5th and 8th posts one page ago... So plz... Read the readme or use windows binary


Title: Re: [ANN] cpuminer-multi v1.1 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: impulse2000 on July 30, 2015, 06:43:52 AM
Can't seem to compile (Ubuntu 14.02...all dependencies are installed).  Anyone else have any hints:
git clone https://github.com/tpruvot/cpuminer-multi.git
cd cpuminer-multi/
./autogen.sh && ./configure --with-curl --with-crypto CFLAGS="-march=native" && make clean && make -j2
./cpuminer -a axiom -o stratum+tcp://axiom.eu.nicehash.com:3346 -u 18EJ9w1MuZXWDNNEuLAyq4SJJUsYx9fqiX -p x

something this...


Title: Re: [ANN] cpuminer-multi v1.1 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: Singman33 on July 30, 2015, 07:13:33 AM
Nope, dont compile on Ubuntu (and maybe others)...
Code:
gcc -std=gnu99 -Wno-pointer-sign -Wno-pointer-to-int-cast   -O3 -march=native  -Iyes/include -Iyes/include -Lyes/lib -Lyes/lib  -Lyes/lib -Lyes/lib  -o cpuminer cpuminer-cpu-miner.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_skein.o sha3/cpuminer-sph_bmw.o sha3/cpuminer-sph_jh.o sha3/cpuminer-sph_shavite.o sha3/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 sha3/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-blake.o algo/cpuminer-blakecoin.o algo/cpuminer-blake2.o algo/cpuminer-bmw256.o algo/cpuminer-c11.o algo/cpuminer-cryptonight.o algo/cpuminer-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-quark.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-skein.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-neoscrypt_asm.o  asm/cpuminer-sha2-x64.o asm/cpuminer-scrypt-x64.o asm/cpuminer-aesb-x64.o   -lcurl -lz -lssl -lcrypto compat/jansson/libjansson.a -lpthread
cpuminer-cpu-miner.o: dans la fonction « miner_thread »:
cpu-miner.c:(.text+0x36e9): référence indéfinie vers « scanhash_axiom »
cpuminer-util.o: dans la fonction « print_hash_tests »:
util.c:(.text+0x5b38): référence indéfinie vers « axiomhash »
collect2: error: ld returned 1 exit status
Makefile:784: recipe for target 'cpuminer' failed


Title: Re: [ANN] cpuminer-multi v1.1 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: Singman33 on July 30, 2015, 07:15:14 AM
BTW, you are not using any "-O" flags on your command.
Did you make some tests with -O2, -O3 ?


Title: Re: [ANN] cpuminer-multi v1.1 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: Epsylon3 on July 30, 2015, 12:59:29 PM
BTW, you are not using any "-O" flags on your command.
Did you make some tests with -O2, -O3 ?

just use ./build.sh

All my commits are automatically tested here : https://travis-ci.org/tpruvot/cpuminer-multi

This is the proof your problem is somewhere between your chair and the keyboard


Title: Re: [ANN] cpuminer-multi v1.1 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: Singman33 on July 30, 2015, 06:52:15 PM
All my commits are automatically tested here : https://travis-ci.org/tpruvot/cpuminer-multi
This is the proof your problem is somewhere between your chair and the keyboard
Nice insult !
BTW, that miner was building nice before a "make clean; git pull; sh ./autogen.sh; ./configure --with-curl --with-crypto; make". So ?


Title: Re: [ANN] cpuminer-multi v1.1 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: Epsylon3 on July 30, 2015, 06:56:58 PM
delete your folder and reclone... or just use build.sh


Title: Re: [ANN] cpuminer-multi v1.1 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: Singman33 on July 30, 2015, 07:06:25 PM
Already tried. Different error of course :
Code:
gcc -std=gnu99 -Wno-pointer-sign -Wno-pointer-to-int-cast   -O2  -Ofast -flto -ftree-loop-if-convert-stores -DUSE_ASM -pg  -Iyes/include -Iyes/include -Lyes/lib -Lyes/lib  -Lyes/lib -Lyes/lib  -o cpuminer cpuminer-cpu-miner.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_skein.o sha3/cpuminer-sph_bmw.o sha3/cpuminer-sph_jh.o sha3/cpuminer-sph_shavite.o sha3/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 sha3/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/cpuminer-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-quark.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-skein.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-neoscrypt_asm.o  asm/cpuminer-sha2-x64.o asm/cpuminer-scrypt-x64.o asm/cpuminer-aesb-x64.o   -lcurl -lz -lssl -lcrypto compat/jansson/libjansson.a -lpthread
/tmp/cc3qX1RA.ltrans1.ltrans.o: dans la fonction « submit_upstream_work »:
<artificial>:(.text+0x4cc): référence indéfinie vers « json_object »
<artificial>:(.text+0x4db): référence indéfinie vers « json_string »
<artificial>:(.text+0x4eb): référence indéfinie vers « json_object_set_new »
<artificial>:(.text+0x4f5): référence indéfinie vers « json_dumps »
<artificial>:(.text+0x51c): référence indéfinie vers « json_delete »
<artificial>:(.text+0x5bf): référence indéfinie vers « json_object_get »
<artificial>:(.text+0x5d9): référence indéfinie vers « json_string_value »
Played with the -fuse-linker-plugin flag to see if that change something but no.
Ubuntu 15.04, GCC 4.9.2

Look like a broken flag, I'm tracking it (compiling and linking with only "-O2" work).

Ok, found the guilty : "-flto". Without it, everything compile fine. I've tried to remove "-pg" but "-flto" keep breaking link.


Title: Re: [ANN] cpuminer-multi v1.1 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: PeaMine on July 31, 2015, 02:16:08 AM
The --cpu-priority 0 command doesn't seem to be working.
Still sets it to normal

On Linux, I'm compiling and getting:



mv -f asm/.deps/cpuminer-aesb-x64.Tpo asm/.deps/cpuminer-aesb-x64.Po
gcc -std=gnu99 -Wno-pointer-sign -Wno-pointer-to-int-cast   -g -O2    -o cpuminer cpuminer-cpu-miner.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_skein.o sha3/cpuminer-sph_bmw.o sha3/cpuminer-sph_jh.o sha3/cpuminer-sph_shavite.o sha3/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 sha3/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/cpuminer-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-quark.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-skein.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-neoscrypt_asm.o  asm/cpuminer-sha2-x64.o asm/cpuminer-scrypt-x64.o asm/cpuminer-aesb-x64.o   compat/jansson/libjansson.a -lpthread
cpuminer-cpu-miner.o: In function `longpoll_thread':
/root/cpuminer-multi/cpu-miner.c:2107: undefined reference to `curl_easy_init'
/root/cpuminer-multi/cpu-miner.c:2221: undefined reference to `curl_easy_cleanup'
cpuminer-cpu-miner.o: In function `stratum_gen_work':
/root/cpuminer-multi/cpu-miner.c:1508: undefined reference to `SHA256'
cpuminer-cpu-miner.o: In function `workio_thread':
/root/cpuminer-multi/cpu-miner.c:1368: undefined reference to `curl_easy_init'
/root/cpuminer-multi/cpu-miner.c:1406: undefined reference to `curl_easy_cleanup'
cpuminer-cpu-miner.o: In function `show_version_and_exit':
/root/cpuminer-multi/cpu-miner.c:2413: undefined reference to `curl_version'
cpuminer-cpu-miner.o: In function `main':
/root/cpuminer-multi/cpu-miner.c:2985: undefined reference to `curl_global_init'
cpuminer-util.o: In function `stratum_connect':
/root/cpuminer-multi/util.c:1058: undefined reference to `curl_easy_cleanup'
/root/cpuminer-multi/util.c:1059: undefined reference to `curl_easy_init'
/root/cpuminer-multi/util.c:1083: undefined reference to `curl_easy_setopt'
/root/cpuminer-multi/util.c:1084: undefined reference to `curl_easy_setopt'
/root/cpuminer-multi/util.c:1085: undefined reference to `curl_easy_setopt'
/root/cpuminer-multi/util.c:1086: undefined reference to `curl_easy_setopt'
/root/cpuminer-multi/util.c:1087: undefined reference to `curl_easy_setopt'
cpuminer-util.o:/root/cpuminer-multi/util.c:1088: more undefined references to `curl_easy_setopt' follow
cpuminer-util.o: In function `stratum_connect':
/root/cpuminer-multi/util.c:1103: undefined reference to `curl_easy_perform'
/root/cpuminer-multi/util.c:1106: undefined reference to `curl_easy_cleanup'
/root/cpuminer-multi/util.c:1082: undefined reference to `curl_easy_setopt'
cpuminer-util.o: In function `stratum_disconnect':
/root/cpuminer-multi/util.c:1123: undefined reference to `curl_easy_cleanup'
cpuminer-util.o: In function `json_rpc_call':
/root/cpuminer-multi/util.c:461: undefined reference to `curl_easy_setopt'
/root/cpuminer-multi/util.c:463: undefined reference to `curl_easy_setopt'
/root/cpuminer-multi/util.c:464: undefined reference to `curl_easy_setopt'
/root/cpuminer-multi/util.c:465: undefined reference to `curl_easy_setopt'
/root/cpuminer-multi/util.c:466: undefined reference to `curl_easy_setopt'
cpuminer-util.o:/root/cpuminer-multi/util.c:467: more undefined references to `curl_easy_setopt' follow
cpuminer-util.o: In function `json_rpc_call':
/root/cpuminer-multi/util.c:505: undefined reference to `curl_slist_append'
/root/cpuminer-multi/util.c:506: undefined reference to `curl_slist_append'
/root/cpuminer-multi/util.c:507: undefined reference to `curl_slist_append'
/root/cpuminer-multi/util.c:508: undefined reference to `curl_slist_append'
/root/cpuminer-multi/util.c:512: undefined reference to `curl_easy_setopt'
/root/cpuminer-multi/util.c:514: undefined reference to `curl_easy_perform'
/root/cpuminer-multi/util.c:605: undefined reference to `curl_slist_free_all'
/root/cpuminer-multi/util.c:606: undefined reference to `curl_easy_reset'
/root/cpuminer-multi/util.c:492: undefined reference to `curl_easy_setopt'
/root/cpuminer-multi/util.c:478: undefined reference to `curl_easy_setopt'
/root/cpuminer-multi/util.c:460: undefined reference to `curl_easy_setopt'
/root/cpuminer-multi/util.c:614: undefined reference to `curl_slist_free_all'
/root/cpuminer-multi/util.c:615: undefined reference to `curl_easy_reset'
/root/cpuminer-multi/util.c:518: undefined reference to `curl_easy_getinfo'
cpuminer-api.o: In function `websocket_handshake':
/root/cpuminer-multi/api.c:336: undefined reference to `SHA1_Init'
/root/cpuminer-multi/api.c:337: undefined reference to `SHA1_Update'
/root/cpuminer-multi/api.c:338: undefined reference to `SHA1_Final'
algo/cpuminer-heavy.o: In function `heavyhash':
/root/cpuminer-multi/algo/heavy.c:45: undefined reference to `SHA256_Init'
/root/cpuminer-multi/algo/heavy.c:46: undefined reference to `SHA256_Update'
/root/cpuminer-multi/algo/heavy.c:47: undefined reference to `SHA256_Update'
/root/cpuminer-multi/algo/heavy.c:48: undefined reference to `SHA256_Final'
algo/cpuminer-skein.o: In function `skeinhash':
/root/cpuminer-multi/algo/skein.c:21: undefined reference to `SHA256_Init'
/root/cpuminer-multi/algo/skein.c:22: undefined reference to `SHA256_Update'
/root/cpuminer-multi/algo/skein.c:23: undefined reference to `SHA256_Final'
collect2: ld returned 1 exit status
make[2]: *** [cpuminer] Error 1
make[2]: Leaving directory `/root/cpuminer-multi'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/cpuminer-multi'
make: *** [all] Error 2


Title: Re: [ANN] cpuminer-multi v1.1 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: Singman33 on July 31, 2015, 07:38:10 AM
That issue was already addressed, you should do at least
./configure -with-curl --with-crypto
before launching the make (as show in previous page...)


Title: Re: [ANN] cpuminer-multi v1.1 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: skunk on August 04, 2015, 12:56:21 PM
Code:
$ ./cpuminer -a axiom --benchmark
** cpuminer-multi 1.1 by Tanguy Pruvot (tpruvot@github) **
BTC donation address: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd

[2015-08-04 14:51:48] 8 miner threads started, using 'axiom' algorithm.
[2015-08-04 14:51:58] CPU #3: 6.25 H/s
[2015-08-04 14:51:58] CPU #7: 6.05 H/s
[2015-08-04 14:52:02] CPU #0: 4.41 H/s
[2015-08-04 14:52:03] CPU #4: 4.29 H/s
[2015-08-04 14:52:03] CPU #2: 4.26 H/s
[2015-08-04 14:52:03] CPU #1: 4.26 H/s
[2015-08-04 14:52:03] CPU #3: 6.05 H/s
[2015-08-04 14:52:03] CPU #5: 4.20 H/s
[2015-08-04 14:52:03] CPU #0: 5.33 H/s
[2015-08-04 14:52:03] CPU #6: 4.09 H/s
[2015-08-04 14:52:04] CPU #7: 5.91 H/s
[2015-08-04 14:52:04] Total: 0.04 kH/s
[2015-08-04 14:52:07] CPU #7: 6.11 H/s
[2015-08-04 14:52:07] Total: 0.04 kH/s
[2015-08-04 14:52:08] CPU #2: 4.43 H/s
[2015-08-04 14:52:08] CPU #4: 4.14 H/s
[2015-08-04 14:52:08] CPU #1: 4.21 H/s
[2015-08-04 14:52:08] CPU #7: 6.39 H/s
[2015-08-04 14:52:08] Total: 0.04 kH/s
[2015-08-04 14:52:08] CPU #5: 4.12 H/s
[2015-08-04 14:52:08] CPU #6: 4.40 H/s
[2015-08-04 14:52:08] CPU #3: 6.01 H/s
[2015-08-04 14:52:09] CPU #0: 4.32 H/s
[2015-08-04 14:52:12] CPU #2: 5.09 H/s
[2015-08-04 14:52:12] CPU #1: 5.34 H/s
[2015-08-04 14:52:12] CPU #4: 4.81 H/s
[2015-08-04 14:52:12] CPU #5: 5.24 H/s
[2015-08-04 14:52:12] CPU #6: 5.18 H/s
[2015-08-04 14:52:13] CPU #2: 6.82 H/s
[2015-08-04 14:52:13] CPU #1: 7.42 H/s
[2015-08-04 14:52:13] CPU #0: 4.92 H/s
[2015-08-04 14:52:13] CPU #4: 6.88 H/s
[2015-08-04 14:52:13] CPU #5: 7.49 H/s
[2015-08-04 14:52:13] CPU #3: 6.37 H/s
[2015-08-04 14:52:13] CPU #7: 6.18 H/s
[2015-08-04 14:52:13] Total: 0.05 kH/s
[2015-08-04 14:52:13] CPU #6: 6.55 H/s
[2015-08-04 14:52:16] CPU #0: 5.75 H/s
[2015-08-04 14:52:18] CPU #3: 6.04 H/s
[2015-08-04 14:52:18] CPU #7: 5.84 H/s
[2015-08-04 14:52:18] Total: 0.05 kH/s
[2015-08-04 14:52:18] CPU #2: 5.26 H/s
[2015-08-04 14:52:19] CPU #0: 4.92 H/s
[2015-08-04 14:52:19] CPU #4: 5.20 H/s
[2015-08-04 14:52:19] CPU #6: 5.22 H/s
[2015-08-04 14:52:19] CPU #1: 5.43 H/s
[2015-08-04 14:52:20] CPU #5: 5.33 H/s
[2015-08-04 14:52:22] CPU #0: 5.78 H/s
[2015-08-04 14:52:22] CPU #7: 6.73 H/s
[2015-08-04 14:52:22] Total: 0.04 kH/s
[2015-08-04 14:52:23] CPU #5: 5.26 H/s
[2015-08-04 14:52:23] CPU #0: 4.83 H/s
[2015-08-04 14:52:23] CPU #3: 6.79 H/s
[2015-08-04 14:52:23] CPU #4: 4.95 H/s
[2015-08-04 14:52:23] CPU #1: 5.43 H/s
[2015-08-04 14:52:23] CPU #7: 7.40 H/s
[2015-08-04 14:52:23] Total: 0.05 kH/s
this on a i7-3770 cpu, far less than the +200 h/s of your windows release... :(


Title: Re: [ANN] cpuminer-multi v1.1 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: drstas72 on August 05, 2015, 09:19:01 AM
Build on ubuntu and have error

git clone https://github.com/nicehash/cpuminer-multi
cd cpuminer-multi/
./build.sh

...skip...
gcc -std=gnu99 -DHAVE_CONFIG_H -I.  -fno-strict-aliasing  -I.  -Wno-pointer-sign -Wno-pointer-to-int-cast   -O2  -Ofast -flto -fuse-linker-plugin -ftree-loop-if-convert-stores -DUSE_ASM -pg  -Iyes/include -Iyes/include -MT lyra2/cpuminer-Lyra2.o -MD -MP -MF lyra2/.deps/cpuminer-Lyra2.Tpo -c -o lyra2/cpuminer-Lyra2.o `test -f 'lyra2/Lyra2.c' || echo './'`lyra2/Lyra2.c
crypto/mshabal.c: In function ‘mshabal8_compress’:
crypto/mshabal.c:44:3: error: unknown type name ‘__m256i’
   __m256i data[16];
   ^
crypto/mshabal.c:47:2: error: unknown type name ‘__m256i’
  __m256i A[12], B[16], C[16];
  ^
crypto/mshabal.c:48:2: error: unknown type name ‘__m256i’
  __m256i one;
  ^
crypto/mshabal.c:51:3: warning: implicit declaration of function ‘_mm256_loadu_si256’ [-Wimplicit-function-declaration]
   A[j] = _mm256_loadu_si256((__m256i *)sc->state + j);
   ^
crypto/mshabal.c:51:30: error: ‘__m256i’ undeclared (first use in this function)
   A[j] = _mm256_loadu_si256((__m256i *)sc->state + j);
                              ^
crypto/mshabal.c:51:30: note: each undeclared identifier is reported only once for each function it appears in
crypto/mshabal.c:51:39: error: expected expression before ‘)’ token
   A[j] = _mm256_loadu_si256((__m256i *)sc->state + j);
                                       ^
crypto/mshabal.c:53:39: error: expected expression before ‘)’ token
   B[j] = _mm256_loadu_si256((__m256i *)sc->state + j + 12);
                                       ^
crypto/mshabal.c:54:39: error: expected expression before ‘)’ token
   C[j] = _mm256_loadu_si256((__m256i *)sc->state + j + 28);
                                       ^
crypto/mshabal.c:56:2: warning: implicit declaration of function ‘_mm256_set1_epi32’ [-Wimplicit-function-declaration]
  one = _mm256_set1_epi32(C32(0xFFFFFFFF));
  ^
crypto/mshabal.c:76:4: warning: implicit declaration of function ‘_mm256_add_epi32’ [-Wimplicit-function-declaration]
    B[j] = _mm256_add_epi32(B[j], M(j));
    ^
crypto/mshabal.c:76:4: warning: implicit declaration of function ‘_mm256_load_si256’ [-Wimplicit-function-declaration]
crypto/mshabal.c:78:3: warning: implicit declaration of function ‘_mm256_xor_si256’ [-Wimplicit-function-declaration]
   A[0] = _mm256_xor_si256(A[0], _mm256_set1_epi32(sc->Wlow));
   ^
crypto/mshabal.c:82:4: warning: implicit declaration of function ‘_mm256_or_si256’ [-Wimplicit-function-declaration]
    B[j] = _mm256_or_si256(_mm256_slli_epi32(B[j], 17),
    ^
crypto/mshabal.c:82:4: warning: implicit declaration of function ‘_mm256_slli_epi32’ [-Wimplicit-function-declaration]
crypto/mshabal.c:83:4: warning: implicit declaration of function ‘_mm256_srli_epi32’ [-Wimplicit-function-declaration]
    _mm256_srli_epi32(B[j], 15));
    ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:102:3: note: in expansion of macro ‘PP’
   PP(A[0x0], A[0xB], B[0x0], B[0xD], B[0x9], B[0x6], C[0x8], M(0x0));
   ^
crypto/mshabal.c:87:3: error: ‘tt’ undeclared (first use in this function)
   tt = _mm256_or_si256(_mm256_slli_epi32(xa1, 15), \
   ^
crypto/mshabal.c:102:3: note: in expansion of macro ‘PP’
   PP(A[0x0], A[0xB], B[0x0], B[0xD], B[0x9], B[0x6], C[0x8], M(0x0));
   ^
crypto/mshabal.c:86:11: warning: implicit declaration of function ‘_mm256_andnot_si256’ [-Wimplicit-function-declaration]
   __m256i tt; \
           ^
crypto/mshabal.c:102:3: note: in expansion of macro ‘PP’
   PP(A[0x0], A[0xB], B[0x0], B[0xD], B[0x9], B[0x6], C[0x8], M(0x0));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:103:3: note: in expansion of macro ‘PP’
   PP(A[0x1], A[0x0], B[0x1], B[0xE], B[0xA], B[0x7], C[0x7], M(0x1));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:104:3: note: in expansion of macro ‘PP’
   PP(A[0x2], A[0x1], B[0x2], B[0xF], B[0xB], B[0x8], C[0x6], M(0x2));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:105:3: note: in expansion of macro ‘PP’
   PP(A[0x3], A[0x2], B[0x3], B[0x0], B[0xC], B[0x9], C[0x5], M(0x3));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:106:3: note: in expansion of macro ‘PP’
   PP(A[0x4], A[0x3], B[0x4], B[0x1], B[0xD], B[0xA], C[0x4], M(0x4));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:107:3: note: in expansion of macro ‘PP’
   PP(A[0x5], A[0x4], B[0x5], B[0x2], B[0xE], B[0xB], C[0x3], M(0x5));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:108:3: note: in expansion of macro ‘PP’
   PP(A[0x6], A[0x5], B[0x6], B[0x3], B[0xF], B[0xC], C[0x2], M(0x6));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:109:3: note: in expansion of macro ‘PP’
   PP(A[0x7], A[0x6], B[0x7], B[0x4], B[0x0], B[0xD], C[0x1], M(0x7));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:110:3: note: in expansion of macro ‘PP’
   PP(A[0x8], A[0x7], B[0x8], B[0x5], B[0x1], B[0xE], C[0x0], M(0x8));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:111:3: note: in expansion of macro ‘PP’
   PP(A[0x9], A[0x8], B[0x9], B[0x6], B[0x2], B[0xF], C[0xF], M(0x9));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:112:3: note: in expansion of macro ‘PP’
   PP(A[0xA], A[0x9], B[0xA], B[0x7], B[0x3], B[0x0], C[0xE], M(0xA));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:113:3: note: in expansion of macro ‘PP’
   PP(A[0xB], A[0xA], B[0xB], B[0x8], B[0x4], B[0x1], C[0xD], M(0xB));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:114:3: note: in expansion of macro ‘PP’
   PP(A[0x0], A[0xB], B[0xC], B[0x9], B[0x5], B[0x2], C[0xC], M(0xC));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:115:3: note: in expansion of macro ‘PP’
   PP(A[0x1], A[0x0], B[0xD], B[0xA], B[0x6], B[0x3], C[0xB], M(0xD));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:116:3: note: in expansion of macro ‘PP’
   PP(A[0x2], A[0x1], B[0xE], B[0xB], B[0x7], B[0x4], C[0xA], M(0xE));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:117:3: note: in expansion of macro ‘PP’
   PP(A[0x3], A[0x2], B[0xF], B[0xC], B[0x8], B[0x5], C[0x9], M(0xF));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:119:3: note: in expansion of macro ‘PP’
   PP(A[0x4], A[0x3], B[0x0], B[0xD], B[0x9], B[0x6], C[0x8], M(0x0));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:120:3: note: in expansion of macro ‘PP’
   PP(A[0x5], A[0x4], B[0x1], B[0xE], B[0xA], B[0x7], C[0x7], M(0x1));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:121:3: note: in expansion of macro ‘PP’
   PP(A[0x6], A[0x5], B[0x2], B[0xF], B[0xB], B[0x8], C[0x6], M(0x2));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:122:3: note: in expansion of macro ‘PP’
   PP(A[0x7], A[0x6], B[0x3], B[0x0], B[0xC], B[0x9], C[0x5], M(0x3));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:123:3: note: in expansion of macro ‘PP’
   PP(A[0x8], A[0x7], B[0x4], B[0x1], B[0xD], B[0xA], C[0x4], M(0x4));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:124:3: note: in expansion of macro ‘PP’
   PP(A[0x9], A[0x8], B[0x5], B[0x2], B[0xE], B[0xB], C[0x3], M(0x5));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:125:3: note: in expansion of macro ‘PP’
   PP(A[0xA], A[0x9], B[0x6], B[0x3], B[0xF], B[0xC], C[0x2], M(0x6));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:126:3: note: in expansion of macro ‘PP’
   PP(A[0xB], A[0xA], B[0x7], B[0x4], B[0x0], B[0xD], C[0x1], M(0x7));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:127:3: note: in expansion of macro ‘PP’
   PP(A[0x0], A[0xB], B[0x8], B[0x5], B[0x1], B[0xE], C[0x0], M(0x8));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:128:3: note: in expansion of macro ‘PP’
   PP(A[0x1], A[0x0], B[0x9], B[0x6], B[0x2], B[0xF], C[0xF], M(0x9));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:129:3: note: in expansion of macro ‘PP’
   PP(A[0x2], A[0x1], B[0xA], B[0x7], B[0x3], B[0x0], C[0xE], M(0xA));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:130:3: note: in expansion of macro ‘PP’
   PP(A[0x3], A[0x2], B[0xB], B[0x8], B[0x4], B[0x1], C[0xD], M(0xB));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:131:3: note: in expansion of macro ‘PP’
   PP(A[0x4], A[0x3], B[0xC], B[0x9], B[0x5], B[0x2], C[0xC], M(0xC));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:132:3: note: in expansion of macro ‘PP’
   PP(A[0x5], A[0x4], B[0xD], B[0xA], B[0x6], B[0x3], C[0xB], M(0xD));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:133:3: note: in expansion of macro ‘PP’
   PP(A[0x6], A[0x5], B[0xE], B[0xB], B[0x7], B[0x4], C[0xA], M(0xE));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:134:3: note: in expansion of macro ‘PP’
   PP(A[0x7], A[0x6], B[0xF], B[0xC], B[0x8], B[0x5], C[0x9], M(0xF));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:136:3: note: in expansion of macro ‘PP’
   PP(A[0x8], A[0x7], B[0x0], B[0xD], B[0x9], B[0x6], C[0x8], M(0x0));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:137:3: note: in expansion of macro ‘PP’
   PP(A[0x9], A[0x8], B[0x1], B[0xE], B[0xA], B[0x7], C[0x7], M(0x1));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:138:3: note: in expansion of macro ‘PP’
   PP(A[0xA], A[0x9], B[0x2], B[0xF], B[0xB], B[0x8], C[0x6], M(0x2));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:139:3: note: in expansion of macro ‘PP’
   PP(A[0xB], A[0xA], B[0x3], B[0x0], B[0xC], B[0x9], C[0x5], M(0x3));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:140:3: note: in expansion of macro ‘PP’
   PP(A[0x0], A[0xB], B[0x4], B[0x1], B[0xD], B[0xA], C[0x4], M(0x4));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:141:3: note: in expansion of macro ‘PP’
   PP(A[0x1], A[0x0], B[0x5], B[0x2], B[0xE], B[0xB], C[0x3], M(0x5));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:142:3: note: in expansion of macro ‘PP’
   PP(A[0x2], A[0x1], B[0x6], B[0x3], B[0xF], B[0xC], C[0x2], M(0x6));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:143:3: note: in expansion of macro ‘PP’
   PP(A[0x3], A[0x2], B[0x7], B[0x4], B[0x0], B[0xD], C[0x1], M(0x7));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:144:3: note: in expansion of macro ‘PP’
   PP(A[0x4], A[0x3], B[0x8], B[0x5], B[0x1], B[0xE], C[0x0], M(0x8));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:145:3: note: in expansion of macro ‘PP’
   PP(A[0x5], A[0x4], B[0x9], B[0x6], B[0x2], B[0xF], C[0xF], M(0x9));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:146:3: note: in expansion of macro ‘PP’
   PP(A[0x6], A[0x5], B[0xA], B[0x7], B[0x3], B[0x0], C[0xE], M(0xA));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:147:3: note: in expansion of macro ‘PP’
   PP(A[0x7], A[0x6], B[0xB], B[0x8], B[0x4], B[0x1], C[0xD], M(0xB));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:148:3: note: in expansion of macro ‘PP’
   PP(A[0x8], A[0x7], B[0xC], B[0x9], B[0x5], B[0x2], C[0xC], M(0xC));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:149:3: note: in expansion of macro ‘PP’
   PP(A[0x9], A[0x8], B[0xD], B[0xA], B[0x6], B[0x3], C[0xB], M(0xD));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:150:3: note: in expansion of macro ‘PP’
   PP(A[0xA], A[0x9], B[0xE], B[0xB], B[0x7], B[0x4], C[0xA], M(0xE));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:151:3: note: in expansion of macro ‘PP’
   PP(A[0xB], A[0xA], B[0xF], B[0xC], B[0x8], B[0x5], C[0x9], M(0xF));
   ^
crypto/mshabal.c:191:11: error: expected ‘;’ before ‘tmp’
   __m256i tmp; \
           ^
crypto/mshabal.c:197:3: note: in expansion of macro ‘SWAP_AND_SUB’
   SWAP_AND_SUB(B[0x0], C[0x0], M(0x0));
   ^
crypto/mshabal.c:192:3: error: ‘tmp’ undeclared (first use in this function)
   tmp = xb; \
   ^
crypto/mshabal.c:197:3: note: in expansion of macro ‘SWAP_AND_SUB’
   SWAP_AND_SUB(B[0x0], C[0x0], M(0x0));
   ^
crypto/mshabal.c:191:11: warning: implicit declaration of function ‘_mm256_sub_epi32’ [-Wimplicit-function-declaration]
   __m256i tmp; \
           ^
crypto/mshabal.c:197:3: note: in expansion of macro ‘SWAP_AND_SUB’
   SWAP_AND_SUB(B[0x0], C[0x0], M(0x0));
   ^
crypto/mshabal.c:191:11: error: expected ‘;’ before ‘tmp’
   __m256i tmp; \
           ^
crypto/mshabal.c:198:3: note: in expansion of macro ‘SWAP_AND_SUB’
   SWAP_AND_SUB(B[0x1], C[0x1], M(0x1));
   ^
crypto/mshabal.c:191:11: error: expected ‘;’ before ‘tmp’
   __m256i tmp; \
           ^
crypto/mshabal.c:199:3: note: in expansion of macro ‘SWAP_AND_SUB’
   SWAP_AND_SUB(B[0x2], C[0x2], M(0x2));
   ^
crypto/mshabal.c:191:11: error: expected ‘;’ before ‘tmp’
   __m256i tmp; \
           ^
crypto/mshabal.c:200:3: note: in expansion of macro ‘SWAP_AND_SUB’
   SWAP_AND_SUB(B[0x3], C[0x3], M(0x3));
   ^
crypto/mshabal.c:191:11: error: expected ‘;’ before ‘tmp’
   __m256i tmp; \
           ^
crypto/mshabal.c:201:3: note: in expansion of macro ‘SWAP_AND_SUB’
   SWAP_AND_SUB(B[0x4], C[0x4], M(0x4));
   ^
crypto/mshabal.c:191:11: error: expected ‘;’ before ‘tmp’
   __m256i tmp; \
           ^
crypto/mshabal.c:202:3: note: in expansion of macro ‘SWAP_AND_SUB’
   SWAP_AND_SUB(B[0x5], C[0x5], M(0x5));
   ^
crypto/mshabal.c:191:11: error: expected ‘;’ before ‘tmp’
   __m256i tmp; \
           ^
crypto/mshabal.c:203:3: note: in expansion of macro ‘SWAP_AND_SUB’
   SWAP_AND_SUB(B[0x6], C[0x6], M(0x6));
   ^
crypto/mshabal.c:191:11: error: expected ‘;’ before ‘tmp’
   __m256i tmp; \
           ^
crypto/mshabal.c:204:3: note: in expansion of macro ‘SWAP_AND_SUB’
   SWAP_AND_SUB(B[0x7], C[0x7], M(0x7));
   ^
crypto/mshabal.c:191:11: error: expected ‘;’ before ‘tmp’
   __m256i tmp; \
           ^
crypto/mshabal.c:205:3: note: in expansion of macro ‘SWAP_AND_SUB’
   SWAP_AND_SUB(B[0x8], C[0x8], M(0x8));
   ^
crypto/mshabal.c:191:11: error: expected ‘;’ before ‘tmp’
   __m256i tmp; \
           ^
crypto/mshabal.c:206:3: note: in expansion of macro ‘SWAP_AND_SUB’
   SWAP_AND_SUB(B[0x9], C[0x9], M(0x9));
   ^
crypto/mshabal.c:191:11: error: expected ‘;’ before ‘tmp’
   __m256i tmp; \
           ^
crypto/mshabal.c:207:3: note: in expansion of macro ‘SWAP_AND_SUB’
   SWAP_AND_SUB(B[0xA], C[0xA], M(0xA));
   ^
crypto/mshabal.c:191:11: error: expected ‘;’ before ‘tmp’
   __m256i tmp; \
           ^
crypto/mshabal.c:208:3: note: in expansion of macro ‘SWAP_AND_SUB’
   SWAP_AND_SUB(B[0xB], C[0xB], M(0xB));
   ^
crypto/mshabal.c:191:11: error: expected ‘;’ before ‘tmp’
   __m256i tmp; \
           ^
crypto/mshabal.c:209:3: note: in expansion of macro ‘SWAP_AND_SUB’
   SWAP_AND_SUB(B[0xC], C[0xC], M(0xC));
   ^
crypto/mshabal.c:191:11: error: expected ‘;’ before ‘tmp’
   __m256i tmp; \
           ^
crypto/mshabal.c:210:3: note: in expansion of macro ‘SWAP_AND_SUB’
   SWAP_AND_SUB(B[0xD], C[0xD], M(0xD));
   ^
crypto/mshabal.c:191:11: error: expected ‘;’ before ‘tmp’
   __m256i tmp; \
           ^
crypto/mshabal.c:211:3: note: in expansion of macro ‘SWAP_AND_SUB’
   SWAP_AND_SUB(B[0xE], C[0xE], M(0xE));
   ^
crypto/mshabal.c:191:11: error: expected ‘;’ before ‘tmp’
   __m256i tmp; \
           ^
crypto/mshabal.c:212:3: note: in expansion of macro ‘SWAP_AND_SUB’
   SWAP_AND_SUB(B[0xF], C[0xF], M(0xF));
   ^
crypto/mshabal.c:228:3: warning: implicit declaration of function ‘_mm256_storeu_si256’ [-Wimplicit-function-declaration]
   _mm256_storeu_si256((__m256i *)sc->state + j, A[j]);
   ^
crypto/mshabal.c:228:33: error: expected expression before ‘)’ token
   _mm256_storeu_si256((__m256i *)sc->state + j, A[j]);
                                 ^
crypto/mshabal.c:230:33: error: expected expression before ‘)’ token
   _mm256_storeu_si256((__m256i *)sc->state + j + 12, B[j]);
                                 ^
crypto/mshabal.c:231:33: error: expected expression before ‘)’ token
   _mm256_storeu_si256((__m256i *)sc->state + j + 28, C[j]);
                                 ^
make[2]: *** [crypto/cpuminer-mshabal.o] Ошибка 1
make[2]: *** Ожидание завершения заданий...
mv -f lyra2/.deps/cpuminer-Lyra2.Tpo lyra2/.deps/cpuminer-Lyra2.Po
mv -f crypto/.deps/cpuminer-aesb.Tpo crypto/.deps/cpuminer-aesb.Po
mv -f crypto/.deps/cpuminer-c_skein.Tpo crypto/.deps/cpuminer-c_skein.Po
make[2]: Выход из каталога `/home/drstas/cpuminer-multi'
make[1]: *** [all-recursive] Ошибка 1
make[1]: Выход из каталога `/home/drstas/cpuminer-multi'
make: *** [all] Ошибка 2
strip: 'cpuminer': Нет такого файла
drstas@ubuntu:~/cpuminer-multi$


Title: Re: [ANN] cpuminer-multi v1.1 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: Epsylon3 on August 05, 2015, 11:29:32 AM
you need an avx2 arch to build that, add -march=native in CFLAGS if you have a 4th gen cpu (require a recent gcc too, was not handled on gcc 4.6)


Title: Re: [ANN] cpuminer-multi v1.1 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: drstas72 on August 05, 2015, 12:00:51 PM
make clean distclean
./configure CFLAGS="-march=native"
...
checking whether we can compile AVX code... yes
checking whether we can compile XOP code... yes
checking whether we can compile AVX2 code... yes
...
make

And have error again.

drstas@ubuntu:~/cpuminer-multi$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.8/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.8.2-19ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-4.8/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.8 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.8 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-libmudflap --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.8-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1)

16 core CPU E5-2650


Title: Re: [ANN] cpuminer-multi v1.1 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: Epsylon3 on August 05, 2015, 12:15:18 PM
try my arm branch and use ./build.sh directly on it

CFLAGS are set in build.sh


Title: Re: [ANN] cpuminer-multi v1.1 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: drstas72 on August 05, 2015, 12:20:35 PM
# Debian 7.7 / Ubuntu 14.04 (gcc 4.7+)
extracflags="$extracflags -Ofast -flto -fuse-linker-plugin -ftree-loop-if-convert-stores -march=native"

./configure --with-crypto --with-curl CFLAGS="-O2 $extracflags -DUSE_ASM -pg"


Error.


Title: Re: [ANN] cpuminer-multi v1.1 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: Epsylon3 on August 05, 2015, 12:25:04 PM
your cpu doesnt support AVX2... only AVX, i fixed the problem yesterday for travis (same answer for the i7-3770)

can compile AVX2 code != can execute, its only an assembler test at configure time

cat /proc/cpuinfo if you want to be sure :p but i'm


Title: Re: [ANN] cpuminer-multi v1.1 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: drstas72 on August 05, 2015, 12:37:32 PM
Sory, CPU E5630
E5-2650 in other vm.

How to disable AVX2 feature in configure script?

processor       : 14
vendor_id       : GenuineIntel
cpu family      : 6
model           : 44
model name      : Intel(R) Xeon(R) CPU           E5630  @ 2.53GHz
stepping        : 2
microcode       : 0xc
cpu MHz         : 2533.423
cache size      : 12288 KB
physical id     : 28
siblings        : 1
core id         : 0
cpu cores       : 1
apicid          : 28
initial apicid  : 28
fpu             : yes
fpu_exception   : yes
cpuid level     : 11
wp              : yes


Title: Re: [ANN] cpuminer-multi v1.1 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: Epsylon3 on August 05, 2015, 12:39:55 PM
so use the latest git version... axiom branch, else you can try to add -mno-avx2

http://gcc.gnu.org/onlinedocs/gcc-4.8.2/gcc/i386-and-x86-64-Options.html#i386-and-x86-64-Options

Its not in my main branches (linux/windows) until all cases are tested, using avx2 only stuff in C is new (was only made in asm before)

be sure you have the version with #ifdef __AVX2__ in the code

CPU without AVX2 (i5 3570K) :
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm ida arat epb pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase smep erms xsaveopt


CPU with AVX2 (i5 4440) :
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm ida arat pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid xsaveopt


Title: Re: [ANN] cpuminer-multi v1.1 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: Epsylon3 on August 05, 2015, 12:59:41 PM
nicehash dev has published a (different) fix also for that, its why i work on different (temporary) axiom and arm branches :

https://github.com/nicehash/cpuminer-multi/commit/966e6b1def98a06b040f005d1d360f772896d3ff


Title: Re: [ANN] cpuminer-multi v1.1 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: drstas72 on August 05, 2015, 01:18:04 PM
rm -rf cpuminer-multi
git clone https://github.com/nicehash/cpuminer-multi
cd cpuminer-multi
vi build.sh
-----
 Debian 7.7 / Ubuntu 14.04 (gcc 4.7+)
extracflags="$extracflags -Ofast -flto -fuse-linker-plugin -ftree-loop-if-convert-stores -march=native -mno-avx2"

./configure --with-crypto --with-curl CFLAGS="-O2 $extracflags -DUSE_ASM -pg"

make -j 4
-----

./build.sh
gcc -std=gnu99 -DHAVE_CONFIG_H -I.  -fno-strict-aliasing  -I.  -Wno-pointer-sign -Wno-pointer-to-int-cast   -O2  -Ofast -flto -fuse-linker-plugin -ftree-loop-if-convert-stores -march=native -mno-avx2 -DUSE_ASM -pg  -Iyes/include -Iyes/include -MT crypto/cpuminer-mshabal.o -MD -MP -MF crypto/.deps/cpuminer-mshabal.Tpo -c -o crypto/cpuminer-mshabal.o `test -f 'crypto/mshabal.c' || echo './'`crypto/mshabal.c
crypto/mshabal.c: In function ‘mshabal8_compress’:
crypto/mshabal.c:44:3: error: unknown type name ‘__m256i’
   __m256i data[16];
   ^

Ups....

Change cpuminer-config.h
/* Define to 1 if AVX2 assembly is available. */
//#define USE_AVX2 1
#undef USE_AVX2

make clean && make
Error...

Im not understund.
Please help my step-by-step



Title: Re: [ANN] cpuminer-multi v1.1 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: Epsylon3 on August 05, 2015, 01:19:07 PM
rm -rf cpuminer-multi
git clone https://github.com/nicehash/cpuminer-multi
cd cpuminer-multi
vi build.sh
-----
 Debian 7.7 / Ubuntu 14.04 (gcc 4.7+)
extracflags="$extracflags -Ofast -flto -fuse-linker-plugin -ftree-loop-if-convert-stores -march=native -mno-avx2"

./configure --with-crypto --with-curl CFLAGS="-O2 $extracflags -DUSE_ASM -pg"

make -j 4
-----

./build.sh
gcc -std=gnu99 -DHAVE_CONFIG_H -I.  -fno-strict-aliasing  -I.  -Wno-pointer-sign -Wno-pointer-to-int-cast   -O2  -Ofast -flto -fuse-linker-plugin -ftree-loop-if-convert-stores -march=native -mno-avx2 -DUSE_ASM -pg  -Iyes/include -Iyes/include -MT crypto/cpuminer-mshabal.o -MD -MP -MF crypto/.deps/cpuminer-mshabal.Tpo -c -o crypto/cpuminer-mshabal.o `test -f 'crypto/mshabal.c' || echo './'`crypto/mshabal.c
crypto/mshabal.c: In function ‘mshabal8_compress’:
crypto/mshabal.c:44:3: error: unknown type name ‘__m256i’
   __m256i data[16];
   ^

Ups....

Change cpuminer-config.h
/* Define to 1 if AVX2 assembly is available. */
//#define USE_AVX2 1
#undef USE_AVX2

make clean && make
Error...

Im not understund.
Please help my step-by-step



dont have tested nicehash work ... its not me ^^ and was just uploaded

__m256i should be ifdefed (avx2)


Title: Re: [ANN] cpuminer-multi v1.1 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: K1773R on August 05, 2015, 08:34:45 PM
rm -rf cpuminer-multi
git clone https://github.com/nicehash/cpuminer-multi
cd cpuminer-multi
vi build.sh
-----
 Debian 7.7 / Ubuntu 14.04 (gcc 4.7+)
extracflags="$extracflags -Ofast -flto -fuse-linker-plugin -ftree-loop-if-convert-stores -march=native -mno-avx2"

./configure --with-crypto --with-curl CFLAGS="-O2 $extracflags -DUSE_ASM -pg"

make -j 4
-----

./build.sh
gcc -std=gnu99 -DHAVE_CONFIG_H -I.  -fno-strict-aliasing  -I.  -Wno-pointer-sign -Wno-pointer-to-int-cast   -O2  -Ofast -flto -fuse-linker-plugin -ftree-loop-if-convert-stores -march=native -mno-avx2 -DUSE_ASM -pg  -Iyes/include -Iyes/include -MT crypto/cpuminer-mshabal.o -MD -MP -MF crypto/.deps/cpuminer-mshabal.Tpo -c -o crypto/cpuminer-mshabal.o `test -f 'crypto/mshabal.c' || echo './'`crypto/mshabal.c
crypto/mshabal.c: In function ‘mshabal8_compress’:
crypto/mshabal.c:44:3: error: unknown type name ‘__m256i’
   __m256i data[16];
   ^

Ups....

Change cpuminer-config.h
/* Define to 1 if AVX2 assembly is available. */
//#define USE_AVX2 1
#undef USE_AVX2

make clean && make
Error...

Im not understund.
Please help my step-by-step


this is horrible. use git pull!


Title: Re: [ANN] cpuminer-multi v1.1 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: PeaMine on August 06, 2015, 12:17:20 AM
What directions for CPU on Ubuntu without AVX support, just SSE4.2?


Title: Re: [ANN] cpuminer-multi v1.1 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: drstas72 on August 07, 2015, 09:53:17 PM

...skip...

Change cpuminer-config.h
/* Define to 1 if AVX2 assembly is available. */
//#define USE_AVX2 1
#undef USE_AVX2

make clean && make
Error...

Im not understund.
Please help my step-by-step


this is horrible. use git pull!

I would not ask any questions, if only it were that simple.
Try it for yourself, give advice, not shouts.


Title: Re: [ANN] cpuminer-multi v1.1 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: Epsylon3 on August 07, 2015, 11:18:02 PM
begins with the readme...


Title: Re: [ANN] cpuminer-multi v1.1 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: drstas72 on August 08, 2015, 07:51:53 AM
begins with the readme...

I can not read.
20 years as a system administrator, and did not learn to read.
I can give you access to the server, help, compile.  ;D


Title: Re: [ANN] cpuminer-multi v1.1 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: IMweasel on August 10, 2015, 04:20:42 PM
Dear Epsylon, i was thrilled you;
Planned support for
    scrypt-jane (YaCoin, CopperBars, Pennies, Tickets, etc..)

Any idea about when to expect this? Can't wait tot see the improved speeds in these coins!
Keep up the good work ;-)


Title: Re: [ANN] cpuminer-multi v1.1 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: gregbe on August 10, 2015, 04:44:30 PM
Yes 5th and 8th posts one page ago... So plz... Read the readme or use windows binary

Any chance you could compile new Windows binaries? I saw your repository has changes for the Lyra2REv2 fork, but they were made after your last windows release.


Title: Re: [ANN] cpuminer-multi v1.1 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: ajw7989 on August 11, 2015, 02:25:33 PM
Yes 5th and 8th posts one page ago... So plz... Read the readme or use windows binary

Any chance you could compile new Windows binaries? I saw your repository has changes for the Lyra2REv2 fork, but they were made after your last windows release.

I compiled it for ya. Here it is (did it yesterday and used it fine):

https://mega.co.nz/#!eVZlgCDA!UiPBfUaeEEsKITPh2t2c_-4eBDNOB5noxgNNCYfD15Q

virustotal scan: https://www.virustotal.com/en/file/afc83ed72cc2a4b02424a91d41c0c8e170c345cd1d0513ef17a7d87adf3212cb/analysis/1439303005/
1/56 only because its a variant of a bitcoin miner


Title: Re: [ANN] cpuminer-multi v1.1 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: gregbe on August 11, 2015, 02:59:19 PM
Yes 5th and 8th posts one page ago... So plz... Read the readme or use windows binary

Any chance you could compile new Windows binaries? I saw your repository has changes for the Lyra2REv2 fork, but they were made after your last windows release.

I compiled it for ya. Here it is (did it yesterday and used it fine):

https://mega.co.nz/#!eVZlgCDA!UiPBfUaeEEsKITPh2t2c_-4eBDNOB5noxgNNCYfD15Q

virustotal scan: https://www.virustotal.com/en/file/afc83ed72cc2a4b02424a91d41c0c8e170c345cd1d0513ef17a7d87adf3212cb/analysis/1439303005/
1/56 only because its a variant of a bitcoin miner

Thanks, muchly appreciated!
Greg


Title: Re: [ANN] cpuminer-multi v1.1 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: tsatsur on August 12, 2015, 02:32:52 PM
ajw7989, could you please compile cpuminer gw64 version?  thanks


Title: Re: [ANN] cpuminer-multi v1.1 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: Jake-R on August 13, 2015, 06:43:52 PM
ajw7989, could you please compile cpuminer gw64 version?  thanks

I'd like this too. For the new Vertcoin algo.


Title: Re: [ANN] cpuminer-multi v1.1 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: Epsylon3 on August 13, 2015, 08:24:06 PM
https://www.dropbox.com/s/62vjcieameo0ci7/cpuminer-gw64-lyra2rev2.exe


Title: Re: [ANN] cpuminer-multi v1.1 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: Jake-R on August 13, 2015, 08:32:01 PM
https://www.dropbox.com/s/62vjcieameo0ci7/cpuminer-gw64-lyra2rev2.exe

Thank you. How do we get this upon the official release page (https://github.com/tpruvot/cpuminer-multi/releases)?


Title: Re: [ANN] cpuminer-multi v1.1 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: Epsylon3 on August 13, 2015, 08:32:34 PM
when it will be officially released ... :p i got no infos from the Vertcoin team before my 1.1 release, so they will wait...


Title: Re: [ANN] cpuminer-multi v1.1 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: Jake-R on August 14, 2015, 04:41:15 AM
when it will be officially released ... :p i got no infos from the Vertcoin team before my 1.1 release, so they will wait...

Thank you for your dedication to the mining software :)


Title: Re: [ANN] cpuminer-multi v1.1 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: tsatsur on August 14, 2015, 09:57:43 AM
https[Suspicious link removed]

nice one! thanks:)


Title: Re: [ANN] cpuminer-multi v1.1 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: soloasi on September 03, 2015, 11:44:57 PM
hi!, just looking around something about cpu mining and found this topic, i wonder why my antivirus keeps saying "win32:malware-gen" .... antivirus Avast is it normal? ... want to try it but dont know...


Title: Re: [ANN] cpuminer-multi v1.1 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: Epsylon3 on September 04, 2015, 12:18:16 PM
yes, its normal, and no way to fight against that... sigh

even when you compile it from source, its detected as a "bitcoin miner", which is true...


Title: Re: [ANN] cpuminer-multi v1.1 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: -pANIC- on September 20, 2015, 03:54:18 PM
Are there any prerequisites in order to get this to work?  It keeps crashing with an "Unhandled exception has occurred in your application" when starting, here's a crash log:
https://gist.github.com/anonymous/985f5709bb783a917898




Title: Re: [ANN] cpuminer-multi v1.1 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: Epsylon3 on September 20, 2015, 11:54:46 PM
The code from the axiom/nicehash branch is not from me, and the nicehash launcher is another project... from nicehash too


Title: Re: [ANN] cpuminer-multi v1.1 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: NiceHashSupport on September 21, 2015, 06:59:19 AM
Are there any prerequisites in order to get this to work?  It keeps crashing with an "Unhandled exception has occurred in your application" when starting, here's a crash log:
https://gist.github.com/anonymous/985f5709bb783a917898




Make sure you fully unzip all files before launching anything.


Title: Re: [ANN] cpuminer-multi v1.1 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: Epsylon3 on September 21, 2015, 12:46:57 PM
i7 5775C (mingw64) :
Code:
[2015-09-21 14:46:14] CPU #7: 53.11 H/s
[2015-09-21 14:46:14] accepted: 2542/2545 (99.88%), 398.93 H/s yes!
[2015-09-21 14:46:16] axiom.maxminers.net:8962 axiom block 163566

i5 5675C (linux 64) :
Code:
[2015-09-21 14:43:36] CPU #3: 64.06 H/s
[2015-09-21 14:43:37] accepted: 3/3 (100.00%), 256.34 H/s yes!


Title: Re: [ANN] cpuminer-multi v1.1 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: Jahvinci on September 24, 2015, 05:12:40 PM
Love your work with cpuminer-multi, great job!


Title: Re: [ANN] cpuminer-multi v1.1 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: chris190 on September 24, 2015, 10:08:18 PM
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!

https://ip.bitcointalk.org/?u=http%3A%2F%2Fs18.postimg.org%2Fwoc4u56s9%2Frp2.jpg&t=556&c=YoQBvGrsOvO3hA


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!  ???



Title: Re: [ANN] cpuminer-multi v1.1 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: Epsylon3 on September 25, 2015, 06:03:51 AM
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


Title: Re: [ANN] cpuminer-multi v1.1 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: chris190 on September 25, 2015, 08:00:54 AM
is not tia but mobilcash, new coin!


Title: Re: [ANN] cpuminer-multi v1.1 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: Epsylon3 on September 25, 2015, 08:05:03 AM
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


Title: Re: [ANN] cpuminer-multi v1.1 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: chris190 on September 25, 2015, 08:10:58 AM
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! ;)


Title: Re: [ANN] cpuminer-multi v1.1 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: grendel25 on September 27, 2015, 09:46:36 PM
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.


Title: Re: [ANN] cpuminer-multi v1.1 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: djm34 on September 27, 2015, 11:33:58 PM
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"


Title: Re: [ANN] cpuminer-multi v1.1 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: grendel25 on September 28, 2015, 03:10:13 AM
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/


Title: Re: [ANN] cpuminer-multi v1.1 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: Epsylon3 on September 28, 2015, 07:29:12 AM
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..


Title: Re: [ANN] cpuminer-multi v1.1 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: grendel25 on September 29, 2015, 02:17:46 AM
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.


Title: Re: [ANN] cpuminer-multi v1.1 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: sanyok on October 06, 2015, 02:19:53 AM
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?


Title: Re: [ANN] cpuminer-multi v1.1 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: Epsylon3 on October 06, 2015, 02:29:15 AM
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


Title: Re: [ANN] cpuminer-multi v1.1 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: sanyok on October 06, 2015, 02:44:59 AM
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?


Title: Re: [ANN] cpuminer-multi v1.1 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: Epsylon3 on October 06, 2015, 02:49:25 AM
Try and learn... A forum is not a chat.. Check the vcxproj content


Title: Re: [ANN] cpuminer-multi v1.1 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: mytool on October 26, 2015, 08:21:00 AM
Hi Epsylon3
Is it possible to support encrypted cpuminer-conf.json, such as base64?


Title: Re: [ANN] cpuminer-multi v1.1 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: Epsylon3 on October 26, 2015, 08:31:26 AM
nope, do it if you find that useful :p


Title: Re: [ANN] cpuminer-multi v1.1 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: skycatbg on October 30, 2015, 03:58:46 AM
Hi Epsylon,

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

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


Title: Re: [ANN] cpuminer-multi v1.1 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: Andrelvogue on October 30, 2015, 08:19:17 AM
Good Job! Dude thank you for the information.


Title: Re: [ANN] cpuminer-multi v1.1 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: wladston on November 20, 2015, 07:21:17 PM
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 :)



Title: Re: [ANN] cpuminer-multi v1.1 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: Epsylon3 on November 21, 2015, 03:50:39 AM
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


Title: Re: [ANN] cpuminer-multi v1.1 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: Chicago on January 06, 2016, 03:36:54 AM
Hi Epsylon3,

    Thanks for your work on this cpuminer.

    Would you kindly share a couple of more examples for --cpu-affinity usage.
    Also, sorry for being ignorant here, but the --help shows the --nfactor as "neoscrypt N-Factor" and I was figuring if it were to be followed by a value it my look better as --nfactor=N.

    Is that right?

Kind Regards,
-Chicago


Title: Re: [ANN] cpuminer-multi v1.1 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: Epsylon3 on January 06, 2016, 07:56:27 AM
for the cpu-affinity, its a binary mask

so for cores 0 and 2, it's 2^0 + 2^2 = 1 + 4 = 5
and for 1 and 7 its 2^1 + 2^7 = 2 + 128 = 130

ive seen some people doing a commit about that, maybe there is something to fix but seems ok here.

Code:
 1  [||||||||||||||||||||||||||||||||||100.0%]     Tasks: 71, 61 thr; 3 running
  2  [                                    0.0%]     Load average: 2.91 6.26 7.42
  3  [||||||||||||||||||||||||||||||||||100.0%]     Uptime: 174 days(!), 13:19:10
  4  [|                                   0.6%]
  5  [|                                   0.6%]
  6  [|                                   0.6%]
  7  [|||                                 3.8%]
  8  [                                    0.0%]
  Mem[|||||||||||||||||||||||||||||1182/7970MB]
  Swp[|                              6/14709MB]

For neoscrypt, i never used the N factor, its for possible variants of the algo (never seen)

the "=" symbol is optional on the command line


Title: Re: [ANN] cpuminer-multi v1.1 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: Chicago on January 06, 2016, 03:08:08 PM
Thanks Epsylon3,

    I will test the cpu-affinity with the binary mask as you have described.

    Just 4 cores accessible on this box but I can get on a few larger systems where it would be more complex and I can put together a table.

Kind Regards,
-Chicago


Title: Re: [ANN] cpuminer-multi v1.1 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: Chicago on January 06, 2016, 04:41:05 PM
Hi Epsylon3,

    Okay, the cpu-affinity makes sense to me now.

    The confusing piece was having { "threads": 0 } along with any defined cpu-affinity, because in that case all of the available processors would be put to use.
    But, once I adjusted my json to have { "threads": 2 } along with { "cpu-affinity": 12 }, cpuminer ran on just the last two cores as expected.

    Thanks again for describing how the binary mask works.

    Next question is about the max-temp option.
    At idle, lm-sensors reports my Q9550 Intel Core2 Quad CPU with the following temperature.

    coretemp-isa-0000
    Adapter: ISA adapter
    Core 0:       +44.0°C  (high = +78.0°C, crit = +100.0°C)
    Core 1:       +42.0°C  (high = +78.0°C, crit = +100.0°C)
    Core 2:       +44.0°C  (high = +78.0°C, crit = +100.0°C)
    Core 3:       +44.0°C  (high = +78.0°C, crit = +100.0°C)

----------

    To test the capability of max-temp, I set { "threads": 0 } and { "cpu-affinity": 15 } in order to run on all cores and let cpuminer-multi heat up the CPU for a little bit.

    A short while later, lm-sensors reported the following.

    coretemp-isa-0000
    Adapter: ISA adapter
    Core 0:       +60.0°C  (high = +78.0°C, crit = +100.0°C)
    Core 1:       +53.0°C  (high = +78.0°C, crit = +100.0°C)
    Core 2:       +55.0°C  (high = +78.0°C, crit = +100.0°C)
    Core 3:       +58.0°C  (high = +78.0°C, crit = +100.0°C)

    Within my json configuration I have set { "max-temp": 45 }, expecting cpuminer-multi to shutoff nearly as quickly as it started.
    Unfortunately, it appears cpuminer-multi does not register my temperature.

    The summary report from the miner's API outputs a TEMP=0.0.

    telnet 127.0.0.1 4048
    Trying 127.0.0.1...
    Connected to 127.0.0.1.
    Escape character is '^]'.
    summary
    NAME=cpuminer-multi;VER=1.2-dev;API=1.1;ALGO=x15;CPUS=4;KHS=0.00;SOLV=0;ACC=0;REJ=0;ACCMN=0.000;DIFF=2.450681;TEMP=0.0;FAN=0;FREQ=0;UPTIME=354;TS=1452097962|Connection closed by foreign host.

    I don't know if this is related, but note above KHS=0.00 as well.

    However, the threads report from the miner's API outputs actual decimal values.

    telnet 127.0.0.1 4048
    Trying 127.0.0.1...
    Connected to 127.0.0.1.
    Escape character is '^]'.
    threads
    CPU=0;KHS=17.45|CPU=1;KHS=17.78|CPU=2;KHS=16.07|CPU=3;KHS=16.27|Connection closed by foreign host.

    Any suggestions would be greatly appreciated.

    Thanks so much for your kind support.

Kind Regards,
-Chicago


Title: Re: [ANN] cpuminer-multi v1.1 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: Epsylon3 on January 06, 2016, 04:59:41 PM
you need to "modprobe coretemp" kernel module which is common but not loaded automatically

else the api hashrate stats are only updated on shares (you need at least one accept or reject) its there cpuminer do the sum of all threads


Title: Re: [ANN] cpuminer-multi v1.1 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: Chicago on January 06, 2016, 05:38:53 PM

  CONFIG_SENSORS_CORETEMP is built-in to the kernel

    I figured the sensor reporting through lm-sensors is using the coretemp driver since it shows "coretemp-isa-0000" as I pasted in the earlier post.
    The kernel documentation says CONFIG_SENSORS_CORETEMP is good for family 6 Core2 processors.
    The /proc/cpuinfo output from my CPU would appear to meet that condition.

    Any way to debug it?
    I'll try on another system to see if temperature is reported via the API there.
    Also, any thoughts on whether the checkout from HEAD could be problematic?
    I'm using the commit from 12/27/2015, fb137363702141114c45c3e20a5aecb4c69cd919

Kind Regards,
-Chicago

    processor       : 0
    vendor_id       : GenuineIntel
    cpu family      : 6
    model           : 23
    model name      : Intel(R) Core(TM)2 Quad CPU    Q9550  @ 2.83GHz
    stepping        : 10
    microcode       : 0xa0b
    cpu MHz         : 2826.259
    cache size      : 6144 KB
    physical id     : 0
    siblings        : 4
    core id         : 0
    cpu cores       : 4
    apicid          : 0
    initial apicid  : 0
    fpu             : yes
    fpu_exception   : yes
    cpuid level     : 13
    wp              : yes
    flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good nopl aperfmperf pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 xsave lahf_lm dtherm tpr_shadow vnmi flexpriority
    bugs            :
    bogomips        : 5652.51
    clflush size    : 64
    cache_alignment : 64
    address sizes   : 36 bits physical, 48 bits virtual
    power management:


Title: Re: [ANN] cpuminer-multi v1.1 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: Epsylon3 on January 06, 2016, 05:41:13 PM
in recent kernels and/or cpu its :
Code:
coretemp-isa-0000
Adapter: ISA adapter
Physical id 0:  +66.0°C  (high = +80.0°C, crit = +100.0°C)
Core 0:         +66.0°C  (high = +80.0°C, crit = +100.0°C)
Core 1:         +65.0°C  (high = +80.0°C, crit = +100.0°C)
Core 2:         +64.0°C  (high = +80.0°C, crit = +100.0°C)
Core 3:         +64.0°C  (high = +80.0°C, crit = +100.0°C)

note the extra physical one.. if required, edit sysinfos.c


Title: Re: [ANN] cpuminer-multi v1.1 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: joblo on January 11, 2016, 07:16:13 PM
in recent kernels and/or cpu its :
Code:
coretemp-isa-0000
Adapter: ISA adapter
Physical id 0:  +66.0°C  (high = +80.0°C, crit = +100.0°C)
Core 0:         +66.0°C  (high = +80.0°C, crit = +100.0°C)
Core 1:         +65.0°C  (high = +80.0°C, crit = +100.0°C)
Core 2:         +64.0°C  (high = +80.0°C, crit = +100.0°C)
Core 3:         +64.0°C  (high = +80.0°C, crit = +100.0°C)

note the extra physical one.. if required, edit sysinfos.c

I have a couple of questions.

While mining some algos I get very few accepts and in some case none for over 30 minutes. Also the hash
rate reported at the pool is very low or zero, much lower than the miner's display.

I presume that no blocks are being found because there are no validation errors and no rejects. Is this a
difficulty issue and is there a way around it?

I also have a question about lyra2v2. I was looking forward to it due to the exceptional performance of cpuminer-multi
on lyra2 (v1). IIRC you were stuck because one of the sub-algos was non standard. Is there any progress or have you
dropped it for other projects?

I'm also working on something you might be interested in, more on that at a later time.

Edit: I sorted out the low hash rate issue, the problem was at my end.


Title: Re: [ANN] cpuminer-multi v1.1 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: mobidirmob on January 15, 2016, 10:32:40 AM
i never mining its very dificult

thankyou.............


Title: Re: [ANN] cpuminer-multi v1.1 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: joblo on January 16, 2016, 04:39:48 AM
i never mining its very dificult

thankyou.............

And dangerous.


Title: Re: [ANN] cpuminer-multi v1.1 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: djm34 on January 16, 2016, 06:47:04 PM
i never mining its very dificult

thankyou.............

And dangerous.
;D


Title: Re: [ANN] cpuminer-multi v1.1 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: gregbe on January 27, 2016, 01:36:10 PM
Would someone be kind enough to post a compiled version for Windows of the newest release?

Thanks!


Title: Re: [ANN] cpuminer-multi v1.1 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: geenius on February 03, 2016, 06:44:23 PM
Hi,
can someone help me how to configure this cpuminer-multi to use multiple pools? I mean in case when the first one will be down. If yes, could the second pool use different algo?
Thank you
Gee  :)


Title: Re: [ANN] cpuminer-multi v1.1 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: Epsylon3 on February 03, 2016, 07:51:25 PM
its not yet in current version... Only made tests in a branch which need to be rebased... in 1.3 maybe

else yes, will do some binaries... but most were already published by cryptominingblog and by the Vanilla team


Title: Re: [ANN] cpuminer-multi v1.1 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: coinsplz777 on February 05, 2016, 11:09:47 PM
Hello Epsylon3, do you think you could add the riecoin algo?

this is the official miner (cpuminer-rminerd) : https://github.com/gatra/cpuminer-rminerd (https://github.com/gatra/cpuminer-rminerd)

Thanks


Title: Re: [ANN] cpuminer-multi v1.1 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: joblo on February 06, 2016, 01:22:59 AM
Hi,
can someone help me how to configure this cpuminer-multi to use multiple pools? I mean in case when the first one will be down. If yes, could the second pool use different algo?
Thank you
Gee  :)

I usually use a script for that., whether windows or linux. There are even some GUI managers that can be
a front end for profit switching and failover.


Title: Re: [ANN] cpuminer-multi v1.1 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: joblo on February 06, 2016, 01:24:47 AM
Hello Epsylon3, do you think you could add the riecoin algo?

this is the official miner (cpuminer-rminerd) : https://github.com/gatra/cpuminer-rminerd (https://github.com/gatra/cpuminer-rminerd)

Thanks

Forgive me for barging in to Epsylon3's thread, but can you tell me more about his algo? What coins use it
and are they in any pools?

I might have a look at it.


Title: Re: [ANN] cpuminer-multi v1.1 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: coinsplz777 on February 06, 2016, 02:11:46 AM
Hello Epsylon3, do you think you could add the riecoin algo?

this is the official miner (cpuminer-rminerd) : https://github.com/gatra/cpuminer-rminerd (https://github.com/gatra/cpuminer-rminerd)

Thanks

Forgive me for barging in to Epsylon3's thread, but can you tell me more about his algo? What coins use it
and are they in any pools?

I might have a look at it.
Hi joblo, this algorithm is only used on riecoin, this is the official thread https://bitcointalk.org/index.php?topic=446703.4380 (https://bitcointalk.org/index.php?topic=446703.4380)
its a good coin for cpu mining, and there are currently 2  pools, you can check them in the official thread.


Regards.


Title: Re: [ANN] cpuminer-multi v1.1 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: joblo on February 06, 2016, 04:10:08 AM
Hello Epsylon3, do you think you could add the riecoin algo?

this is the official miner (cpuminer-rminerd) : https://github.com/gatra/cpuminer-rminerd (https://github.com/gatra/cpuminer-rminerd)

Thanks

Forgive me for barging in to Epsylon3's thread, but can you tell me more about his algo? What coins use it
and are they in any pools?

I might have a look at it.
Hi joblo, this algorithm is only used on riecoin, this is the official thread https://bitcointalk.org/index.php?topic=446703.4380 (https://bitcointalk.org/index.php?topic=446703.4380)
its a good coin for cpu mining, and there are currently 2  pools, you can check them in the official thread.


A recent post would suggest the CPU mining days are over. Could just be FUD.

I'll look into merging it with cpuminer-opt.


Edit: follow me here...

https://bitcointalk.org/index.php?topic=1326803.msg13542056#msg13542056


Title: Re: [ANN] cpuminer-multi v1.1 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: coinsplz777 on February 06, 2016, 01:22:21 PM
A recent post would suggest the CPU mining days are over. Could just be FUD.

I'll look into merging it with cpuminer-opt.


Edit: follow me here...

https://bitcointalk.org/index.php?topic=1326803.msg13542056#msg13542056

they were talking about primecoin  wich is only gpu since more than a year ago, riecoin is still only cpu for now.

also the miner I posted before, from gatra, is not the most new or optimized but since it was a fork from cpuminer I thought it would be easier to add it to this miner, just like copy pasting ;)

the latest miner for riecoin is here https://github.com/dave-andersen/fastrie , one of the pool owners optimized this miner for the intel cpus but he have it closed source for now.


Title: Re: [ANN] cpuminer-multi v1.1 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: joblo on February 06, 2016, 03:50:39 PM
A recent post would suggest the CPU mining days are over. Could just be FUD.

I'll look into merging it with cpuminer-opt.


Edit: follow me here...

https://bitcointalk.org/index.php?topic=1326803.msg13542056#msg13542056

they were talking about primecoin  wich is only gpu since more than a year ago, riecoin is still only cpu for now.

also the miner I posted before, from gatra, is not the most new or optimized but since it was a fork from cpuminer I thought it would be easier to add it to this miner, just like copy pasting ;)

the latest miner for riecoin is here https://github.com/dave-andersen/fastrie , one of the pool owners optimized this miner for the intel cpus but he have it closed source for now.

I can't do much if it's closed source.

What about the original? Why don't you use it?


Title: Re: [ANN] cpuminer-multi v1.1 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: coinsplz777 on February 06, 2016, 05:21:39 PM
yes I could use it, however I wanted to work with visual studio, since its easier for me, I don't know much about linux.

I don't need an optimized version just wanted to look at the code, see how it works, see if I could improve it  etc.. for fun ;D

Thanks nonetheless


Title: Re: [ANN] cpuminer-multi v1.2 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: Epsylon3 on February 06, 2016, 11:10:44 PM
test branch here : https://github.com/tpruvot/cpuminer-multi/tree/riecoin-test

which contains also m7m and velvet algos (all require the gmp/mpir lib) << no support on that ;)


Title: Re: [ANN] cpuminer-multi v1.2 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: LYZPFQ on February 18, 2016, 09:38:26 AM
Hi there,
First of all, great app created to mine. It has a lots of nice feats.

Second, HELP!

I've been trying to figure out how to use multiple pools in the json file, but I can't seem to find the option to make it happen, or the say to configure it.
Has that option been added in the first place to the miner? If so, how can I set it in my json file?
If not, will it be implemented in the near future?

Thanks in advance and keep up the good work for the devs!


Title: Re: [ANN] cpuminer-multi v1.2 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: skycatbg on February 22, 2016, 04:42:29 AM
Hi again.

I again need help.

I use this .json file:
{
   "_comment1" : "Any long-format command line argument ",
   "_comment2" : "may be used in this JSON configuration file",

   "api-bind" : "127.0.0.1:4048",

   "url": "stratum+tcp://address:port",
   "user" : "user:worker",
   "pass" : "X",

   "algo" : "sha256d",
   "threads" : 0,
   "cpu-priority" : 0,
   "cpu-affinity" : -1,

   "on-idle" : 30,
   "on-idle-low" : 30,


   "background" : true,
   "quiet" : true
}

My idea: cpuminer will work when I am away from PC and when I use my pc, cpuminer will sleep.. BUT my CPUminer work all time to 100% from my CPU and I dont know where is my mystake.. Before time I use same configuration file to mine Dark coin with    "algo" : "x11",
   "threads" : 0,
   "cpu-priority" : 0,
   "cpu-affinity" : -1,

and all work great. Some weeks after this I no use CPUminer. When I change my .json file with new settings for new pool (for bitcoins), my miner work all time to max CPU.
Please help me to repair my settings. I want to use all time my cpuminer without stop, but when I use my pc, I want to set "sleep" mode to this program.

I use version from May  16th. 2015 for x64 windows (cpuminer-gw64)

thanks


Title: Re: [ANN] cpuminer-multi v1.2 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: geenius on February 24, 2016, 10:56:34 PM
Hi again.

I again need help.

I use this .json file:
{
   "_comment1" : "Any long-format command line argument ",
   "_comment2" : "may be used in this JSON configuration file",

   "api-bind" : "127.0.0.1:4048",

   "url": "stratum+tcp://address:port",
   "user" : "user:worker",
   "pass" : "X",

   "algo" : "sha256d",
   "threads" : 0,
   "cpu-priority" : 0,
   "cpu-affinity" : -1,

   "on-idle" : 30,
   "on-idle-low" : 30,


   "background" : true,
   "quiet" : true
}

My idea: cpuminer will work when I am away from PC and when I use my pc, cpuminer will sleep.. BUT my CPUminer work all time to 100% from my CPU and I dont know where is my mystake.. Before time I use same configuration file to mine Dark coin with    "algo" : "x11",
   "threads" : 0,
   "cpu-priority" : 0,
   "cpu-affinity" : -1,

and all work great. Some weeks after this I no use CPUminer. When I change my .json file with new settings for new pool (for bitcoins), my miner work all time to max CPU.
Please help me to repair my settings. I want to use all time my cpuminer without stop, but when I use my pc, I want to set "sleep" mode to this program.

I use version from May  16th. 2015 for x64 windows (cpuminer-gw64)

thanks


I do not know how it is on Linux, but on windows you can configure starting/stopping the cpu miner in Scheduled Tasks. I also have configured it. I have 8 cores and when I lock windows, all cores are hashing and after ulock only 4 cores are hashing. You can also configure starting the miner when computer is idle (locked or unlocked) and when you move mouse cursor or press any key the mirer ends. You can configure all these features in Scheduled Tasks or eventually combine it with batch files.


Title: Re: [ANN] cpuminer-multi v1.2 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: Epsylon3 on February 24, 2016, 11:18:41 PM
rmm, these idle settings doesn't exists in my version... someone already asked about this feature and i heard there is a tool to do it...


Title: Re: [ANN] cpuminer-multi v1.2 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: geenius on February 24, 2016, 11:44:01 PM
rmm, these idle settings doesn't exists in my version... someone already asked about this feature and i heard there is a tool to do it...


Windows 7 has this feature and 8.1 too. But i do not have Windows 10, but i think it should be there too. The "idle" setting is under the Triger tab when creating a new task, but in this case it is better not to use a batch but put all the comands under the Action tab, executable only into the "Program" field and all other options into the "Arguments" field. Do not forget to configure the "Start in" field where the miner is located (no spaces and no quotes). And under the Contitions tab there is another part of the "idle" settings. There you can customize when the job should start. I can share my config (screenshots) but not today, because that is on my work computer. Or mabye I can share exported job as XML if someone wants.  :)


Title: Re: [ANN] cpuminer-multi v1.2 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: skycatbg on February 25, 2016, 04:39:04 AM
rmm, these idle settings doesn't exists in my version... someone already asked about this feature and i heard there is a tool to do it...


I think with "   "on-idle" : 30,    "on-idle-low" : 30," - this will fine - when my cpu is not used, cpuminer start work and when I start some application and CPU is highter than 30%, cpuminer will "sleeping" with    "cpu-priority" : 0,   "cpu-affinity" : -1. With older wersion when I mining DarkCoin, this work great, but now I change pool for Bitcoins and another stufs. Now this options no work for me - CPU always is 100% bussy - cpuminer no read "on-idle" settings..


Title: Re: [ANN] cpuminer-multi v1.2 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: LYZPFQ on February 25, 2016, 08:27:28 AM
Second, HELP!

I've been trying to figure out how to use multiple pools in the json file, but I can't seem to find the option to make it happen, or the say to configure it.
Has that option been added in the first place to the miner? If so, how can I set it in my json file?
If not, will it be implemented in the near future?


Anyone having any thoughts on this part?
It would be nice if someone could figure this out for me.

Thanks!


Title: Re: [ANN] cpuminer-multi v1.2 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: Epsylon3 on February 25, 2016, 01:10:17 PM
in the next version...


Title: Re: [ANN] cpuminer-multi v1.2 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: LYZPFQ on February 29, 2016, 07:50:22 AM
in the next version...

You are my hero!  ;D

Thanks!!!


Title: Re: [ANN] cpuminer-multi v1.2 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: Chicago on March 04, 2016, 01:59:19 AM
Hello Epsylon3,

    An "Unrecognized block version: 5" comes up in the logs if one attempts to use cpuminer-multi with Graincoin.
    I understand various staking coins may sometimes use different block versions.

    Pooler made a commit to address block version 4 back in November of 2015 for Bitcoin.

   
   
    there is some problem in block version
    Unrecognized block version: 4
   
    on latest bitcoin wallet 0.11.99
   
   
    Thank you for pointing this out. I've just pushed a commit to the git repo to support the new block version.
   

    Should cpuminer-multi users wishing to hash on blockchains with different block versions plan to patch their sources?
    If so, how would you want it coded and would you want to see a PR?

    What would you do?
    Is general support for oddball block versions a bad idea?

Kind Regards,
-Chicago


Title: Re: [ANN] cpuminer-multi v1.2 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: Epsylon3 on March 04, 2016, 07:51:54 PM
its only a gbt thing specific to bitcoin, so we dont care

its also why the getblocktemplate implementations are a bad idea directly in the miners

i will remove this useless warning...


Title: Re: [ANN] cpuminer-multi v1.2 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: AngryDwarf on March 10, 2016, 08:02:25 AM
I'm wondering how to setup MinGW64 correctly on my system. The link on the github page seems to point to only a 32-bit MinGW system.


Title: Re: [ANN] cpuminer-multi v1.2 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: Epsylon3 on March 10, 2016, 04:34:23 PM
its not easy indeed... and didnt found a fully "stable" distribution yet. had to mix some components.

Here is a base, http://ccminer.org/mingw64/

but ive recently tried to install it on a new machine and ive seen some perl issues...

There is a newer one, based on msys2, but i was unable to make proper binaries with it yet, all cygwin based solutions seems to be a full crap...


Title: Re: [ANN] cpuminer-multi v1.2 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: AngryDwarf on March 10, 2016, 05:16:12 PM
its not easy indeed... and didnt found a fully "stable" distribution yet. had to mix some components.

Here is a base, http://ccminer.org/mingw64/

but ive recently tried to install it on a new machine and ive seen some perl issues...

There is a newer one, based on msys2, but i was unable to make proper binaries with it yet, all cygwin based solutions seems to be a full crap...

Okay. I find it easy to build on linux, but having trouble with the amd/nvidia dual mix for the GPU's. I use the pre-compiled version of multi-1.2-dev win build from crypto mining blog, but it is shockingly poor on some algos compared to the linux build. The few mingw64 installations I tried didn't seem to fit the bill. I hope I can get linux working on my system, so much better as a development platform.


Title: Re: [ANN] cpuminer-multi v1.2 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: gimomars on August 03, 2016, 01:03:41 AM
Hi guys, I'm new to mining. I want to install it in my openSuSE linux. But I don't know how. Any help please.

Thanks,


Title: Re: [ANN] cpuminer-multi v1.2 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: gklia on August 19, 2016, 02:20:41 AM
Hello all, I try compile in my visual studio 2013 on win7 x64 but recive many erros:
Code:
Error 6 error C2275: 'uint8_t' : illegal use of this type as an expression Z:\cpuminer-multi\crypto\oaes_lib.c 345 1 cpuminer
Error 7 error C2146: syntax error : missing ';' before identifier '_temp' Z:\cpuminer-multi\crypto\oaes_lib.c 345 1 cpuminer
Error 8 error C2065: '_temp' : undeclared identifier Z:\cpuminer-multi\crypto\oaes_lib.c 345 1 cpuminer
Error 9 error C2059: syntax error : ']' Z:\cpuminer-multi\crypto\oaes_lib.c 345 1 cpuminer
Error 10 error C2065: '_temp' : undeclared identifier Z:\cpuminer-multi\crypto\oaes_lib.c 353 1 cpuminer
Error 11 error C2109: subscript requires array or pointer type Z:\cpuminer-multi\crypto\oaes_lib.c 353 1 cpuminer
Error 12 error C2065: '_temp' : undeclared identifier Z:\cpuminer-multi\crypto\oaes_lib.c 355 1 cpuminer
Error 13 error C2109: subscript requires array or pointer type Z:\cpuminer-multi\crypto\oaes_lib.c 355 1 cpuminer
Error 14 error C2065: '_temp' : undeclared identifier Z:\cpuminer-multi\crypto\oaes_lib.c 356 1 cpuminer
Error 15 error C2109: subscript requires array or pointer type Z:\cpuminer-multi\crypto\oaes_lib.c 356 1 cpuminer
Error 16 error C2065: '_temp' : undeclared identifier Z:\cpuminer-multi\crypto\oaes_lib.c 357 1 cpuminer
Error 17 error C2109: subscript requires array or pointer type Z:\cpuminer-multi\crypto\oaes_lib.c 357 1 cpuminer
Error 18 error C2065: '_temp' : undeclared identifier Z:\cpuminer-multi\crypto\oaes_lib.c 358 1 cpuminer
Error 19 error C2109: subscript requires array or pointer type Z:\cpuminer-multi\crypto\oaes_lib.c 358 1 cpuminer
Error 20 error C2143: syntax error : missing ';' before 'const' Z:\cpuminer-multi\algo\drop.c 189 1 cpuminer
Error 21 error C2065: 'htarg' : undeclared identifier Z:\cpuminer-multi\algo\drop.c 195 1 cpuminer
Warning 1 warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data Z:\cpuminer-multi\compat\jansson\dump.c 232 1 cpuminer
Warning 2 warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data Z:\cpuminer-multi\compat\jansson\error.c 59 1 cpuminer
Warning 3 warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data Z:\cpuminer-multi\compat\jansson\load.c 875 1 cpuminer
Warning 4 warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data Z:\cpuminer-multi\compat\jansson\utf.c 170 1 cpuminer
Warning 5 warning C4244: '=' : conversion from 'SOCKET' to 'int', possible loss of data Z:\cpuminer-multi\api.c 617 1 cpuminer
Warning 22 warning C4018: '<=' : signed/unsigned mismatch Z:\cpuminer-multi\algo\drop.c 195 1 cpuminer
Warning 23 warning C4013: 'sprintf' undefined; assuming extern returning int Z:\cpuminer-multi\compat.h 78 1 cpuminer
Warning 24 warning C4267: '=' : conversion from 'size_t' to 'unsigned int', possible loss of data Z:\cpuminer-multi\sha3\sph_fugue.c 746 1 cpuminer
Warning 25 warning C4267: '=' : conversion from 'size_t' to 'unsigned int', possible loss of data Z:\cpuminer-multi\sha3\sph_fugue.c 807 1 cpuminer
Warning 26 warning C4267: '=' : conversion from 'size_t' to 'unsigned int', possible loss of data Z:\cpuminer-multi\sha3\sph_fugue.c 867 1 cpuminer
not showing up this error in the code, but some parameter visual studio, please help me.
Thank a lot!


Title: Re: [ANN] cpuminer-multi v1.1 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: lefthand2006 on August 20, 2016, 03:23:03 AM
https[Suspicious link removed]

This file is gone,  :o Could you publish it again? PLS


Title: Re: [ANN] cpuminer-multi v1.2 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: torsh on August 27, 2016, 07:29:14 PM
Hi, if not difficult to give a reference to the 32-bit version, it's desirable cpuminer-multi v1.2,sorry for my English... 


Title: Re: [ANN] cpuminer-multi v1.2 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: lefthand2006 on August 28, 2016, 04:01:03 AM
well, finally I managed to make a cpuminer-gw64 binary that supports lyra2rev2 and works for 64bit windows xp and 2003. In case somebody wants it, I put it on my webiste: http://ido.fm (http://ido.fm)


Title: Re: [ANN] cpuminer-multi v1.2 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: monerol on September 13, 2016, 04:39:10 PM
You can point that miner to pool.monero.org (http://pool.monero.org) to mine monero
Code:
minerd -a cryptonight -o stratum+tcp://pool.monero.org:3333 -u YOUR_WALLET_ADDRESS -p x


Title: Re: [ANN] cpuminer-multi v1.0.9 (Linux + Windows)
Post by: levocoin on September 15, 2016, 03:30:39 PM
cpuminer --help to get the help :p -b is api-bind

0.0.0.0 allow to bind to the network (nice to monitor linux servers) -b 0 disable it, and -b 127.0.0.1:4048 means only allow api calls from localhost (default)

Stratum connection timed out just mean you were disconnected, pool server restart or network disconnect... but it should reconnect automatically to send the next shares

This is the error to which I am referring. Is it the miner? The Stratum? The internet? It happens about every 15 minutes:

http://i.imgur.com/1cmxrEp.png


Do you got any Solution i am also getting error


Title: Re: [ANN] cpuminer-multi v1.2 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: Longsnowsm on September 18, 2016, 08:14:31 PM
I just downloaded the windows binaries and tried to run them with yescrypt.  Does not look like yescrypt is included in the Windows build?  Any chance that can be added?  The description says yescrypt is supported, but I don't see it when trying to start the miner or with the --help output. 


Title: Re: [ANN] cpuminer-multi v1.2 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: Lafu on September 19, 2016, 01:22:17 PM
Try

cpuminer -a cryptonight -o stratum+tcp://yourPool:port -u yourwalletadress.Payment Id -p x
or
minerd -a cryptonight -o stratum+tcp://yourPool:port -u yourwalletadress.Payment Id -p x


Title: Re: [ANN] cpuminer-multi v1.2 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: ReDiculum on September 21, 2016, 03:30:01 PM
Hi

Is it possible to compile it only with neoscrypt algo support and get rid of all the others? Is there an option or do I have to modify the Makefile completely?


Title: Re: [ANN] cpuminer-multi v1.2 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: Epsylon3 on September 21, 2016, 03:45:03 PM
no


Title: Re: [ANN] cpuminer-multi v1.2 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: Krisliu on October 17, 2016, 11:05:55 AM
Hey buddy :), can you help me please. I installed ubuntu and I would like to launch this wonder. Regards


Title: Re: [ANN] cpuminer-multi v1.2 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: LithStud on November 14, 2016, 08:59:15 AM
Hey!

Can someone help me and explain how could i compile this on linux mint but use on another pc? just doing build works on pc that built it but another pc complains  "error while loading shared libraries: libjansson.so.4: cannot open shared object file: No such file or directory"


Title: Re: [ANN] cpuminer-multi v1.3 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: Geograph on November 30, 2016, 09:25:32 PM
Epsylon3, thank you for your soft!

I tried reduce CPU load by adding usleep(ms) function in cryptonight algo, but I always get stratum-errors:
Code:
stratum_recv_line failed
Stratum connection interrupted

I read that stratum-connection close after 60-90 sec idle, but stratum-connection runned in other thread isn't it? May be sleep blocking stratum-thread and I need some non-blocking sleep?

May be I add sleep in wrong place?
I add it in file ./algo/cryptonight.c function name "cryptonight_hash_ctx", in cycle:
Code:
for (i = 0; likely(i < MEMORY); i += INIT_SIZE_BYTE) {   

I also tried nanosleep() and cgsleep_ms() from cgminer with same result :(

Please, help! :)


Title: Re: [ANN] cpuminer-multi v1.3 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: Epsylon3 on December 01, 2016, 07:06:55 AM
That can happen when there is no activity/shares, try --timeout=180


Title: Re: [ANN] cpuminer-multi v1.3 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: Geograph on December 01, 2016, 10:52:35 AM
That can happen when there is no activity/shares, try --timeout=180
Unfortunately it didn't help :(


Title: Re: [ANN] cpuminer-multi v1.3 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: Geograph on December 02, 2016, 12:37:06 PM
Anyone know monero-pool with http-mining without stratum?


Title: Re: [ANN] cpuminer-multi v1.3 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: usao on December 02, 2016, 10:31:28 PM
Does anyone have a compiles Linux binary?
My Linux systems don't have any compilers installed, and I don't have root.
They are CentOS 6.


Title: Re: [ANN] cpuminer-multi v1.3 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: cmegetrich on December 03, 2016, 08:33:39 PM
I want cpuminer for Eobot how do I do that? :)
I have a PC Lenovo Windows 10 upgrade from 8 I'm a newbie so I need to be taught the 'ropes' so to speach



Title: Re: [ANN] cpuminer-multi v1.3 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: Hotmetal on December 09, 2016, 07:24:38 PM
# strace ./cpuminer -a cryptonight  -p x -o stratum+tcp://cryptonight.eu.nicehash.com:3355  -u 12d7SjLcyEwLCnZhPeQhMnME3dDF9CnSuY

execve("./cpuminer", ["./cpuminer", "-a", "cryptonight", "-p", "x", "-o", "stratum+tcp://cryptonight.eu.nic"..., "-u", "12d7SjLcyEwLCnZhPeQhMnME3dDF9CnS"..., "-t", "14"], [/* 18 vars */]) = 0
[..]
getdents(4, /* 0 entries */, 32768)     = 0
brk(0xbc5000)                           = 0xbc5000
close(4)                                = 0
open("/etc/localtime", O_RDONLY|O_CLOEXEC) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=271, ...}) = 0
fstat(4, {st_mode=S_IFREG|0644, st_size=271, ...}) = 0
read(4, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\4\0\0\0\4\0\0\0\0"..., 4096) = 271
lseek(4, -156, SEEK_CUR)                = 115
read(4, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\4\0\0\0\4\0\0\0\0"..., 4096) = 156
close(4)                                = 0
write(1, "[2016-12-09 08:53:26] Using JSON"..., 45[2016-12-09 08:53:26] Using JSON-RPC 2.0
) = 45
write(1, "[2016-12-09 08:53:26] CPU Suppor"..., 51[2016-12-09 08:53:26] CPU Supports AES-NI: YES
) = 51
rt_sigaction(SIGINT, {0x40c807, [INT], SA_RESTORER|SA_RESTART, 0x2b0268d9f4b0}, {SIG_DFL, [], 0}, Cool = 0
mmap(NULL, 2113536, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x2b026dde6000
mprotect(0x2b026dde6000, 4096, PROT_NONE) = 0
clone(child_stack=0x2b026dde84f0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x2b026dfe99d0, tls=0x2b026dfe9700, child_tidptr=0x2b026dfe99d0) = 27803
mmap(NULL, 2113536, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x2b026dfea000
mprotect(0x2b026dfea000, 4096, PROT_NONE) = 0
clone(child_stack=0x2b026dfec4f0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x2b026e1ed9d0, tls=0x2b026e1ed700, child_tidptr=0x2b026e1ed9d0) = 27804
futex(0xba6094, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0xba6090, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1}) = 1
mmap(NULL, 2113536, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x2b026e1ee000
[2016-12-09 08:53:26] Starting Stratum on stratum+tcp://cryptonight.eu.nicehash.com:3355
+++ killed by SIGSEGV (core dumped) +++
Segmentation fault (core dumped)

Built  from source, it always coredumps. (regardless of algorithm attempted)
Ubuntu 16.04:

Dec  9 21:24:01 apollo kernel: [10059724.032488] cpuminer[10457]: segfault at 2b6071639908 ip 00002b606bccbb80 sp 00002b60716398a0 error 6 in libcurl.so.4.4.0[2b606bca5000+6b000]
Segmentation fault (core dumped)

Libcurl issues?


Title: Re: [ANN] cpuminer-multi v1.3 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: Epsylon3 on December 09, 2016, 07:37:32 PM
yes, ive no idea, working well here with your command

cat /etc/os-release
NAME="Ubuntu"
VERSION="16.04.1 LTS (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04.1 LTS"

dpkg -l | grep curl
ii  curl                                   7.47.0-1ubuntu2.2                 amd64        command line tool for transferring data with URL syntax
ii  libcurl3:amd64                         7.47.0-1ubuntu2.2                 amd64        easy-to-use client-side URL transfer library (OpenSSL flavour)
ii  libcurl3-gnutls:amd64                  7.47.0-1ubuntu2.2                 amd64        easy-to-use client-side URL transfer library (GnuTLS flavour)
ii  libcurl4-openssl-dev:amd64             7.47.0-1ubuntu2.2                 amd64        development files and documentation for libcurl (OpenSSL flavour)


Title: Re: [ANN] cpuminer-multi v1.3 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: Hotmetal on December 09, 2016, 08:15:45 PM
yes, ive no idea, working well here with your command

cat /etc/os-release
NAME="Ubuntu"
VERSION="16.04.1 LTS (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04.1 LTS"

dpkg -l | grep curl
ii  curl                                   7.47.0-1ubuntu2.2                 amd64        command line tool for transferring data with URL syntax
ii  libcurl3:amd64                         7.47.0-1ubuntu2.2                 amd64        easy-to-use client-side URL transfer library (OpenSSL flavour)
ii  libcurl3-gnutls:amd64                  7.47.0-1ubuntu2.2                 amd64        easy-to-use client-side URL transfer library (GnuTLS flavour)
ii  libcurl4-openssl-dev:amd64             7.47.0-1ubuntu2.2                 amd64        development files and documentation for libcurl (OpenSSL flavour)



# dpkg -l | grep curl
ii  curl                                   7.47.0-1ubuntu2.2                        amd64        command line tool for transferring data with URL syntax
ii  libcurl3:amd64                         7.47.0-1ubuntu2.2                        amd64        easy-to-use client-side URL transfer library (OpenSSL flavour)
ii  libcurl3-gnutls:amd64                  7.47.0-1ubuntu2.2                        amd64        easy-to-use client-side URL transfer library (GnuTLS flavour)
ii  libcurl4-openssl-dev:amd64             7.47.0-1ubuntu2.2                        amd64        development files and documentation for libcurl (OpenSSL flavour)

# lsb_release -a
LSB Version:    core-2.0-amd64:core-2.0-noarch:core-3.0-amd64:core-3.0-noarch:core-3.1-amd64:core-3.1-noarch:core-3.2-amd64:core-3.2-noarch:core-4.0-amd64:core-4.0-noarch:core-4.1-amd64:core-4.1-noarch
Distributor ID: Ubuntu
Description:    Ubuntu 16.04.1 LTS
Release:        16.04
Codename:       xenial

Looks like its the same thing but regardless of what server i try it on, I get the same thing.
How would i go about trying to troubleshoot / debug this? :/


Title: Re: [ANN] cpuminer-multi v1.3 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: Epsylon3 on December 09, 2016, 08:40:04 PM
your problem seems related to libcurl, so try to rebuild it yourself with the /usr/local prefix, maybe an uncommon cpu ? atom ?


Title: Re: [ANN] cpuminer-multi v1.3 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: joblo on December 09, 2016, 08:45:49 PM
Yikes. Two identical systems, different results, and it crashes in a standard library.

Either the application is passing a bad pointer to curl or curl is corrupt. The easiest thing to try is to reinstall the curl
packages. You could also confirm the same compile options were used. If the entire process from source to compile
to run time environment to input data are identical it gets more complicated and hardware needs to be considered. Memtest maybe.

Edit: I assume you already tried getting a fresh copy of the source.

gdb can be used to get a backtrace to find out where the bad pointer is coming from.

Edit: Cryptoninght at Nicehash needs a protocol tweak but it shouldn't cause as crash. Try another pool to rule that out.



Title: Re: [ANN] cpuminer-multi v1.3 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: Hotmetal on December 10, 2016, 03:50:07 AM
your problem seems related to libcurl, so try to rebuild it yourself with the /usr/local prefix, maybe an uncommon cpu ? atom ?

I prefer using the package management to do things.. Maintaining source builds gets messy.

Manufacturer: Dell Inc.
Product Name: PowerEdge R620
model name      : Intel(R) Xeon(R) CPU E5-2620 0 @ 2.00GHz

I have about 20 blades, all of them with stock Ubuntu 16.04 and all of them have the same behavior.


Title: Re: [ANN] cpuminer-multi v1.3 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: Hotmetal on December 10, 2016, 04:15:59 AM
Yikes. Two identical systems, different results, and it crashes in a standard library.

Either the application is passing a bad pointer to curl or curl is corrupt. The easiest thing to try is to reinstall the curl
packages. You could also confirm the same compile options were used. If the entire process from source to compile
to run time environment to input data are identical it gets more complicated and hardware needs to be considered. Memtest maybe.

Edit: I assume you already tried getting a fresh copy of the source.

gdb can be used to get a backtrace to find out where the bad pointer is coming from.

Edit: Cryptoninght at Nicehash needs a protocol tweak but it shouldn't cause as crash. Try another pool to rule that out.



root@apollo:~/44/cpuminer-multi# gdb ./cpuminer
GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.04) 7.11.1
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./cpuminer...(no debugging symbols found)...done.
(gdb) r
Starting program: /root/44/cpuminer-multi/cpuminer
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
** cpuminer-multi 1.3 by tpruvot@github **
BTC donation address: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd (tpruvot)

[New Thread 0x2aaab0a2f700 (LWP 11060)]
[New Thread 0x2aaab0c33700 (LWP 11061)]
[2016-12-10 06:08:07] Starting Stratum on stratum+tcp://yiimp.ccminer.org:4252
[New Thread 0x2aaab0e37700 (LWP 11062)]

Thread 3 "cpuminer" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x2aaab0c33700 (LWP 11061)]
0x00002aaaab0c2b80 in ?? () from /usr/lib/x86_64-linux-gnu/libcurl.so.4
(gdb) bt
#0  0x00002aaaab0c2b80 in ?? () from /usr/lib/x86_64-linux-gnu/libcurl.so.4
#1  0x00002aaaab0c414a in curl_maprintf () from /usr/lib/x86_64-linux-gnu/libcurl.so.4
#2  0x00002aaaab0e9096 in ?? () from /usr/lib/x86_64-linux-gnu/libcurl.so.4
#3  0x00002aaaab0c1164 in ?? () from /usr/lib/x86_64-linux-gnu/libcurl.so.4
#4  0x00002aaaab0d2493 in ?? () from /usr/lib/x86_64-linux-gnu/libcurl.so.4
#5  0x00002aaaab0d2eed in curl_multi_perform () from /usr/lib/x86_64-linux-gnu/libcurl.so.4
#6  0x00002aaaab0c994b in curl_easy_perform () from /usr/lib/x86_64-linux-gnu/libcurl.so.4
#7  0x0000000000434998 in ?? ()
#8  0x0000000000405974 in ?? ()
#9  0x00002aaaab96370a in start_thread (arg=0x2aaab0c33700) at pthread_create.c:333
#10 0x00002aaaaadd982d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

So to confirm what you thought, it's not specific to cryptonight but rather with the interaction of the libcurl library.
What is weird is i have a lot of blades and all of them are not behaving nicely.


Title: Re: [ANN] cpuminer-multi v1.3 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: Hotmetal on December 10, 2016, 04:32:40 AM
Just for fun, i went ahead and tested a slightly older release:

https://github.com/tpruvot/cpuminer-multi/archive/v1.0.9-multi.tar.gz

root@apollo:~/44/1/cpuminer-multi-1.0.9-multi# ./cpuminer  -a cryptonight  -p cami@hack.co.za  -o stratum+tcp://cryptonight.eu.nicehash.com:3355  -u 12d7SjLcyEwLCnZhPeQhMnME3dDF9CnSuY -t 12 -q
** cpuminer-multi 1.0.9 by Tanguy Pruvot (tpruvot@github) **
 based on Lucas Jones fork of pooler cpuminer 2.4

BTC donation address: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd

[2016-12-10 06:26:32] Using JSON-RPC 2.0
[2016-12-10 06:26:32] CPU Supports AES-NI: YES
[2016-12-10 06:26:32] Starting Stratum on stratum+tcp://cryptonight.eu.nicehash.com:3355
[2016-12-10 06:26:32] 12 miner threads started, using 'cryptonight' algorithm.
[2016-12-10 06:26:33] Pool set diff to 20000
[2016-12-10 06:26:36] thread 11: 66 hashes, 16.70 H/s
[2016-12-10 06:26:36] thread 3: 66 hashes, 14.91 H/s
[2016-12-10 06:26:36] thread 7: 66 hashes, 14.40 H/s
[2016-12-10 06:26:36] thread 5: 66 hashes, 14.28 H/s
[2016-12-10 06:26:37] thread 8: 66 hashes, 14.01 H/s
[2016-12-10 06:26:37] thread 10: 66 hashes, 12.79 H/s
[2016-12-10 06:26:38] thread 4: 66 hashes, 11.61 H/s
[2016-12-10 06:26:38] thread 6: 66 hashes, 11.35 H/s
[2016-12-10 06:26:38] thread 1: 66 hashes, 11.26 H/s
[2016-12-10 06:26:38] thread 0: 66 hashes, 11.23 H/s
[2016-12-10 06:26:38] thread 9: 66 hashes, 10.65 H/s
[2016-12-10 06:26:38] thread 2: 66 hashes, 10.21 H/s

Hmm!


Title: Re: [ANN] cpuminer-multi v1.3 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: Hotmetal on December 10, 2016, 04:44:19 AM
I then tried v1.1:

root@apollo:~/44/1/cpuminer-multi-1.1-multi# gdb ./cpuminer
GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.04) 7.11.1
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./cpuminer...(no debugging symbols found)...done.
(gdb) r
Starting program: /root/44/1/cpuminer-multi-1.1-multi/cpuminer
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
** cpuminer-multi 1.1 by Tanguy Pruvot (tpruvot@github) **
BTC donation address: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd

[New Thread 0x2aaab0a2e700 (LWP 19010)]
[New Thread 0x2aaab0c31700 (LWP 19011)]
[2016-12-10 06:43:18] Starting Stratum on stratum+tcp://mine.xpool.ca:1131
[New Thread 0x2aaab0e34700 (LWP 19012)]

Thread 3 "cpuminer" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x2aaab0c31700 (LWP 19011)]
_IO_vfscanf_internal (s=s@entry=0x2aaab0a30620, format=format@entry=0x2aaaab0f308b "%15[^:]:%[^\n]",
    argptr=argptr@entry=0x2aaab0a30748, errp=errp@entry=0x0) at vfscanf.c:279
279     vfscanf.c: No such file or directory.
(gdb) bt
#0  _IO_vfscanf_internal (s=s@entry=0x2aaab0a30620, format=format@entry=0x2aaaab0f308b "%15[^:]:%[^\n]",
    argptr=argptr@entry=0x2aaab0a30748, errp=errp@entry=0x0) at vfscanf.c:279
#1  0x00002aaaaad3ebcc in __GI___isoc99_vsscanf (string=0x2aaab8001320 "http://mine.xpool.ca:1131",
    format=0x2aaaab0f308b "%15[^:]:%[^\n]", args=args@entry=0x2aaab0a30748) at isoc99_vsscanf.c:43
#2  0x00002aaaaad3eb57 in __isoc99_sscanf (s=<optimized out>, format=<optimized out>) at isoc99_sscanf.c:31
#3  0x00002aaaab0be7db in ?? () from /usr/lib/x86_64-linux-gnu/libcurl.so.4
#4  0x00002aaaab0d2493 in ?? () from /usr/lib/x86_64-linux-gnu/libcurl.so.4
#5  0x00002aaaab0d2eed in curl_multi_perform () from /usr/lib/x86_64-linux-gnu/libcurl.so.4
#6  0x00002aaaab0c994b in curl_easy_perform () from /usr/lib/x86_64-linux-gnu/libcurl.so.4
#7  0x0000000000468e08 in ?? ()
#8  0x000000000046a073 in ?? ()
#9  0x00002aaaab96370a in start_thread (arg=0x2aaab0c31700) at pthread_create.c:333


Title: Re: [ANN] cpuminer-multi v1.3 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: joblo on December 10, 2016, 01:45:32 PM
That's bizarre.

No one has reported this with cpuminer-opt even though the stratum code was taken from multi-1.2.
Could you give it a try as another data point?

The interface to curl is the call to curl_easy perform. It would be useful to dump the curl parameter where this
is called to compare what works with what doesn't.

A hardware fault seem very unlikely since the problem occurs on all your blades. However, if you did one full
install and cloned the rest an install glitch would have been propagated to all blades. You could reinstall the OS
on one system to test this.


Title: Re: [ANN] cpuminer-multi v1.3 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: zakuti on December 12, 2016, 03:32:57 PM
hello

i try to build it on visual studio 2013 but i get next error

error LNK1181: cannot open input file 'libcurl.x86.lib' cpuminer

can someone help me ?

thank you.


Title: Re: [ANN] cpuminer-multi v1.3 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: Epsylon3 on December 12, 2016, 03:59:05 PM
32bit dependencies are not prebuilt, they are huge and polute the repo


Title: Re: [ANN] cpuminer-multi v1.3 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: zakuti on December 13, 2016, 06:25:44 AM
but i have 64 bit operation system


Title: Re: [ANN] cpuminer-multi v1.3 (Linux + Windows VStudio/MinGW64) GPL Open Source
Post by: zakuti on December 13, 2016, 08:40:50 AM
i think that compilied but miner does not start mining

please look picture

http://www.picz.ge/img/s4/1612/13/7/7804c9a7d51f.png
what problem is it ?