Author

Topic: Building Bitcoin 3.25 in Ubuntu (Read 1009 times)

member
Activity: 77
Merit: 11
Twitter:@watersNYC
September 02, 2011, 04: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
legendary
Activity: 1072
Merit: 1189
September 02, 2011, 08:27:12 AM
#3
Which code exactly are you compiling? The current git head compiles perfectly here on Ubuntu 10.10.
member
Activity: 77
Merit: 11
Twitter:@watersNYC
September 02, 2011, 08:14:18 AM
#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?
member
Activity: 77
Merit: 11
Twitter:@watersNYC
September 02, 2011, 03: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?
Jump to: