Bitcoin Forum
June 26, 2017, 02:22:52 AM *
News: Latest stable version of Bitcoin Core: 0.14.2  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Building Bitcoin 3.25 in Ubuntu  (Read 828 times)
AlexWaters
Member
**
Offline Offline

Activity: 72


Coin.co | Twitter:@watersNYC


View Profile
September 02, 2011, 08:54:18 AM
 #1

I'm trying to build from the repo so I can test some commits in Linux. I got past getting all of the libraries installed (I hope) and I get to the bitcoin make, and it throws the following 2(4?) errors:

net.cpp:48:15: error: 'pnodeLocalHost' was declared 'extern' and later 'static'
net.h:476:15: error: previous declaration of 'pnodeLocalHost'
net.cpp:51:15: error: 'hListenSocket' was declared 'extern' and later 'static'
net.h:479:15: error: previous declaration of 'hListenSocket'
make: *** [obj/nogui/net.o] Error 1

I'm assuming that there's something I'm doing wrong in my build, any recommendations?

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

Activity: 72


Coin.co | Twitter:@watersNYC


View Profile
September 02, 2011, 01:14:18 PM
 #2

Ok so I commented out those two lines of code in net.h - and now I'm getting these errors:

db.cpp:534: undefined reference to 'AddAddress(CAddress, long long)'
net.cpp:1363: undefined reference to 'AddAddress(CAddress, long long)'
main.cpp:1914: undefined reference to 'AddAddress(CAddress, long long)'
init.cpp:493:  undefined reference to 'AddAddress(CAddress, long long)'

has anyone had success building 3.25 in ubuntu?

Pieter Wuille
Legendary
*
qt
Offline Offline

Activity: 1050


View Profile WWW
September 02, 2011, 01:27:12 PM
 #3

Which code exactly are you compiling? The current git head compiles perfectly here on Ubuntu 10.10.

aka sipa, core dev team

Tips and donations: 1KwDYMJMS4xq3ZEWYfdBRwYG2fHwhZsipa
AlexWaters
Member
**
Offline Offline

Activity: 72


Coin.co | Twitter:@watersNYC


View Profile
September 02, 2011, 09:55:02 PM
 #4

Sorry, made this issue for it: https://github.com/bitcoin/bitcoin/issues/485

I was downloading the source instead of gitting it - learned my lesson I hope, haha

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!