Issue 8827 - lmdb from master fails to build with Visual Studio 2015.
Summary: lmdb from master fails to build with Visual Studio 2015.
Status: VERIFIED FIXED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: slapd (show other issues)
Version: unspecified
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-29 19:28 UTC by rion4ik@gmail.com
Modified: 2018-09-10 18:08 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description rion4ik@gmail.com 2018-03-29 19:28:24 UTC
Full_Name: Sergey Ilinykh
Version: master
OS: Windows
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (194.60.247.123)


I proposed a fix which works for me here in a comment
https://github.com/LMDB/lmdb/commit/e85ae1fe883b4847f07cfebc2630636d06e429c3

I can't provide logs right now, but it seems developers do not care anyway.
So just to let you know.
Comment 1 rion4ik@gmail.com 2018-03-29 20:20:26 UTC
logs:

c:\src\lmdb\libraries\liblmdb\mdb.c(55): error C2059: syntax error: '('
1>c:\src\lmdb\libraries\liblmdb\mdb.c(61): error C2143: syntax error:
missing '{' before '*'
1>c:\src\lmdb\libraries\liblmdb\mdb.c(68): error C2059: syntax error: '('
1>c:\src\lmdb\libraries\liblmdb\mdb.c(75): error C2143: syntax error:
missing '{' before '*'
1>c:\src\lmdb\libraries\liblmdb\mdb.c(77): error C2059: syntax error: '('
1>c:\src\lmdb\libraries\liblmdb\mdb.c(79): error C2143: syntax error:
missing '{' before '*'
1>c:\src\lmdb\libraries\liblmdb\mdb.c(4339): error C2063:
'NtCreateSection': not a function
1>c:\src\lmdb\libraries\liblmdb\mdb.c(4346): error C2063:
'NtMapViewOfSection': not a function
1>c:\src\lmdb\libraries\liblmdb\mdb.c(4350): error C2063: 'NtClose': not a
function
1>c:\src\lmdb\libraries\liblmdb\mdb.c(4704): error C2065: 'NtCloseFunc':
undeclared identifier
1>c:\src\lmdb\libraries\liblmdb\mdb.c(4704): error C2059: syntax error: ')'
1>c:\src\lmdb\libraries\liblmdb\mdb.c(4707): error C2065:
'NtMapViewOfSectionFunc': undeclared identifier
1>c:\src\lmdb\libraries\liblmdb\mdb.c(4707): error C2059: syntax error: ')'
1>c:\src\lmdb\libraries\liblmdb\mdb.c(4710): error C2065:
'NtCreateSectionFunc': undeclared identifier
1>c:\src\lmdb\libraries\liblmdb\mdb.c(4710): error C2059: syntax error: ')'
1>c:\src\lmdb\libraries\liblmdb\mdb.c(8314): warning C4333: '>>': right
shift by too large amount, data los

PS github's bug tracker is much more user-friendly, it even has command
line interface for old-school guys. Why do you use this mail-based crap?

Best Regards,
Sergey
Comment 2 Quanah Gibson-Mount 2018-03-29 21:29:28 UTC
--On Thursday, March 29, 2018 9:20 PM +0000 rion4ik@gmail.com wrote:

> Why do you use this mail-based crap?

We won't be for much longer: 
<http://www.openldap.org/lists/openldap-devel/201801/msg00017.html>

There are valid reasons to avoid Github.

--Quanah

--

Quanah Gibson-Mount
Product Architect
Symas Corporation
Packaged, certified, and supported LDAP solutions powered by OpenLDAP:
<http://www.symas.com>


Comment 3 Howard Chu 2018-09-10 18:08:31 UTC
changed state Open to Closed