Hi,
I am trying to cross compile openldap-2.4.26 using the following command for MIPS.

./configure --host=mips CC=/opt/montavista/pro/devkit/mips/fp_be/bin/mips_fp_be-gcc LD=/opt/montavista/pro/devkit/mips/fp_be/bin/mips_fp_be-ld LDFLAGS=-Bshareable CPPFLAGS="-I/product/wibro/premium/src/APP/Protocols/ASNGW/vijay/db-4.8.26/build_unix" AR=/opt/montavista/pro/devkit/mips/fp_be/bin/mips_fp_be-ar RANLIB=/opt/montavista/pro/devkit/mips/fp_be/bin/mips_fp_be-ranlib NM=/opt/montavista/pro/devkit/mips/fp_be/bin/mips_fp_be-nm STRIP=/opt/montavista/pro/devkit/mips/fp_be/bin/mips_fp_be-strip OBJDUMP=/opt/montavista/pro/devkit/mips/fp_be/bin/mips_fp_be-objdump --enable-dynamic=yes AS=/opt/montavista/pro/devkit/mips/fp_be/bin/mips_fp_be-as --enable-shared=yes --with-yielding_select=no

The configuration and make is going well, but at the end it is not creating the required dynamic libraries.only static libraries are getting created. 

I have observed the following points during configuration

checking whether a program can dlopen itself... cross
checking if libtool supports shared libraries... no
checking whether to build shared libraries... no
checking whether to build static libraries... yes

I tried to enable dynamic library creation by giving option --enable-shared=yes. But it didn't work out.

please help me how can i solve this problem.

Thanks & Regards,
Vijay S.


Treat yourself at a restaurant, spa, resort and much more with Rediff Deal ho jaye!