Hi all,

I successfully build OpenSSL x64 (mingw64) and OpenLDAP x86 (mingw32) on a Win7 
x64 platform. But building 64-bit-OpenLDAP (v2.4.23) seems to be a bit 
complicated.

This is my configuration:

./configure --target=x86_64 --with-tls --disable-slapd --disable-slurpd 
--disable-backends --prefix=/mingw64/openldap --sysconfdir=/mingw64/openldap

It runs without errors, but 'make depend' or 'make' gives me the following 
output with depend-common error in liblunicode:

-----------------------
Making depend in /mingw64/tmp/openldap-2.4.23
  Entering subdirectory include
make[1]: Entering directory `/mingw64/tmp/openldap-2.4.23/include'
Making ldap_config.h
make[1]: Leaving directory `/mingw64/tmp/openldap-2.4.23/include'

  Entering subdirectory libraries
make[1]: Entering directory `/mingw64/tmp/openldap-2.4.23/libraries'
Making depend in /mingw64/tmp/openldap-2.4.23/libraries
  Entering subdirectory liblutil
make[2]: Entering directory `/mingw64/tmp/openldap-2.4.23/libraries/liblutil'
../../build/mkdep  -d "." -c "gcc" -m "-M" -I../../include        
-I../../include      base64.c entropy.c sasl.c signal.
c hash.c passfile.c md5.c passwd.c sha1.c getpass.c lockf.c utils.c uuid.c 
sockpair.c avl.c tavl.c ldif.c fetch.c testav
l.c meter.c setproctitle.c getpeereid.c ntservice.c
make[2]: Leaving directory `/mingw64/tmp/openldap-2.4.23/libraries/liblutil'

  Entering subdirectory liblber
make[2]: Entering directory `/mingw64/tmp/openldap-2.4.23/libraries/liblber'
../../build/mkdep -l -d "." -c "gcc" -m "-M" -I../../include -I../../include    
  assert.c decode.c encode.c io.c bprint
.c debug.c memory.c options.c sockbuf.c nt_err.c
make[2]: Leaving directory `/mingw64/tmp/openldap-2.4.23/libraries/liblber'

  Entering subdirectory liblunicode
make[2]: Entering directory `/mingw64/tmp/openldap-2.4.23/libraries/liblunicode'
FIND: Invalid paramter format
shtool:mkln:Error: invalid number of arguments (at least 2 expected)
shtool:mkln:Hint:  run `../../build/shtool mkln -h' or `man shtool' for details
FIND: Invalid paramter format
shtool:mkln:Error: invalid number of arguments (at least 2 expected)
shtool:mkln:Hint:  run `../../build/shtool mkln -h' or `man shtool' for details
FIND: Invalid paramter format
shtool:mkln:Error: invalid number of arguments (at least 2 expected)
shtool:mkln:Hint:  run `../../build/shtool mkln -h' or `man shtool' for details
FIND: Invalid paramter format
shtool:mkln:Error: invalid number of arguments (at least 2 expected)
shtool:mkln:Hint:  run `../../build/shtool mkln -h' or `man shtool' for details
FIND: Parameterformat falsch
shtool:mkln:Error: invalid number of arguments (at least 2 expected)
shtool:mkln:Hint:  run `../../build/shtool mkln -h' or `man shtool' for details
FIND: Invalid paramter format
shtool:mkln:Error: invalid number of arguments (at least 2 expected)
shtool:mkln:Hint:  run `../../build/shtool mkln -h' or `man shtool' for details
FIND: Invalid paramter format
shtool:mkln:Error: invalid number of arguments (at least 2 expected)
shtool:mkln:Hint:  run `../../build/shtool mkln -h' or `man shtool' for details
make[2]: *** [.links] Error 1
make[2]: Leaving directory `/mingw64/tmp/openldap-2.4.23/libraries/liblunicode'
make[1]: *** [depend-common] Error 1
make[1]: Leaving directory `/mingw64/tmp/openldap-2.4.23/libraries'
make: *** [depend-common] Error 1
---------------------

If I run the following lines for liblunicode the library is built:

../../build/mkdep -d "." -c "gcc" -m "-M" -I../../include ucstr.c 
/ucdata/ucdata.c /ucdata/ucgendat.c /ure/ure.c /ure/urestubs.c

gcc -g -O2 -I../../include -I../../include -c -o ucdata.o ucdata.c
gcc -g -O2 -I../../include -I../../include -c -o ure.o ure.c
gcc -g -O2 -I../../include -I../../include -c -o urestubs.o urestubs.c
gcc -g -O2 -I../../include -I../../include -c -o ucstr.o ucstr.c
gcc -g -O2 -I../../include -I../../include -c -o version.o version.c

ar ru liblunicode.a ucdata.o ure.o urestubs.o ucstr.o version.o



-- 
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to