[Date Prev][Date Next] [Chronological] [Thread] [Top]

(ITS#8127) 32 bit windows build fails with mingw

Full_Name: Frank Offermanns
Version: 2.4.40
OS: Windows
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (

Build fails for 32 bit  msys/mingw (and config --prefix=/mingw
--enable-accesslog --with-tls --enable-syncprov)
Probably only 32 bit windows build has this error. 

slapadd.o: In function `getrec0':
C:/msys/1.0/openldap-2.4.41Git/servers/slapd/slapadd.c:116: undefined reference
to `ftello'
slapadd.o: In function `slapadd':
C:/msys/1.0/openldap-2.4.41Git/servers/slapd/slapadd.c:486: undefined reference
to `ftello'
libbackends.a(mdbmdb.o): In function `mdb_cursor_push':
db/mdb.c:5001: undefined reference to `GetFileSizeEx'
collect2: ld returned 1 exit status
make[2]: *** [slapd.exp] Error 1
make[2]: Leaving directory `/openldap-2.4.41Git/servers/slapd'
make[1]: *** [all-common] Error 1
make[1]: Leaving directory `/openldap-2.4.41Git/servers'
make: *** [all-common] Error 1