Pages:
Author

Topic: [CLOSED] 2000 YAC bounty for adapting minerd for YAC - page 2. (Read 13060 times)

sr. member
Activity: 369
Merit: 250
C:\Users\USERUSER\AppData\Local\Temp\cc4kfJms.s: Assembler messages:
C:\Users\USERUSER\AppData\Local\Temp\cc4kfJms.s:25: Warning: .type pseudo-op use
d outside of .def/.endef ignored.
C:\Users\USERUSER\AppData\Local\Temp\cc4kfJms.s:25: Error: junk at end of line,
first unrecognized character is `h'

See my fix:

I have to go to bed, but if anyone wants to get a step closer to compiling it on windows, replace line 173 in ./code/scrypt-jane-portable-x86.h with

Code:
#define asm_naked_fn_end(fn) ".att_syntax prefix;\n.def " #fn "; .scl 2; .type 32; .size .-" #fn "; .endef \n"  );	

The new error complains about _has_cpuid@0 not being defined (in minerd-scrypt-jane.o, after compiling to asm).

EDIT: I have managed to compile it! Here is a link for all you windows users Cheesy
cpuminer-scrypt-jane-win32.zip

If this helped you and you want to donate, please send to any in my sig or YMKPwfHMR72cjw21aBJjLvq3LDfRb7AZ1b Smiley. I really appreciate it.

https://www.virustotal.com/en/file/2b7e630cfb2d173eb14e4dd88a7879527f5c52cbc77ace0c0742942aad46faec/analysis/1368106358/

Shows it is a bitcoin miner! Watch out!
you're kidding, right?
full member
Activity: 224
Merit: 100
Shitcoin Maximalist
FYI, hope the cross posting is ok - seemed logical.

msm595's Win32 binary is working..


full member
Activity: 185
Merit: 100
How did you manage to compile it without errors? That might be useful information in case of future problems.

The library used for scrypt-jane included some embedded assembly. This assembly wasn't suited for Windows, so I had to hack together some a bit of new assembly based on the old stuff.
sr. member
Activity: 657
Merit: 250
C:\Users\USERUSER\AppData\Local\Temp\cc4kfJms.s: Assembler messages:
C:\Users\USERUSER\AppData\Local\Temp\cc4kfJms.s:25: Warning: .type pseudo-op use
d outside of .def/.endef ignored.
C:\Users\USERUSER\AppData\Local\Temp\cc4kfJms.s:25: Error: junk at end of line,
first unrecognized character is `h'

See my fix:

I have to go to bed, but if anyone wants to get a step closer to compiling it on windows, replace line 173 in ./code/scrypt-jane-portable-x86.h with

Code:
#define asm_naked_fn_end(fn) ".att_syntax prefix;\n.def " #fn "; .scl 2; .type 32; .size .-" #fn "; .endef \n"  );	

The new error complains about _has_cpuid@0 not being defined (in minerd-scrypt-jane.o, after compiling to asm).

EDIT: I have managed to compile it! Here is a link for all you windows users Cheesy
cpuminer-scrypt-jane-win32.zip

If this helped you and you want to donate, please send to any in my sig or YMKPwfHMR72cjw21aBJjLvq3LDfRb7AZ1b Smiley. I really appreciate it.

How did you manage to compile it without errors? That might be useful information in case of future problems.
member
Activity: 112
Merit: 10
C:\Users\USERUSER\AppData\Local\Temp\cc4kfJms.s: Assembler messages:
C:\Users\USERUSER\AppData\Local\Temp\cc4kfJms.s:25: Warning: .type pseudo-op use
d outside of .def/.endef ignored.
C:\Users\USERUSER\AppData\Local\Temp\cc4kfJms.s:25: Error: junk at end of line,
first unrecognized character is `h'

See my fix:

I have to go to bed, but if anyone wants to get a step closer to compiling it on windows, replace line 173 in ./code/scrypt-jane-portable-x86.h with

Code:
#define asm_naked_fn_end(fn) ".att_syntax prefix;\n.def " #fn "; .scl 2; .type 32; .size .-" #fn "; .endef \n"  );	

The new error complains about _has_cpuid@0 not being defined (in minerd-scrypt-jane.o, after compiling to asm).

EDIT: I have managed to compile it! Here is a link for all you windows users Cheesy
cpuminer-scrypt-jane-win32.zip

If this helped you and you want to donate, please send to any in my sig or YMKPwfHMR72cjw21aBJjLvq3LDfRb7AZ1b Smiley. I really appreciate it.

https://www.virustotal.com/en/file/2b7e630cfb2d173eb14e4dd88a7879527f5c52cbc77ace0c0742942aad46faec/analysis/1368106358/

Shows it is a bitcoin miner! Watch out!
full member
Activity: 185
Merit: 100
C:\Users\USERUSER\AppData\Local\Temp\cc4kfJms.s: Assembler messages:
C:\Users\USERUSER\AppData\Local\Temp\cc4kfJms.s:25: Warning: .type pseudo-op use
d outside of .def/.endef ignored.
C:\Users\USERUSER\AppData\Local\Temp\cc4kfJms.s:25: Error: junk at end of line,
first unrecognized character is `h'

See my fix:

I have to go to bed, but if anyone wants to get a step closer to compiling it on windows, replace line 173 in ./code/scrypt-jane-portable-x86.h with

Code:
#define asm_naked_fn_end(fn) ".att_syntax prefix;\n.def " #fn "; .scl 2; .type 32; .size .-" #fn "; .endef \n"  );	

The new error complains about _has_cpuid@0 not being defined (in minerd-scrypt-jane.o, after compiling to asm).

EDIT: I have managed to compile it! Here is a link for all you windows users Cheesy
cpuminer-scrypt-jane-win32.zip

If this helped you and you want to donate, please send to any in my sig or YMKPwfHMR72cjw21aBJjLvq3LDfRb7AZ1b Smiley. I really appreciate it.
sr. member
Activity: 350
Merit: 250
DTC unofficial team
Managed with curl problems, compiled it from source (also you need tcpip.h and pkg-config), successfully executed autogen and configure, but now stuck at make . Seems strange

gcc -std=gnu99 -DHAVE_CONFIG_H -I.  -fno-strict-aliasing -I./compat/jansson -I/u
sr/local/include -DSCRYPT_KECCAK512 -DSCRYPT_CHACHA -DSCRYPT_CHOOSE_COMPILETIME
  -g -O2 -MT minerd-scrypt-jane.o -MD -MP -MF .deps/minerd-scrypt-jane.Tpo -c -o
 minerd-scrypt-jane.o `test -f 'scrypt-jane.c' || echo './'`scrypt-jane.c
C:\Users\USERUSER\AppData\Local\Temp\cc4kfJms.s: Assembler messages:
C:\Users\USERUSER\AppData\Local\Temp\cc4kfJms.s:25: Warning: .type pseudo-op use
d outside of .def/.endef ignored.
C:\Users\USERUSER\AppData\Local\Temp\cc4kfJms.s:25: Error: junk at end of line,
first unrecognized character is `h'
C:\Users\USERUSER\AppData\Local\Temp\cc4kfJms.s:26: Warning: .size pseudo-op use
d outside of .def/.endef ignored.
C:\Users\USERUSER\AppData\Local\Temp\cc4kfJms.s:26: Error: junk at end of line,
first unrecognized character is `h'
make[2]: *** [minerd-scrypt-jane.o] Error 1
make[2]: Leaving directory `/home/USERUSER/cpuminer-master'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/USERUSER/cpuminer-master'
make: *** [all] Error 2
sr. member
Activity: 350
Merit: 250
DTC unofficial team
Working on it too. I hope I'll come to you with windows binaries soon  Wink
hero member
Activity: 630
Merit: 500
I'm stuck here:

Code:
/c/github/cpuminer
$ LIBCURL="-lcurldll" ./configure CFLAGS="-O3"
checking build system type... i686-pc-mingw32
checking host system type... i686-pc-mingw32
checking target system type... i686-pc-mingw32
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... 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.exe
checking for suffix of executables... .exe
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 dependency style of gcc... gcc3
checking for gcc option to accept ISO C99... -std=gnu99
checking how to run the C preprocessor... gcc -std=gnu99 -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking whether gcc -std=gnu99 needs -traditional... no
checking whether gcc -std=gnu99 and cc understand -c and -o together... yes
checking dependency style of gcc -std=gnu99... 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... no
checking syslog.h presence... no
checking for syslog.h... no
checking for sys/sysctl.h... no
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... no
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 for json_loads in -ljansson... no
checking for pthread_create in -lpthread... yes
checking for gawk... (cached) gawk
checking for curl-config... /mingw/bin/curl-config
checking for the version of libcurl... 7.30.0
checking for libcurl >= version 7.10.1... yes
checking whether libcurl is usable... no
configure: error: Missing required libcurl >= 7.10.1

It finds my curl-config that I made with ./configure in curl directory and placed in C:\MinGW\bin.  It finds libcurl.m4 which is 7.30.0 and placed in C:\MinGW\share\aclocal.  However, it says the version isn't usable??
newbie
Activity: 14
Merit: 0
even so can you give us a compiled version of it ?
sr. member
Activity: 322
Merit: 250
Supersonic
Sorry i can be of no assistance for Windows or Mac users. I have no idea about those systems... perhaps offer your own bounties...
member
Activity: 112
Merit: 10
isn´t this te compiled version ? http://sourceforge.net/projects/cpuminer/files/

the latest version there was 4 days ago, so it does not have the latest changes.

anyone have any lucked yet getting it to build, i'm stumped just can't get it to compile here
newbie
Activity: 14
Merit: 0
hello ?

pls help me. :/ i tried running cpuminer like i do it anytime so i gave him the local adress of the wallet i created but nothing works. pls give me a hint or better say with which settings you are mining
newbie
Activity: 14
Merit: 0
isn´t this te compiled version ? http://sourceforge.net/projects/cpuminer/files/

so tell me with what settings i have to start it ! pls !
legendary
Activity: 1596
Merit: 1010
a windows compiled version would be much appreciated Smiley
newbie
Activity: 14
Merit: 0
hey can somebody tell me how to setup cpuminer for yac and if someone already made a pool for it ?
sr. member
Activity: 324
Merit: 250
You know if we're upgrading poolers cpuminer it could use stratum support!
sr. member
Activity: 301
Merit: 260
FLO dev
Anyone want to post Win32 / Win64 binaries?
sr. member
Activity: 280
Merit: 250
I too can confirm at it does indeed work with YAC
sr. member
Activity: 322
Merit: 250
Supersonic
Transaction ID: 2d23917c31ed4fd69fc0ac18423de3020bee08bea1271ebe73a6027fc712ee5b

Transferred to alex_fun.

This fork mines YAC. I got some unconfirmed blocks. (> 100 confirmations)
Pages:
Jump to: