Bitcoin v0.8.0: compilation issues #2322

issue grarpamp opened this issue on February 20, 2013
  1. grarpamp commented at 4:39 AM on February 20, 2013: none

    bitcoin 0.8.x 44d7f4cbebd446f8f4a48ff9048d4549c0e2448a 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

  2. luke-jr commented at 4:41 AM on February 20, 2013: member

    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...

  3. grarpamp commented at 5:18 AM on February 20, 2013: none

    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)

  4. robbak commented at 5:42 AM on February 20, 2013: contributor

    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.

  5. gavinandresen closed this on Feb 20, 2013

  6. DrahtBot locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-22 09:16 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me