Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bitcoin v0.8.0: compilation issues #2322

Closed
grarpamp opened this issue Feb 20, 2013 · 3 comments
Closed

Bitcoin v0.8.0: compilation issues #2322

grarpamp opened this issue Feb 20, 2013 · 3 comments

Comments

@grarpamp
Copy link

bitcoin 0.8.x 44d7f4c
FreeBSD 8.x i386, gcc 4.2.1, boost 1.53.0, db 4.8.30

Here are all the remaining compilation output for review...

bitcoin

net.cpp:355: warning: 'pszKeyword' may be used uninitialized in this function
net.cpp:354: warning: 'pszGet' may be used uninitialized in this function
test/bloom_tests.cpp:45: warning: this decimal constant is unsigned only in ISO C90

leveldb

db/db_impl.cc:1316: warning: comparison between signed and unsigned integer expressions
db/log_reader.cc:181: warning: comparison between signed and unsigned integer expressions
db/log_reader.cc:192: warning: comparison between signed and unsigned integer expressions
db/log_writer.cc:77: warning: comparison between signed and unsigned integer expressions
db/memtable.cc:104: warning: comparison between signed and unsigned integer expressions
db/version_edit.cc:101: warning: comparison between signed and unsigned integer expressions
table/filter_block.cc:100: warning: comparison between signed and unsigned integer expressions
util/bloom.cc:50: warning: comparison between signed and unsigned integer expressions
util/coding.cc:84: warning: comparison between signed and unsigned integer expressions
util/logging.cc:67: warning: comparison between signed and unsigned integer expressions

@luke-jr
Copy link
Member

luke-jr commented Feb 20, 2013

GCC 4.2 is ancient and probably missing functionality we use. On top of that, Bitcoin has never worked on or supported *BSD, so you'll probably have to provide patches if you want to get that working...

@grarpamp
Copy link
Author

Bitcoin (bitcoind) has worked on FreeBSD 8.x since bitcoin 0.4.x.
BitcoinQT has worked as well on FreeBSD at various points, and will with 0.8.x.
http://www.freebsd.org/cgi/ports.cgi?query=bitcoin&stype=name
http://svnweb.freebsd.org/ports/head/net-p2p/bitcoin/
As such, FreeBSD makes for a great bitcoind server and workstation.
I'm sure bitcoin never ran on or supported other platforms too.
But it now does :)
This report is pursuant to that good idea and effort.

However if the code in question shows no room for addressing these toward that fine end, that's ok I guess.
I'll also update to FreeBSD 9.x, retest, and resubmit similarly.
(Both 8.x and 9.x are currently supported FreeBSD releases)

@robbak
Copy link
Contributor

robbak commented Feb 20, 2013

I have to submit the port soon - I'll do so this evening. I have tested it
during the rc cycle, and I have just now started the first test build. I'm
building on 9.1 STABLE, and will do so using clang too.

Some patches were required some time ago, but they have all been accepted
upstream or eliminated by code improvements.

So, install yourself - all it needs is the correct library directories - or
wait for the port to be updated in a few days time.

@bitcoin bitcoin locked as resolved and limited conversation to collaborators Sep 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants