[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: (ITS#8127) 32 bit windows build fails with mingw
- To: openldap-its@OpenLDAP.org
- Subject: Re: (ITS#8127) 32 bit windows build fails with mingw
- From: hyc@symas.com
- Date: Thu, 07 May 2015 13:38:56 +0000
- Auto-submitted: auto-generated (OpenLDAP-ITS)
ebackes@symas.com wrote:
> Hello, Frank.
>
>> thanks for your patch. But since I am compilling 32 Bit, it doesn't work.
>> I modified your patch to
>> #define ftello ftell
>> Then it works.
>
> Hm; that should work on 32bit windows. (it does for me!)
As I already noted, ftelli64's availability depends on the version of the
MSVCRT DLL on the system. Frank's MinGW is apparently too old to contain the
ftelli64 symbol in the libmsvcrt import library.
> Using
> ftell() will limit you to 2GB files. Then again, that particular case
> is only for proress-reporting. If your LDIF to be slapadd'd is less
> than 2GB, it won't matter.
>
>> But I still have the GetFileSizeEx problem.
>> I use MinGW-5.1.6 and here is my installed.ini:
>
> I'll have to try that. In the mean time, I've had more success
> building with the version from winbuilds.org.
Always quote specific version numbers.
The MSYS I use is
MINGW32_NT-6.1 VIEL64 1.0.17(0.48/3/2) 2011-04-24 23:39 i686 Msys
I'm using MinGW from mingw-w64 (builds both 32 and 64 bit binaries) version
1.0.8.
http://sourceforge.net/projects/mingw-w64/files/mingw-w64/mingw-w64-release/
--
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/