Author

Topic: Compiling pooler cpuminer (Read 1392 times)

hero member
Activity: 574
Merit: 523
November 11, 2013, 07:49:38 AM
#2
Did you follow the build instructions in the README file?
Pay attention that if you get the source from the git then you have to run autogen.sh

There are prebuild binaries (check the official support topic https://bitcointalksearch.org/topic/an-even-more-optimized-version-of-cpuminer-poolers-cpuminer-cpu-only-55038).

Your AV software may detect these as viruses or some other type of backdor/mailware.
This is not true (check the sha sigs of files to make sure the binaries are not tampered to be sure).
They marked minerd as a virus as it is often appears on virus-infected machines that where made a part of botnet that mines for some "smart" guy.

P.S. And remove .code32 form the files where you put it. It is not intended to be there.


sr. member
Activity: 613
Merit: 305
November 11, 2013, 07:31:15 AM
#1
Hi guys i need to compile pooler's cpuminer for mining scome scrypt coins with the CPU.

I've almost managed to build it successfully except a linker error: it does not find references to the routines scrypto_core, sha256_use4way and the other ones defined in the assembly files scrypt-x64.S, scrypt-x86.S, etc.

I've already compiled successfully those assemblies with gac and i have the .o files: scrypt-x86.o and sha2-x86.o
I've told the linker to include those .o files as libraries for the linkage, but to no avail.

I've opened the scrypt-x86.o with Notepad++ to find the string "scrypt_core" and it is there, so i guess there *is* the definition of scrypt_core the linker does not see.

The only modification i've made to both scrypt-x86.S and sha2-x86.S is: i've added the line
Code:
.code32
at the top of the scripts, to tell the assembler to build 32-bit code (otherwise it would raise errors for pushl and popl instructions).
Can be that the problem?
Jump to: