[Date Prev][Date Next]
(ITS#7878) OpenLDAP MinGW Build Problem
Full_Name: Ron Aitchison
OS: Windows 7/MinGW-w64/MSYS
Submission from: (NULL) (126.96.36.199)
Checked the build error reports before submitting
Building OpenLDAP 2.4.39 under MinGW-w64 (Win32 chain) and MSYS
./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.