--On Friday, September 16, 2011 11:14 AM +0000 vijay s sheelavantar s_vijay65@rediffmail.com wrote:
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.2 6/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.
Read the generated config.log file and see why it failed.
--Quanah
--
Quanah Gibson-Mount Sr. Member of Technical Staff Zimbra, Inc A Division of VMware, Inc. -------------------- Zimbra :: the leader in open source messaging and collaboration