https://bugs.openldap.org/show_bug.cgi?id=7878
Ryan Tandy ryan@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|VERIFIED |CONFIRMED Resolution|WORKSFORME |--- Ever confirmed|0 |1
--- Comment #4 from Ryan Tandy ryan@openldap.org --- I'm reopening this, because my MSYS2/MinGW environment still reproduces it (after fixing ITS#8383):
make[3]: Entering directory '/home/ryan/openldap/servers/slapd/back-mdb' /bin/sh ../../../libtool --tag=disable-shared --mode=compile cc -g -O2 -I../../../include -I../../../include -I.. -I./.. -I./../../../libraries/liblmdb -c init.c cc -g -O2 -I../../../include -I../../../include -I.. -I./.. -I./../../../libraries/liblmdb -c init.c -o init.o In file included from ../slap.h:39, from back-mdb.h:21, from init.c:25: ../../../include/ac/socket.h:101: warning: "EWOULDBLOCK" redefined 101 | #define EWOULDBLOCK WSAEWOULDBLOCK | In file included from ../../../include/ac/errno.h:21, from init.c:23: C:/msys64/mingw64/x86_64-w64-mingw32/include/errno.h:166: note: this is the location of the previous definition 166 | #define EWOULDBLOCK 140 | In file included from ../slap.h:39, from back-mdb.h:21, from init.c:25: ../../../include/ac/socket.h:102: warning: "EINPROGRESS" redefined 102 | #define EINPROGRESS WSAEINPROGRESS | In file included from ../../../include/ac/errno.h:21, from init.c:23: C:/msys64/mingw64/x86_64-w64-mingw32/include/errno.h:158: note: this is the location of the previous definition 158 | #define EINPROGRESS 112 | In file included from ../slap.h:39, from back-mdb.h:21, from init.c:25: ../../../include/ac/socket.h:103: warning: "ETIMEDOUT" redefined 103 | #define ETIMEDOUT WSAETIMEDOUT | In file included from ../../../include/ac/errno.h:21, from init.c:23: C:/msys64/mingw64/x86_64-w64-mingw32/include/errno.h:223: note: this is the location of the previous definition 223 | #define ETIMEDOUT 138 | In file included from init.c:25: back-mdb.h:71:2: error: unknown type name 'uint32_t' 71 | uint32_t mi_dbenv_flags; | ^~~~~~~~ back-mdb.h:85:2: error: unknown type name 'uint32_t' 85 | uint32_t mi_rtxn_size; | ^~~~~~~~ back-mdb.h:87:2: error: unknown type name 'uint32_t' 87 | uint32_t mi_txn_cp_min; | ^~~~~~~~ back-mdb.h:88:2: error: unknown type name 'uint32_t' 88 | uint32_t mi_txn_cp_kbyte; | ^~~~~~~~ init.c: In function 'mdb_db_open': init.c:90:2: error: unknown type name 'uint32_t'; did you mean 'wint_t'? 90 | uint32_t flags; | ^~~~~~~~ | wint_t make[3]: *** [Makefile:343: init.lo] Error 1