GithubHelp home page GithubHelp logo

darkcoin-cpuminer-1.2c's People

Contributors

ig0tik3d avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

darkcoin-cpuminer-1.2c's Issues

dummy code in grso.c line 50

Hi ig0tik3d:

I saw in grso.c line 50 as

index += ((64-index)/grsoSIZE)*grsoSIZE;

the grsoSIZE = 128 and index initial =0 and after line 50, index still =0.
so what's the point in line 50?

regards.

libcurl is not usable (required is > 7.15.2. I have 7.52.1)

I am following this to install and mine Dash on my Ubuntu laptop

~/darkcoin-cpuminer-1.3-avx-aes$ ./configure CFLAGS="-O3 -march=native"
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for gcc option to accept ISO C99... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking whether gcc needs -traditional... no
checking dependency style of gcc... gcc3
checking for ranlib... ranlib
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking sys/endian.h usability... no
checking sys/endian.h presence... no
checking for sys/endian.h... no
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for sys/sysctl.h... yes
checking whether be32dec is declared... no
checking whether le32dec is declared... no
checking whether be32enc is declared... no
checking whether le32enc is declared... no
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for getopt_long... yes
checking whether we can compile AVX code... yes
checking whether we can compile XOP code... yes
checking whether we can compile AVX2 code... yes
checking for json_loads in -ljansson... no
checking for pthread_create in -lpthread... yes
checking for gawk... (cached) mawk
checking for curl-config... /home/mohit/anaconda3/bin/curl-config
checking for the version of libcurl... 7.52.1
checking for libcurl >= version 7.15.2... yes
checking whether libcurl is usable... no
configure: error: Missing required libcurl >= 7.15.2

32-bit BAMT linux

Unable to compile the source with BAMT 32-bit linux running (Debian Squeeze distro).

tried CFLAGS -msse2 -m32, not working at all

dark coin cpuminer install failed on CentOS

I did everything I could...

From another Fourum

Centos dependencies

su -c 'yum install gcc-c++ m4 openssl-devel db4-devel boost-devel git'

If you still get errors one of these might help you out:

Compiling OpenSSL (for CentOS users)

This step is only required if you’re using CentOS. Red Hat has removed support for elliptic curve cryptography from the OpenSSL it supplies.

Code:
cd
rm -rf openssl-1.0.1e.tar.gz openssl-1.0.1e
wget openssl-1.0.1e.tar.gz
tar xzvf openssl-1.0.1e.tar.gz
cd openssl-1.0.1e
./config shared --prefix=/usr/local --libdir=lib
make
sudo make install

Compiling miniupnpc (for CentOS users)

Code:
cd
rm -rf miniupnpc-1.6.20120509.tar.gz
wget miniupnpc-1.6.20120509.tar.gz
tar xzvf miniupnpc-1.6.20120509.tar.gz
cd miniupnpc-1.6.20120509
make
sudo INSTALLPREFIX=/usr/local make install


Still get errors like

make all-recursive
make[1]: Entering directory /home_local/lfan/test/darkcoin-cpuminer-1.2c-master/darkcoin-cpuminer-1.2c-master' Making all in compat make[2]: Entering directory/home_local/lfan/test/darkcoin-cpuminer-1.2c-master/darkcoin-cpuminer-1.2c-master/compat'
Making all in jansson
make[3]: Entering directory /home_local/lfan/test/darkcoin-cpuminer-1.2c-master/darkcoin-cpuminer-1.2c-master/compat/jansson' make[3]: Nothing to be done forall'.
make[3]: Leaving directory /home_local/lfan/test/darkcoin-cpuminer-1.2c-master/darkcoin-cpuminer-1.2c-master/compat/jansson' make[3]: Entering directory/home_local/lfan/test/darkcoin-cpuminer-1.2c-master/darkcoin-cpuminer-1.2c-master/compat'
make[3]: Nothing to be done for all-am'. make[3]: Leaving directory/home_local/lfan/test/darkcoin-cpuminer-1.2c-master/darkcoin-cpuminer-1.2c-master/compat'
make[2]: Leaving directory /home_local/lfan/test/darkcoin-cpuminer-1.2c-master/darkcoin-cpuminer-1.2c-master/compat' make[2]: Entering directory/home_local/lfan/test/darkcoin-cpuminer-1.2c-master/darkcoin-cpuminer-1.2c-master'
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -pthread -fno-strict-aliasing -I./compat/jansson -O3 -msse2 -MT minerd-xcoin.o -MD -MP -MF .deps/minerd-xcoin.Tpo -c -o minerd-xcoin.o test -f 'xcoin.c' || echo './'xcoin.c
In file included from xcoin.c:25:
x6/jh_sse2_opt64.h:32: error: redefinition of typedef ‘BitSequence’
x5/defs_x5.h:5: note: previous declaration of ‘BitSequence’ was here
x6/jh_sse2_opt64.h:33: error: redefinition of typedef ‘DataLength’
x5/defs_x5.h:6: note: previous declaration of ‘DataLength’ was here
xcoin.c: In function ‘Xhash’:
xcoin.c:97: warning: assignment discards qualifiers from pointer target type
xcoin.c:112: warning: right shift count >= width of type
xcoin.c:112: warning: right shift count >= width of type
xcoin.c:112: warning: right shift count >= width of type
xcoin.c:112: warning: right shift count >= width of type
make[2]: *** [minerd-xcoin.o] Error 1
make[2]: Leaving directory /home_local/lfan/test/darkcoin-cpuminer-1.2c-master/darkcoin-cpuminer-1.2c-master' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory/home_local/lfan/test/darkcoin-cpuminer-1.2c-master/darkcoin-cpuminer-1.2c-master'
make: *** [all] Error 2


