* [Bitcoin-development] Building BDB on MingW
@ 2012-02-24 22:15 Amir Taaki
2012-02-25 7:18 ` Wladimir
2014-07-14 11:27 ` neil
0 siblings, 2 replies; 4+ messages in thread
From: Amir Taaki @ 2012-02-24 22:15 UTC (permalink / raw)
To: bitcoin-development
I followed the instructions from build-msw.txt and am getting the same issue from here:
https://bitcointalk.org/index.php?topic=45507.0
MSYS shell:
cd /c/db-4.8.30.NC-mgw/build_unix
sh ../dist/configure --enable-mingw --enable-cxx
make
$ make
./libtool --mode=compile gcc -c -I. -I../dist/.. -O3 ../dist/../mutex/mut_win32.c
libtool: compile: gcc -c -I. -I../dist/.. -O3 ../dist/../mutex/mut_win32.c -DDLL_EXPORT -DPIC -o .libs/mut_win32.o
In file included from ./db_int.h:886:0,
from ../dist/../mutex/mut_win32.c:12:
../dist/../dbinc/repmgr.h:502:13: error: two or more data types in declaration specifiers
../dist/../dbinc/repmgr.h:502:1: warning: useless type name in empty declaration
make: *** [mut_win32.lo] Error 1[/quote]
Any ideas? Sadly the proposed fix in that thread didn't work.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Bitcoin-development] Building BDB on MingW
2012-02-24 22:15 [Bitcoin-development] Building BDB on MingW Amir Taaki
@ 2012-02-25 7:18 ` Wladimir
2012-02-26 13:51 ` Amir Taaki
2014-07-14 11:27 ` neil
1 sibling, 1 reply; 4+ messages in thread
From: Wladimir @ 2012-02-25 7:18 UTC (permalink / raw)
To: Amir Taaki; +Cc: bitcoin-development
[-- Attachment #1: Type: text/plain, Size: 361 bytes --]
On Fri, Feb 24, 2012 at 11:15 PM, Amir Taaki <zgenjix@yahoo.com> wrote:
> I followed the instructions from build-msw.txt and am getting the same
> issue from here:
>
> https://bitcointalk.org/index.php?topic=45507.0
>
>
> Any ideas? Sadly the proposed fix in that thread didn't work.
>
https://forums.oracle.com/forums/thread.jspa?messageID=4018239
Wladimir
[-- Attachment #2: Type: text/html, Size: 841 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Bitcoin-development] Building BDB on MingW
2012-02-25 7:18 ` Wladimir
@ 2012-02-26 13:51 ` Amir Taaki
0 siblings, 0 replies; 4+ messages in thread
From: Amir Taaki @ 2012-02-26 13:51 UTC (permalink / raw)
To: bitcoin-development
[-- Attachment #1: Type: text/plain, Size: 1037 bytes --]
Thanks. Using --disable-thread_api --disable-replication got it to compile, but now when actually running bitcoind it throws DbRunRecoveryException over the DB_RUNRECOVERY flag.
It seems people aren't actually using MingW to compile bitcoind on Windows? The lack of pthreads seems crippling and there's lots of missing functions like strncasecmp, _strlwr, _fileno and swprintf.
________________________________
From: Wladimir <laanwj@gmail.com>
To: Amir Taaki <zgenjix@yahoo.com>
Cc: "bitcoin-development@lists.sourceforge.net" <bitcoin-development@lists.sourceforge.net>
Sent: Saturday, February 25, 2012 7:18 AM
Subject: Re: [Bitcoin-development] Building BDB on MingW
On Fri, Feb 24, 2012 at 11:15 PM, Amir Taaki <zgenjix@yahoo.com> wrote:
I followed the instructions from build-msw.txt and am getting the same issue from here:
>
>https://bitcointalk.org/index.php?topic=45507.0
>
>
>Any ideas? Sadly the proposed fix in that thread didn't work.
>
https://forums.oracle.com/forums/thread.jspa?messageID=4018239
Wladimir
[-- Attachment #2: Type: text/html, Size: 2531 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Bitcoin-development] Building BDB on MingW
2012-02-24 22:15 [Bitcoin-development] Building BDB on MingW Amir Taaki
2012-02-25 7:18 ` Wladimir
@ 2014-07-14 11:27 ` neil
1 sibling, 0 replies; 4+ messages in thread
From: neil @ 2014-07-14 11:27 UTC (permalink / raw)
To: bitcoin-development
got same error, did you manage to fix this?
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-07-14 12:45 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-24 22:15 [Bitcoin-development] Building BDB on MingW Amir Taaki
2012-02-25 7:18 ` Wladimir
2012-02-26 13:51 ` Amir Taaki
2014-07-14 11:27 ` neil
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox