[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Re: Errors building Current Git Version with windows
- To: Howard Chu <hyc@symas.com>
- Subject: Re: Re: Errors building Current Git Version with windows
- From: Frank Offermanns <Frank.Offermanns@caseris.de>
- Date: Mon, 2 Feb 2015 09:55:06 +0100
- Cc: openldap-technical@openldap.org
- In-reply-to: <54CB8E78.9090206@symas.com>
- References: <OFC4C61A73.6FCEA1DC-ONC1257DDD.004943A1-C1257DDD.0049AB53@caseris.de> <54CB8E78.9090206@symas.com>
Hello Howard,
thank you for your reply.
I use mingw32 and produce 32 bit binaries.
Is it possible that you build/test 64
bit binaries, and that maybe a preprocessor definition for 32 bit is different
from 64 bit?
Regards,
Frank
Von:
Howard Chu <hyc@symas.com>
An:
Frank Offermanns <Frank.Offermanns@caseris.de>,
openldap-technical@openldap.org,
Datum:
30.01.2015 15:00
Betreff:
Re: Errors building
Current Git Version with windows
Frank Offermanns wrote:
> Hello,
>
> when building the current GIT Version 2.4.40 with Windows and MinGW/MSYS
> I get 3 errors:
> C:/msys/1.0/openldap-2.4.40git/servers/slapd/slapadd.c:116: undefined
> reference
> to `ftello'
> slapadd.o: In function `slapadd':
> C:/msys/1.0/openldap-2.4.40git/servers/slapd/slapadd.c:486: undefined
> reference
> to `ftello'
Probably you should compile with -Dftello=__ftelli64
I'm a bit surprised, since my MSYS install already does this.
> libbackends.a(mdbmdb.o): In function `mdb_cursor_push':
> C:/msys/1.0/openldap-2.4.40git/servers/slapd/back-mdb/./../../../libraries/liblm
>
> db/mdb.c:4990: undefined reference to `GetFileSizeEx'
According to MSDN this function is available since WindowsXP
https://msdn.microsoft.com/en-us/library/windows/desktop/aa364957%28v=vs.85%29.aspx
again, builds perfectly fine for me.
> collect2: ld returned 1 exit status
> make[2]: *** [slapd.exp] Error 1
>
> Configure was:
> configure --prefix=/mingw --enable-accesslog --with-tls --enable-syncprov
>
> Regards,
> Frank
--
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/