Please help!

merged algos

Hello,

Is it possible to merge all the algo (scrypt,sha256d,qubit,groestl,keccak,x1(1|3|5) etc) into one miner or why it exist a miner for each coin ?

regards 👍

xcoin.c fails to compile because of redefined typedefs

I followed the installation instructions for *nix and saw the following errors during the make process when gcc attempted to compile xcoin.c:

[darkcoin-cpuminer-1.2c-master]$ gcc -std=gnu99 -DHAVE_CONFIG_H -I. -pthread -fno-strict-aliasing -I./compat/jansson -O3 -MT minerd-xcoin.o -MD -MP -MF .deps/minerd-xcoin.Tpo -c -o minerd-xcoin.o test -f 'xcoin.c' || echo './'xcoin.c
In file included from xcoin.c:25:
x6/jh_sse2_opt64.h:32: error: redefinition of typedef ‘BitSequence’
x5/defs_x5.h:5: note: previous declaration of ‘BitSequence’ was here
x6/jh_sse2_opt64.h:33: error: redefinition of typedef ‘DataLength’
x5/defs_x5.h:6: note: previous declaration of ‘DataLength’ was here
xcoin.c: In function ‘Xhash’:
xcoin.c:97: warning: assignment discards qualifiers from pointer target type
xcoin.c:112: warning: right shift count >= width of type
xcoin.c:112: warning: right shift count >= width of type
xcoin.c:112: warning: right shift count >= width of type
xcoin.c:112: warning: right shift count >= width of type

I was able to workaround this issue by commenting out the duplicate definitions for BitSequence and DataLength in jh_sse2_opt64.h.

I'm using CentOS 6.4 and all packages are up to date. I downloaded the source zip directly from git. Here's a paste of the config.log in case it's helpful.

http://pastebin.com/jux40Ggj

Error compiling darkcoin-cpuminer-1.2c: SSE2 instruction set / unknown register name

I am trying to compile darkcoin-cpuminer-1.2c on Ubuntu 14.04 following the instructions as published at ubuntuforums for a processor not supporting the AES-NI instruction set.

I am getting a series of errors during make (step 5), starting with:

error "SSE2 instruction set not enabled"

See askubuntu for someone with the same problem on a Xubuntu 10.04 32 bit.

I enabled SSE2 as follows:

$ ./configure CFLAGS="-O3 -msse2"

configure then finishes without error.

But make produces (among others):

x6/grso-asm.c:6:3: error: unknown register name ‘%r15’ in ‘asm’

As seen at bitcointalk.

See pastebin for full log.

on raspberry pi

*** [minerd-luffa_for_sse2.o] Error 1

compiling on raspberry pi

