OpenLDAP
Up to top level
Build   Contrib   Development   Documentation   Historical   Incoming   Software Bugs   Software Enhancements   Web  

Logged in as guest

Viewing Incoming/7878
Full headers

From: ron@zytrax.com
Subject: OpenLDAP MinGW Build Problem
Compose comment
Download message
State:
0 replies:
2 followups: 1 2

Major security issue: yes  no

Notes:

Notification:


Date: Fri, 20 Jun 2014 20:44:42 +0000
From: ron@zytrax.com
To: openldap-its@OpenLDAP.org
Subject: OpenLDAP MinGW Build Problem
Full_Name: Ron Aitchison
Version: 2.4.39
OS: Windows 7/MinGW-w64/MSYS
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (67.230.141.32)


Checked the build error reports before submitting
Building OpenLDAP 2.4.39 under MinGW-w64 (Win32 chain) and MSYS
Configure command
./configure --prefix=/target LIBS='-lpcre -lgdi32 -lpthread' --enable-overlays
--disable-shared CPPFLAGS='-I/target/include' LDFLAGS='-L/target/lib'
make depend - works
make - fails with undefined uint32_t in /servers/slapd/back-mdm/init.c
Since this works on standard systems it is clearly some artifact of MinGW and/or
configure arguments. Fixed by adding #include <stdint.h> in
/servers/slapd/back-mdm/back-mdm.h. Make then ran to completion and slapd
loaded. Since stdint.h is 'double include' safe there is probably no down-side
to this quick fix.

Followup 1

Download message
Date: Mon, 23 Jun 2014 08:25:38 -0700
From: Howard Chu <hyc@symas.com>
To: ron@zytrax.com, openldap-its@OpenLDAP.org
Subject: Re: (ITS#7878) OpenLDAP MinGW Build Problem
ron@zytrax.com wrote:
> Full_Name: Ron Aitchison
> Version: 2.4.39
> OS: Windows 7/MinGW-w64/MSYS
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (67.230.141.32)
>
>
> Checked the build error reports before submitting
> Building OpenLDAP 2.4.39 under MinGW-w64 (Win32 chain) and MSYS
> Configure command
> ./configure --prefix=/target LIBS='-lpcre -lgdi32 -lpthread'
--enable-overlays
> --disable-shared CPPFLAGS='-I/target/include' LDFLAGS='-L/target/lib'
> make depend - works
> make - fails with undefined uint32_t in /servers/slapd/back-mdm/init.c
> Since this works on standard systems it is clearly some artifact of MinGW
and/or
> configure arguments. Fixed by adding #include <stdint.h> in
> /servers/slapd/back-mdm/back-mdm.h. Make then ran to completion and slapd
> loaded. Since stdint.h is 'double include' safe there is probably no
down-side
> to this quick fix.

What version of MSYS/Mingw64 are you using? It builds cleanly for me here and 
has done so for years.

-- 
   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/



Followup 2

Download message
Date: Thu, 26 Jun 2014 20:45:36 -0400
From: Ron Aitchison <ron@zytrax.com>
To: openldap-its@OpenLDAP.org
Subject: Re: (ITS#7878) OpenLDAP MinGW Build Problem
Additional Information re ITS#7878 omitted from original report:
The build did not (correctly) auto-detect either Openssl or SASL which 
may make it a pretty unusual build case.
On 20/06/2014 4:44 PM, openldap-its@OpenLDAP.org wrote:
> *** THIS IS AN AUTOMATICALLY GENERATED REPLY ***
>
> Thanks for your report to the OpenLDAP Issue Tracking System.  Your
> report has been assigned the tracking number ITS#7878.
>
> One of our support engineers will look at your report in due course.
> Note that this may take some time because our support engineers
> are volunteers.  They only work on OpenLDAP when they have spare
> time.
>
> If you need to provide additional information in regards to your
> issue report, you may do so by replying to this message.  Note that
> any mail sent to openldap-its@openldap.org with (ITS#7878)
> in the subject will automatically be attached to the issue report.
>
> 	mailto:openldap-its@openldap.org?subject=(ITS#7878)
>
> You may follow the progress of this report by loading the following
> URL in a web browser:
>      http://www.OpenLDAP.org/its/index.cgi?findid=7878
>
> Please remember to retain your issue tracking number (ITS#7878)
> on any further messages you send to us regarding this report.  If
> you don't then you'll just waste our time and yours because we
> won't be able to properly track the report.
>
> Please note that the Issue Tracking System is not intended to
> be used to seek help in the proper use of OpenLDAP Software.
> Such requests will be closed.
>
> OpenLDAP Software is user supported.
> 	http://www.OpenLDAP.org/support/
>
> --------------
> Copyright 1998-2007 The OpenLDAP Foundation, All Rights Reserved.
>
>

-- 
Ron Aitchison                      www.zytrax.com
ZYTRAX                             ron@zytrax.com
                                    tel: 514-315-4296
                                    Suite 22
                                    6201 Chemin Cote St. Luc
                                    Hampstead QC H3X 2H2 Canada
Author: Pro DNS and BIND (Apress) ISBN 1-59059-494-0


Up to top level
Build   Contrib   Development   Documentation   Historical   Incoming   Software Bugs   Software Enhancements   Web  

Logged in as guest


The OpenLDAP Issue Tracking System uses a hacked version of JitterBug

______________
© Copyright 2013, OpenLDAP Foundation, info@OpenLDAP.org