(Answer) (Category) OpenLDAP Faq-O-Matic : (Category) OpenLDAP Developer's FAQ : (Answer) I am trying to build openldap-2.4.33 client library for android, who can tell me how to set parameters for "./configure".Thanks
who can help me...
I used the following commandline, but the libldap*.so files can't meet my requirement. For example, I used "readelf -e liblidap.so", I found the "Machine" field was "Intel 80386", not arm. Who can tell me why? many thanks
 ./configure --disable-slapd CC=gcc --prefix=/compile/android-ndk-r6/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/arm-linux-androideabi/bin --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=arm-linux-androideabi
make depend
make
Try this:
./configure --prefix=${LDAP_OUTPUT_DIR} --host=arm-linux-androideabi --build=x86_64-unknown-linux-gnu --with-yielding_select=yes
[Append to This Answer]
ouyangguang@huawei.com, mackeyme9@gmail.com
Previous: (Answer) New Item
This document is: http://www.openldap.org/faq/index.cgi?file=1540
[Search] [Appearance]
This is a Faq-O-Matic 2.721.test.
© Copyright 1998-2013, OpenLDAP Foundation, info@OpenLDAP.org