arm dont have sse ;(

Issue compiling under Ubuntu 18.04

Hi, trying to compile under ubuntu 18.04 following indications, this is the result:

gcc -mtune=amdfam10 -O3 -ffast-math -mabm -msse4a -pipe -pthread -o minerd minerd-cpu-miner.o minerd-util.o minerd-sha2.o minerd-sha2-arm.o minerd-sha2-x86.o minerd-sha2-x64.o minerd-scrypt.o minerd-scrypt-arm.o minerd-scrypt-x86.o minerd-scrypt-x64.o minerd-aes_helper.o minerd-luffa_for_sse2.o minerd-shavite.o minerd-cubehash_sse2.o minerd-nist.o minerd-vector.o minerd-echo.o minerd-xcoin.o -lcurl -ljansson -lpthread
/usr/bin/x86_64-linux-gnu-ld: minerd-xcoin.o: relocation R_X86_64_32S against symbol ``grsoT0' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/x86_64-linux-gnu-ld: final link failed: Nonrepresentable section on output

collect2: error: ld returned 1 exit status
Makefile:476: recipe for target 'minerd' failed
make[2]: *** [minerd] Error 1
make[2]: Leaving directory '/root/darkcoin-cpuminer-1.2c-master'
Makefile:791: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/root/darkcoin-cpuminer-1.2c-master'
Makefile:380: recipe for target 'all' failed
make: *** [all] Error 2

Any help is strongly appreciated.

Thank you.

Side notes
I'm compiling for this CPU:

cpu family : 16
model : 8
model name : Six-Core AMD Opteron(tm) Processor 8439 SE
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt hw_pstate vmmcall npt lbrv svm_lock nrip_save pausefilter
bugs : tlb_mmatch fxsave_leak sysret_ss_attrs null_seg amd_e400 spectre_v1 spectre_v2
power management: ts ttp tm stc 100mhzsteps hwpstate

On a forum I've found these flags for AMD CPUs:

CFLAGS="-mtune=amdfam10 -O3 -ffast-math -mabm -msse4a -pipe"

Note that same issue as above is present when compiling with just:

CFLAGS="-O3"

nomacro.pl does not target files in subdirectories

The nomacro.pl script only targets files in the directory from which it's run:
foreach my $f (<*.S>)

But all of the files that would need to processed by nomacro.pl are located in the x2 subdirectory:
[oberon@hephaestus darkcoin-cpuminer-1.2c-master]$ find ./ -name *.S
./x2/scrypt-x64.S
./x2/scrypt-arm.S
./x2/sha2-x86.S
./x2/scrypt-x86.S
./x2/sha2-x64.S
./x2/sha2-arm.S

The nomacro.pl script does not generate any output, so you may not realize that it didn't work until you receive a few hundred of the following compiler errors:

[macbook]$ make
/Applications/Xcode.app/Contents/Developer/usr/bin/make all-recursive
Making all in compat
make[3]: Nothing to be done for 'all-am'.
gcc -DHAVE_CONFIG_H -I. -pthread -fno-strict-aliasing -O3 -MT minerd-scrypt-x64.o -MD -MP -MF .deps/minerd-scrypt-x64.Tpo -c -o minerd-scrypt-x64.o test -f 'x2/scrypt-x64.S' || echo './'x2/scrypt-x64.S
:4:7: error: unknown token in expression
roll , %ebp
^
x2/scrypt-x64.S:311:2: note: while in macro instantiation
salsa8_core_gen_doubleround
^

This problem appears to be unique to the DarkCoin and QuarkCoin CPU miners. The source for other cpuminer clones contain the relevant files in the same directory as the nomacro.pl script, so they would not experience this problem.

Workaround: copy nomacro.pl to the x2 subdirectory and run from there.

stratum+tcp://pool.futurocoin.org:7903 Issue is solved

bildschirmfoto 2018-02-04 um 13 16 29

Dear sirs,

when will you release a mining pool chat at telegram or discord, etc?
I canot find any contact possibility .

Anyway my problem:

I setup Future Coin pool mining as explained here: https://newsroom.futurocoin.com/what-is-mining/
It is very easy to handle, also with low coding experience.

I started CPU pool mining using this command:

minerd-bdver1.exe -a X11 -o stratum+tcp://118.183.182.41:7901 -u wallet address -p x -t 8
pause

My Grafic Card: AMD Radeon

The start.bat runs but quite immediately this error occurs, pls check and help :

C:\Windows\darkcoin-cpuminer>minerd-bdver1.exe -a X11 -o stratum+tcp://118.183.182.41:7901 -u wallet address -p x -t 8
╔═════════════════════════════════════════════════════╗
║ DarkCoin cpu-miner (v1.3) ║
║ author: elmad (forked from ig0tik3d 1.2c version) ║
http://www.darkcoin.io
╚═════════════════════════════════════════════════════╝
Launching miner...

[2018-02-04 12:47:30] 8 miner threads started, using 'X11' algorithm.
[2018-02-04 12:47:30] Starting Stratum on stratum+tcp://118.183.182.41:7901
[2018-02-04 12:47:30] Binding thread 0 to cpu 0
[2018-02-04 12:47:30] Binding thread 3 to cpu 1
[2018-02-04 12:47:30] Binding thread 1 to cpu 1
[2018-02-04 12:47:30] Binding thread 5 to cpu 1
[2018-02-04 12:47:30] Binding thread 7 to cpu 1
[2018-02-04 12:47:30] Binding thread 4 to cpu 0
[2018-02-04 12:47:30] Binding thread 2 to cpu 0
[2018-02-04 12:47:30] Binding thread 6 to cpu 0
[2018-02-04 12:47:52] Stratum connection failed: Failed connect to 118.183.182.41:7901; No error
[2018-02-04 12:47:52] ...retry after 30 seconds
[2018-02-04 12:48:43] Stratum connection failed: Failed connect to 118.183.182.41:7901; No error
[2018-02-04 12:48:43] ...retry after 30 seconds

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.