Win32 BDB build in depends is broken #5033

issue laanwj opened this issue on October 2, 2014
  1. laanwj commented at 11:27 AM on October 2, 2014: member
    Building bdb...
    make[1]: Entering directory `/store/orion/projects/bitcoin/bitcoin-win32/depends/work/build/i686-w64-mingw32/bdb/4.8.30-4df3fd96e1f/build_unix'
    ./libtool --mode=compile i686-w64-mingw32-g++ -c -I. -I../dist/./.. -I/store/orion/projects/bitcoin/bitcoin-win32/depends/i686-w64-mingw32/include     -pipe -O2     ../dist/./../cxx/cxx_db.cpp
    libtool: compile:  i686-w64-mingw32-g++ -c -I. -I../dist/./.. -I/store/orion/projects/bitcoin/bitcoin-win32/depends/i686-w64-mingw32/include -pipe -O2 ../dist/./../cxx/cxx_db.cpp -o cxx_db.o
    In file included from ../dist/./../cxx/cxx_db.cpp:9:0:
    ./db_config.h:600:19: error: multiple types in one declaration
     #define socklen_t int
                       ^
    ../dist/./../dbinc/repmgr.h:502:13: note: in expansion of macro ‘socklen_t’
     typedef int socklen_t;
                 ^
    ./db_config.h:600:19: error: declaration does not declare anything [-fpermissive]
     #define socklen_t int
                       ^
    ../dist/./../dbinc/repmgr.h:502:13: note: in expansion of macro ‘socklen_t’
     typedef int socklen_t;
                 ^
    make[1]: *** [cxx_db.o] Error 1
    make[1]: Leaving directory `/store/orion/projects/bitcoin/bitcoin-win32/depends/work/build/i686-w64-mingw32/bdb/4.8.30-4df3fd96e1f/build_unix'
    make: *** [/store/orion/projects/bitcoin/bitcoin-win32/depends/work/build/i686-w64-mingw32/bdb/4.8.30-4df3fd96e1f/build_unix/.stamp_built] Error 2
    

    To reproduce (on Ubuntu 14.04):

    cd depends
    make HOST=i686-w64-mingw32 NO_QT=1
    
  2. laanwj added the label Build system on Oct 2, 2014
  3. laanwj closed this on Oct 2, 2014

  4. 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-13 15:15 UTC

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