Bitcoin Forum
April 20, 2024, 12:31:44 AM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 »  All
  Print  
Author Topic: [ANN] cpuminer-multi v1.3.5 (Linux + Windows VStudio/MinGW64) GPL Open Source  (Read 378692 times)
Epsylon3 (OP)
Legendary
*
Offline Offline

Activity: 1484
Merit: 1082


ccminer/cpuminer developer


View Profile WWW
October 31, 2014, 05:22:10 AM
Last edit: July 19, 2018, 06:03:26 PM by Epsylon3
 #1

Winter is coming, and this year i shutdown electric heaters Wink

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 :



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

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

Code:
Version 1.3.5
- Add allium algo
- Add x12 algo
- Add x16s algo
- Add phi and phi2
- Add sonoa
- Handle new aeon cryptolight variant
- Handle new monero algo (hardcoded)

Version 1.3.3
- Add tribus algo
- Add x16r algo
- Add keccakc variant

Version 1.3.2
- Add bitcore algo
- Add jha algo

Version 1.3.1
- Add timetravel algo
- Add --max-log-rate to limit per-core logs

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
- JSON Interface for stats

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

Usage: cpuminer-multi [OPTIONS]
Options:
  -a, --algo=ALGO       specify the algorithm to use
                          allium       Garlicoin double lyra2
                          axiom        Shabal-256 MemoHash
                          bitcore      Timetravel with 10 algos
                          blake        Blake-256 14-rounds (SFR)
                          blakecoin    Blake-256 single sha256 merkle
                          blake2s      Blake2-S (256)
                          bmw          BMW 256
                          c11/flax     C11
                          cryptolight  Cryptonight-light
                          cryptonight  Monero
                          decred       Blake-256 14-rounds 180 bytes
                          dmd-gr       Diamond-Groestl
                          drop         Dropcoin
                          fresh        Fresh
                          groestl      GroestlCoin
                          heavy        Heavy
                          jha          JHA
                          keccak       Keccak (Old and deprecated)
                          keccakc      Keccak (CreativeCoin)
                          luffa        Luffa
                          lyra2re      Lyra2RE
                          lyra2rev2    Lyra2REv2 (Vertcoin)
                          myr-gr       Myriad-Groestl
                          neoscrypt    NeoScrypt(128, 2, 1)
                          nist5        Nist5
                          pluck        Pluck:128 (Supcoin)
                          pentablake   Pentablake
                          phi          LUX initial algo
                          phi2         LUX newer algo
                          quark        Quark
                          qubit        Qubit
                          scrypt       scrypt(1024, 1, 1) (default)
                          scrypt:N     scrypt(N, 1, 1)
                          scrypt-jane:N (with N factor from 4 to 30)
                          shavite3     Shavite3
                          sha256d      SHA-256d
                          sia          Blake2-B
                          sib          X11 + gost (SibCoin)
                          skein        Skein+Sha (Skeincoin)
                          skein2       Double Skein (Woodcoin)
                          sonoa        A series of 97 hashes from x17
                          s3           S3
                          timetravel   Timetravel (Machinecoin)
                          vanilla      Blake-256 8-rounds
                          x11evo       Permuted x11
                          x11          X11
                          x12          X12
                          x13          X13
                          x14          X14
                          x15          X15
                          x16r         X16R (Raven)
                          x16s         X16S (Pigeon)
                          x17          X17
                          xevan        Xevan (BitSend)
                          yescrypt     Yescrypt
                          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
      --max-log-rate    limit per-core hashrate logs (default: 5s)
      --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
      --hide-diff       Hide submitted block and net difficulty
  -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 :

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd
DASH: XeVrkPrWB7pDbdFLfKhF1Z3xpqhsx6wkH3

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

Posts: 1713573104

View Profile Personal Message (Offline)

Ignore
1713573104
Reply with quote  #2

1713573104
Report to moderator
1713573104
Hero Member
*
Offline Offline

Posts: 1713573104

View Profile Personal Message (Offline)

Ignore
1713573104
Reply with quote  #2

1713573104
Report to moderator
1713573104
Hero Member
*
Offline Offline

Posts: 1713573104

View Profile Personal Message (Offline)

Ignore
1713573104
Reply with quote  #2

1713573104
Report to moderator
"If you don't want people to know you're a scumbag then don't be a scumbag." -- margaritahuyan
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713573104
Hero Member
*
Offline Offline

Posts: 1713573104

View Profile Personal Message (Offline)

Ignore
1713573104
Reply with quote  #2

1713573104
Report to moderator
1713573104
Hero Member
*
Offline Offline

Posts: 1713573104

View Profile Personal Message (Offline)

Ignore
1713573104
Reply with quote  #2

1713573104
Report to moderator
twoturtles
Legendary
*
Offline Offline

Activity: 1050
Merit: 1000



View Profile WWW
October 31, 2014, 06:31:06 AM
 #2

Nice work! =)

Epsylon3 (OP)
Legendary
*
Offline Offline

Activity: 1484
Merit: 1082


ccminer/cpuminer developer


View Profile WWW
October 31, 2014, 07:27:43 AM
Last edit: October 31, 2014, 11:07:08 AM by Epsylon3
 #3

i detected a bug in scrypt... fixed in version 1.0.6

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi - yiimp
Epsylon3 (OP)
Legendary
*
Offline Offline

Activity: 1484
Merit: 1082


ccminer/cpuminer developer


View Profile WWW
November 15, 2014, 10:50:19 PM
 #4

Version 1.0.8 released Smiley with the same kind of API as i implemented in ccminer

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

Activity: 196
Merit: 100


View Profile
January 04, 2015, 12:13:12 AM
 #5

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
Epsylon3 (OP)
Legendary
*
Offline Offline

Activity: 1484
Merit: 1082


ccminer/cpuminer developer


View Profile WWW
January 04, 2015, 02:42:50 PM
 #6

you need curl sources, then use ./build.sh

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

Activity: 196
Merit: 100


View Profile
January 05, 2015, 04:43:22 AM
 #7

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.
Epsylon3 (OP)
Legendary
*
Offline Offline

Activity: 1484
Merit: 1082


ccminer/cpuminer developer


View Profile WWW
January 05, 2015, 11:45:27 AM
 #8

your curl lib should be automatically found by configure, cf : https://travis-ci.org/tpruvot/cpuminer-multi

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

Activity: 540
Merit: 501


chickens and cryptos


View Profile
May 13, 2015, 05:12:22 AM
 #9

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>  Huh?   how do you fix this??

sirslayer
Hero Member
*****
Offline Offline

Activity: 540
Merit: 501


chickens and cryptos


View Profile
May 13, 2015, 06:05:13 AM
 #10

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
Epsylon3 (OP)
Legendary
*
Offline Offline

Activity: 1484
Merit: 1082


ccminer/cpuminer developer


View Profile WWW
May 13, 2015, 02:41:51 PM
 #11

you need to install the dev packages

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

Activity: 29
Merit: 0


View Profile
June 01, 2015, 12:11:36 PM
 #12

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.
Jake-R
Full Member
***
Offline Offline

Activity: 142
Merit: 100


View Profile
June 05, 2015, 12:36:26 AM
 #13

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.
Epsylon3 (OP)
Legendary
*
Offline Offline

Activity: 1484
Merit: 1082


ccminer/cpuminer developer


View Profile WWW
June 05, 2015, 12:20:09 PM
 #14

indeed to let some cpu on work threads, but you can use -t 8 to force it

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

Activity: 126
Merit: 100


View Profile
June 05, 2015, 12:23:00 PM
 #15

is compiling the miner with mingw64 so hard ?

▲▼▲▼▲▼▲▼  No.1 Bitcoin Binary Options and Double Dice  ▲▼▲▼▲▼▲▼
████████████████████████████████  sec◔nds trade  ████████████████████████████████
↑↓ Instant Bets ↑↓ Flexible 1~720 minutes Expiry time ↑↓ Highest Reward 190% ↑↓ 16 Assets [btc, forex, gold, 1% edge double dice] ↑↓
Epsylon3 (OP)
Legendary
*
Offline Offline

Activity: 1484
Merit: 1082


ccminer/cpuminer developer


View Profile WWW
June 05, 2015, 12:24:59 PM
 #16

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 Wink

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

Activity: 126
Merit: 100


View Profile
June 05, 2015, 12:28:44 PM
 #17

if it will be short can you post the instructions ?

▲▼▲▼▲▼▲▼  No.1 Bitcoin Binary Options and Double Dice  ▲▼▲▼▲▼▲▼
████████████████████████████████  sec◔nds trade  ████████████████████████████████
↑↓ Instant Bets ↑↓ Flexible 1~720 minutes Expiry time ↑↓ Highest Reward 190% ↑↓ 16 Assets [btc, forex, gold, 1% edge double dice] ↑↓
Epsylon3 (OP)
Legendary
*
Offline Offline

Activity: 1484
Merit: 1082


ccminer/cpuminer developer


View Profile WWW
June 05, 2015, 12:31:24 PM
Last edit: June 05, 2015, 12:46:23 PM by Epsylon3
 #18

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...

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi - yiimp
Epsylon3 (OP)
Legendary
*
Offline Offline

Activity: 1484
Merit: 1082


ccminer/cpuminer developer


View Profile WWW
June 05, 2015, 01:12:28 PM
 #19

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)

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi - yiimp
Jake-R
Full Member
***
Offline Offline

Activity: 142
Merit: 100


View Profile
June 05, 2015, 02:49:25 PM
 #20

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
Pages: [1] 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 »  All
  Print  
 
Jump to:  

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