On Thu, 8 Sep 2011, vijay s sheelavantar wrote:
/bin/sh ../../libtool --mode=compile /opt/montavista/pro/devkit/mips/fp_be/bin/mips_fp_be-gcc -g -O2 -I../../include -I../../include -I/product/wibro/premium/src/APP/Protocols/ASNGW/vijay/db-4.8.26/build_unix -DLBER_LIBRARY -c version.c /opt/montavista/pro/devkit/mips/fp_be/bin/mips_fp_be-gcc -g -O2 -I../../include -I../../include -I/product/wibro/premium/src/APP/Protocols/ASNGW/vijay/db-4.8.26/build_unix -DLBER_LIBRARY -c version.c -o version.o
[eventually runs]
ranlib .libs/liblber.a
[resulting in]
./.libs/liblber.a: could not read symbols: Archive has no index; run ranlib to add one
Perhaps you need to clue in autoconf that ranlib should be something along the lines of "mips_fp_be-ranlib" instead? (And same for "ar" and the rest of the build chain...I didn't see a prefix on a few of those lines...)