Bitcoin Forum
December 10, 2016, 03:31:19 AM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Problem Compiling Bitcoin  (Read 1048 times)
casascius
Mike Caldwell
VIP
Legendary
*
Offline Offline

Activity: 1344


The Casascius 1oz 10BTC Silver Round (w/ Gold B)


View Profile WWW
September 21, 2011, 04:41:10 AM
 #1

Can anyone tell me what I might be doing wrong trying to compile Bitcoin from source?

http://pastebin.com/wYDFLzds

I have downloaded the openssl tarball directly from openssl.org.  I am not sure why I should be getting these errors or what to do about them.

Thanks in advance

Companies claiming they got hacked and lost your coins sounds like fraud so perfect it could be called fashionable.  I never believe them.  If I ever experience the misfortune of a real intrusion, I declare I have been honest about the way I have managed the keys in Casascius Coins.  I maintain no ability to recover or reproduce the keys, not even under limitless duress or total intrusion.  Remember that trusting strangers with your coins without any recourse is, as a matter of principle, not a best practice.  Don't keep coins online. Use paper wallets instead.
1481340679
Hero Member
*
Offline Offline

Posts: 1481340679

View Profile Personal Message (Offline)

Ignore
1481340679
Reply with quote  #2

1481340679
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1481340679
Hero Member
*
Offline Offline

Posts: 1481340679

View Profile Personal Message (Offline)

Ignore
1481340679
Reply with quote  #2

1481340679
Report to moderator
bitrick
Member
**
Offline Offline

Activity: 64


View Profile
September 21, 2011, 05:09:30 AM
 #2

That should come from /usr/include/openssl/ec.h

$ grep EC_KEY\; /usr/include/openssl/ec.h
typedef struct ec_key_st EC_KEY;

and ecdsa.h includes it:

#ifndef HEADER_ECDSA_H
#define HEADER_ECDSA_H

#include <openssl/opensslconf.h>

#ifdef OPENSSL_NO_ECDSA
#error ECDSA is disabled.
#endif

#include <openssl/ec.h>

<snip>
casascius
Mike Caldwell
VIP
Legendary
*
Offline Offline

Activity: 1344


The Casascius 1oz 10BTC Silver Round (w/ Gold B)


View Profile WWW
September 21, 2011, 05:24:22 AM
 #3

Thanks for your help.  Could this mean I am missing a dependency?  Or have an OpenSSL build without EC support?  Not sure where to go from here.  I do not get the "ECDSA is disabled" message that the #error directive would apparently show if I didn't have ECDSA support.

Companies claiming they got hacked and lost your coins sounds like fraud so perfect it could be called fashionable.  I never believe them.  If I ever experience the misfortune of a real intrusion, I declare I have been honest about the way I have managed the keys in Casascius Coins.  I maintain no ability to recover or reproduce the keys, not even under limitless duress or total intrusion.  Remember that trusting strangers with your coins without any recourse is, as a matter of principle, not a best practice.  Don't keep coins online. Use paper wallets instead.
bitrick
Member
**
Offline Offline

Activity: 64


View Profile
September 21, 2011, 05:33:24 AM
 #4

Thanks for your help.  Could this mean I am missing a dependency?  Or have an OpenSSL build without EC support?  Not sure where to go from here.  I do not get the "ECDSA is disabled" message that the #error directive would apparently show if I didn't have ECDSA support.

Are you saying you do not have /usr/include/openssl/ec.h  or /usr/include/openssl/ecdsa.h ?
casascius
Mike Caldwell
VIP
Legendary
*
Offline Offline

Activity: 1344


The Casascius 1oz 10BTC Silver Round (w/ Gold B)


View Profile WWW
September 21, 2011, 05:53:25 AM
 #5

They are both present, they just bomb out with all the errors.

I think I might have found the problem - there is also a /usr/local/include/openssl that apparently gets a higher precedence in the evaluation of #include's.  Your mention of ecdsa.h including ec.h made it occur to me that there might be an ec.h elsewhere in the filesystem that's getting found as a higher priority, and this directory seems to be the culprit.

Renaming the offending directory made all the openssl errors go away. (the real desired versions are in /usr/include)

Thanks for your help!

Companies claiming they got hacked and lost your coins sounds like fraud so perfect it could be called fashionable.  I never believe them.  If I ever experience the misfortune of a real intrusion, I declare I have been honest about the way I have managed the keys in Casascius Coins.  I maintain no ability to recover or reproduce the keys, not even under limitless duress or total intrusion.  Remember that trusting strangers with your coins without any recourse is, as a matter of principle, not a best practice.  Don't keep coins online. Use paper wallets instead.
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!