Bitcoin Forum
May 11, 2024, 01:06:28 PM *
News: Latest Bitcoin Core release: 27.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 378697 times)
ParaplegicRacehorse
Member
**
Offline Offline

Activity: 79
Merit: 36

HODL. Patience.


View Profile
February 06, 2017, 06:03:31 AM
 #201

I probably should've forked your repo and made a pull request @Epsylon3, but I didn't.

Since yours is the only currently-maintained cpuminer-multi, and the one with the most algorithms supported, and because it's tedious to --benchtest every algo to check your speeds, I wrote a script. It's a lousy script. But it works. Note that with 40 algos to test, discounting any possible variations of difficulty and stuff, the script takes a while to run.

https://github.com/ParaplegicRacehorse/cpuminer-multi-benchtest-logger

from the README

This is a dumb script to run cpu-test and 2-minute benchmark on all algorithm's supported by tpruvot's (cpuminer-multi)[https://github.com/tpruvot/cpuminer-multi].

**Requires**

bash

I am a terrible programmer. Everything is hard-coded at the moment.

## Roadmap

* Separate the algo names into a separate file and loop over that.
* Determine, from log files, what average rate for each hash is and put into a .csv for easy parsing in a spreadsheet or some other tool. May be used to help calibrate profitability if someone ever adds a network API to cpuminer (cough HINT cough)

## Changelog

2017-04-05

* Initial script creation


I do not accept tips. I do accept patches. Please patch my code.

Even better, patch tpruvot's code. There are several cpuminer's out there with algorithms not included in tpruvot's code. Add them.
There are several different types of Bitcoin clients. The most secure are full nodes like Bitcoin Core, but full nodes are more resource-heavy, and they must do a lengthy initial syncing process. As a result, lightweight clients with somewhat less security are commonly used.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715432788
Hero Member
*
Offline Offline

Posts: 1715432788

View Profile Personal Message (Offline)

Ignore
1715432788
Reply with quote  #2

1715432788
Report to moderator
theghost1980
Member
**
Offline Offline

Activity: 67
Merit: 10

Truth is Only one - La verdad es solo Una -


View Profile
February 08, 2017, 11:17:43 PM
 #202

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.

Hello There. I'm trying to compile under MacOS Sierra v. 10.12.3, and I get this error:
(a bunch of lines before with errors too, mostly about invalid operand for instruction)
make[2]: *** [asm/cpuminer-scrypt-x64.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2


Tip me. DASH Xne9JXZhbL9u38xfr6aDtTGogZMZFBbpRN
check1
Newbie
*
Offline Offline

Activity: 10
Merit: 0


View Profile
February 18, 2017, 03:13:58 PM
 #203

Hello,im new in mining i have eobot account and i try to put also cpuminer.
I start timetraveler from cpuminer folder its starts in cmd its checked yes!

but i cant see the cpu power in my eobot account what im doing wrong ?


ty
mahurovihamilo
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
February 18, 2017, 10:32:43 PM
Last edit: February 18, 2017, 11:26:45 PM by mahurovihamilo
 #204

Hi There,

thank you for this wonderful program!!

please I have installed it in Ubuntu and all seems to have gone well...however, can anyone provide a sample of the settings and flags nescesary to run it? where do I point to the mining pool? where do I point to my Bitcoin address etc.( I'd like to mine Bitcoin or ethereum on CPU) I know cpu is very low yield, but I have access to a load of CPUs and can use any scraps of BTC I can make Wink

Also please can you suggest a couple of good mining pool to join, or can I just mine without joining a pool?....thanks !!





Many thanks!!

Mahurovihamilo.
Epsylon3 (OP)
Legendary
*
Offline Offline

Activity: 1484
Merit: 1082


ccminer/cpuminer developer


View Profile WWW
February 19, 2017, 12:05:09 PM
 #205

--help

... which is shown in the first thread message https://bitcointalk.org/?topic=841401

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

Activity: 1
Merit: 0


View Profile
February 23, 2017, 01:03:48 PM
 #206

Greetings!

I want to implement the following feature: make miner consume only a specific number of CPU resources, threshold for which is determined by overall CPU load (i.e. use only up to a half of available computing power). In Linux it should be not that hard, however, I want to compile it for Windows.
Could you please aim me, which articles and books should I read regarding that, since I don't want to use any third party programs?
asor
Hero Member
*****
Offline Offline

Activity: 809
Merit: 1008



View Profile
February 26, 2017, 10:59:13 AM
 #207

Can't seem to compile the latest version 1.3.1

Code:
algo/cpuminer-timetravel.o: In function `next_permutation':
timetravel.c:(.text+0x173): undefined reference to `swap'
timetravel.c:(.text+0x186): undefined reference to `reverse'
timetravel.c:(.text+0x1a5): undefined reference to `reverse'
collect2: error: ld returned 1 exit status
Makefile:882: recipe for target 'cpuminer' failed

Any idea how to fix ?

Debian x64 8.6 - gcc 4.9.2

Same problem on my Ubuntu 16.04 LTS - gcc 5.4.0

Unfortunately, I was unable to solve the problem using https://travis-ci.org/tpruvot/cpuminer-multi

I ran out of ideas Sad Any Suggestions?
joblo
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
February 26, 2017, 01:33:58 PM
 #208

Can't seem to compile the latest version 1.3.1

Code:
algo/cpuminer-timetravel.o: In function `next_permutation':
timetravel.c:(.text+0x173): undefined reference to `swap'
timetravel.c:(.text+0x186): undefined reference to `reverse'
timetravel.c:(.text+0x1a5): undefined reference to `reverse'
collect2: error: ld returned 1 exit status
Makefile:882: recipe for target 'cpuminer' failed

Any idea how to fix ?

Debian x64 8.6 - gcc 4.9.2

Same problem on my Ubuntu 16.04 LTS - gcc 5.4.0

Unfortunately, I was unable to solve the problem using https://travis-ci.org/tpruvot/cpuminer-multi

I ran out of ideas Sad Any Suggestions?

Try renaming those functions to something unique. There's probasbly a name conflict.

AKA JayDDee, cpuminer-opt developer. https://github.com/JayDDee/cpuminer-opt
https://bitcointalk.org/index.php?topic=5226770.msg53865575#msg53865575
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
manotroll
Sr. Member
****
Offline Offline

Activity: 305
Merit: 250


View Profile
February 26, 2017, 02:54:58 PM
 #209

The yield for xmr is less than Wolf
jacquiejusto16
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
March 02, 2017, 07:48:49 PM
 #210

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 :

http://i68.tinypic.com/2udunt4.png

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.1 (Tanguy Pruvot) 26 Jan 2017
- 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.1 by tpruvot@github **
BTC donation address: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd (tpruvot)

Usage: cpuminer-multi [OPTIONS]
Options:
  -a, --algo=ALGO       specify the algorithm to use
                          axiom        Shabal-256 MemoHash
                          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
                          keccak       Keccak
                          luffa        Luffa
                          lyra2re      Lyra2RE
                          lyra2rev2    Lyra2REv2 (Vertcoin)
                          myr-gr       Myriad-Groestl
                          neoscrypt    NeoScrypt(128, 2, 1)
                          nist5        Nist5
                          pluck        Pluck:128 (Supcoin)
                          pentablake   Pentablake
                          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)
                          s3           S3
                          timetravel   Timetravel (Machinecoin)
                          vanilla      Blake-256 8-rounds
                          x11evo       Permuted x11
                          x11          X11
                          x13          X13
                          x14          X14
                          x15          X15
                          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
MAC: MCchQ675kJYeXoCACgkKx6xakubE8CAQ5A
ilia_2s
Newbie
*
Offline Offline

Activity: 47
Merit: 0


View Profile
March 11, 2017, 10:19:04 PM
 #211

I download and run latest windows build. I use it with "-no-getwork" option, but sometime it send getwork request to wallet and wallet reply that "method not supported". How I can report a bug?
miguelfug1
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
March 15, 2017, 09:30:55 PM
 #212

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 :

http://i68.tinypic.com/2udunt4.png

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.1 (Tanguy Pruvot) 26 Jan 2017
- 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.1 by tpruvot@github **
BTC donation address: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd (tpruvot)

Usage: cpuminer-multi [OPTIONS]
Options:
  -a, --algo=ALGO       specify the algorithm to use
                          axiom        Shabal-256 MemoHash
                          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
                          keccak       Keccak
                          luffa        Luffa
                          lyra2re      Lyra2RE
                          lyra2rev2    Lyra2REv2 (Vertcoin)
                          myr-gr       Myriad-Groestl
                          neoscrypt    NeoScrypt(128, 2, 1)
                          nist5        Nist5
                          pluck        Pluck:128 (Supcoin)
                          pentablake   Pentablake
                          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)
                          s3           S3
                          timetravel   Timetravel (Machinecoin)
                          vanilla      Blake-256 8-rounds
                          x11evo       Permuted x11
                          x11          X11
                          x13          X13
                          x14          X14
                          x15          X15
                          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
MAC: MCchQ675kJYeXoCACgkKx6xakubE8CAQ5A
ermaxinc
Sr. Member
****
Offline Offline

Activity: 369
Merit: 252



View Profile
March 25, 2017, 12:03:52 PM
Last edit: March 25, 2017, 12:27:07 PM by ermaxinc
 #213

delete
usao
Legendary
*
Offline Offline

Activity: 1109
Merit: 1000



View Profile
March 28, 2017, 08:25:31 PM
 #214

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.
It took 3 months, but I finally got S.A. st install GCC compiler.
Is there a walk-through or steps to allow someone to compile the source?
I would appreciate any help.
Chicago
Sr. Member
****
Offline Offline

Activity: 592
Merit: 259


View Profile
March 28, 2017, 09:04:45 PM
 #215

Is there a walk-through or steps to allow someone to compile the source?
I would appreciate any help.

Hi usao,

    The last time I built tpruvot-cpuminer was back in January of 2016 with v1.2.
    The autoconf version I employed was v2.5.
    The automake version I employed was v1.10.

    Back then, my dependencies were cURL, jansson (http://www.digip.org/jansson/) and OpenSSL.
    Also, back then I remember copying my libcurl.m4 include file into the tpruvot-cpuminer's m4 directory before configuring the build.

    I started by regenerating the autotools files, by doing a full autoreconf followed by running libtoolize.

    Then, I added these CFLAGS to my custom build environment:  -Ofast -flto -fuse-linker-plugin -ftree-loop-if-convert-stores -DUSE_ASM
    Then, I ran configure --with-crypto --with-curl

    Afterwards, a standard make and then make install finished the process.

    Your mileage may vary since the build box here was a full-blown Gentoo system with the toolchain already installed.
    You'll need development libraries, build essentials and dependencies when compiling for CentOS v6.

Best Regards,
-Chicago
usao
Legendary
*
Offline Offline

Activity: 1109
Merit: 1000



View Profile
March 28, 2017, 10:26:15 PM
 #216

Getting the following errors:

Code:
cpuminer-cpu-miner.o: In function `longpoll_thread':
/root/cpuminer-multi/cpu-miner.c:2407: undefined reference to `curl_easy_init'
/root/cpuminer-multi/cpu-miner.c:2532: undefined reference to `curl_easy_cleanup'
cpuminer-cpu-miner.o: In function `stratum_gen_work':
/root/cpuminer-multi/cpu-miner.c:1684: undefined reference to `SHA256'
cpuminer-cpu-miner.o: In function `workio_thread':
/root/cpuminer-multi/cpu-miner.c:1533: undefined reference to `curl_easy_init'
/root/cpuminer-multi/cpu-miner.c:1571: undefined reference to `curl_easy_cleanup'
cpuminer-cpu-miner.o: In function `show_version_and_exit':
/root/cpuminer-multi/cpu-miner.c:2753: undefined reference to `curl_version'
cpuminer-cpu-miner.o: In function `main':
/root/cpuminer-multi/cpu-miner.c:3363: undefined reference to `curl_global_init'
cpuminer-util.o: In function `json_load_url':
/root/cpuminer-multi/util.c:621: undefined reference to `curl_easy_init'
/root/cpuminer-multi/util.c:626: undefined reference to `curl_easy_setopt'
/root/cpuminer-multi/util.c:627: undefined reference to `curl_easy_setopt'
/root/cpuminer-multi/util.c:628: undefined reference to `curl_easy_setopt'
/root/cpuminer-multi/util.c:629: undefined reference to `curl_easy_setopt'
/root/cpuminer-multi/util.c:630: undefined reference to `curl_easy_setopt'
cpuminer-util.o:/root/cpuminer-multi/util.c:631: more undefined references to `curl_easy_setopt' follow
cpuminer-util.o: In function `json_load_url':
/root/cpuminer-multi/util.c:645: undefined reference to `curl_easy_perform'
/root/cpuminer-multi/util.c:657: undefined reference to `curl_easy_cleanup'
/root/cpuminer-multi/util.c:641: undefined reference to `curl_easy_setopt'
/root/cpuminer-multi/util.c:643: undefined reference to `curl_easy_setopt'
cpuminer-util.o: In function `stratum_connect':
/root/cpuminer-multi/util.c:1127: undefined reference to `curl_easy_cleanup'
/root/cpuminer-multi/util.c:1128: undefined reference to `curl_easy_init'
/root/cpuminer-multi/util.c:1152: undefined reference to `curl_easy_setopt'
/root/cpuminer-multi/util.c:1153: undefined reference to `curl_easy_setopt'
/root/cpuminer-multi/util.c:1154: undefined reference to `curl_easy_setopt'
/root/cpuminer-multi/util.c:1155: undefined reference to `curl_easy_setopt'
/root/cpuminer-multi/util.c:1156: undefined reference to `curl_easy_setopt'
cpuminer-util.o:/root/cpuminer-multi/util.c:1157: more undefined references to `curl_easy_setopt' follow
cpuminer-util.o: In function `stratum_connect':
/root/cpuminer-multi/util.c:1172: undefined reference to `curl_easy_perform'
/root/cpuminer-multi/util.c:1175: undefined reference to `curl_easy_cleanup'
/root/cpuminer-multi/util.c:1151: undefined reference to `curl_easy_setopt'
cpuminer-util.o: In function `stratum_disconnect':
/root/cpuminer-multi/util.c:1192: undefined reference to `curl_easy_cleanup'
cpuminer-util.o: In function `json_rpc_call':
/root/cpuminer-multi/util.c:456: undefined reference to `curl_easy_setopt'
/root/cpuminer-multi/util.c:458: undefined reference to `curl_easy_setopt'
/root/cpuminer-multi/util.c:459: undefined reference to `curl_easy_setopt'
/root/cpuminer-multi/util.c:460: undefined reference to `curl_easy_setopt'
/root/cpuminer-multi/util.c:461: undefined reference to `curl_easy_setopt'
cpuminer-util.o:/root/cpuminer-multi/util.c:462: more undefined references to `curl_easy_setopt' follow
cpuminer-util.o: In function `json_rpc_call':
/root/cpuminer-multi/util.c:501: undefined reference to `curl_slist_append'
/root/cpuminer-multi/util.c:502: undefined reference to `curl_slist_append'
/root/cpuminer-multi/util.c:503: undefined reference to `curl_slist_append'
/root/cpuminer-multi/util.c:504: undefined reference to `curl_slist_append'
/root/cpuminer-multi/util.c:508: undefined reference to `curl_easy_setopt'
/root/cpuminer-multi/util.c:510: undefined reference to `curl_easy_perform'
/root/cpuminer-multi/util.c:601: undefined reference to `curl_slist_free_all'
/root/cpuminer-multi/util.c:602: undefined reference to `curl_easy_reset'
/root/cpuminer-multi/util.c:488: undefined reference to `curl_easy_setopt'
/root/cpuminer-multi/util.c:474: undefined reference to `curl_easy_setopt'
/root/cpuminer-multi/util.c:455: undefined reference to `curl_easy_setopt'
/root/cpuminer-multi/util.c:610: undefined reference to `curl_slist_free_all'
/root/cpuminer-multi/util.c:611: undefined reference to `curl_easy_reset'
/root/cpuminer-multi/util.c:514: undefined reference to `curl_easy_getinfo'
cpuminer-api.o: In function `websocket_handshake':
/root/cpuminer-multi/api.c:337: undefined reference to `SHA1_Init'
/root/cpuminer-multi/api.c:338: undefined reference to `SHA1_Update'
/root/cpuminer-multi/api.c:339: 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: error: 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
pallas
Legendary
*
Offline Offline

Activity: 2716
Merit: 1094


Black Belt Developer


View Profile
March 29, 2017, 07:34:41 AM
 #217

Getting the following errors:

./configure --with-crypto --with-curl

usao
Legendary
*
Offline Offline

Activity: 1109
Merit: 1000



View Profile
March 29, 2017, 04:24:44 PM
 #218

Getting the following errors:

./configure --with-crypto --with-curl
Thanks, this worked and I got a successful compile.
Next question.
Is it possible to get a statically linked compile so I can copy this to other machines which do not have all the tools installed?
Im asking because it was a real hurdle to get all the stuff setup on a single VM to compile, but I want to deploy to a large number of servers who do not have all the same setup/configuration.
pallas
Legendary
*
Offline Offline

Activity: 2716
Merit: 1094


Black Belt Developer


View Profile
March 29, 2017, 08:29:13 PM
 #219

Getting the following errors:

./configure --with-crypto --with-curl
Thanks, this worked and I got a successful compile.
Next question.
Is it possible to get a statically linked compile so I can copy this to other machines which do not have all the tools installed?
Im asking because it was a real hurdle to get all the stuff setup on a single VM to compile, but I want to deploy to a large number of servers who do not have all the same setup/configuration.

Not as trivial as it may seem.
Start by trying "./configure LDFLAGS=-static"

mikeberserkr
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
April 01, 2017, 02:36:54 AM
 #220

Hello there I ran some virus scans with this.

hmmmm... well i do believe in the credebility of the program...
how to clean it hehe

https://www.virustotal.com/en/file/1208fb1c3cbdcbfc5089d46f4ab339d494139ba904e84a41a1707f7723edb7e2/analysis/1491012660/
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!