Bitcoin Forum
April 22, 2019, 07:16:03 AM *
News: Latest Bitcoin Core release: 0.17.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Compiling pooler cpuminer  (Read 1352 times)
Lionel
Sr. Member
****
Offline Offline

Activity: 560
Merit: 300


View Profile
November 11, 2013, 11: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?
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1555917363
Hero Member
*
Offline Offline

Posts: 1555917363

View Profile Personal Message (Offline)

Ignore
1555917363
Reply with quote  #2

1555917363
Report to moderator
1555917363
Hero Member
*
Offline Offline

Posts: 1555917363

View Profile Personal Message (Offline)

Ignore
1555917363
Reply with quote  #2

1555917363
Report to moderator
bee7
Hero Member
*****
Offline Offline

Activity: 574
Merit: 500


View Profile
November 11, 2013, 11: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://bitcointalk.org/index.php?topic=55038.0).

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.


Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!