I have removed the "-I/usr/include" and added "-I/opt/montavista/pro/devkit/mips/fp_be/include" in the configuration command. The command and options used for configuration is as follows. ./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 CFLAGS="-g -O2 -I/opt/montavista/pro/devkit/mips/fp_be/include" LDFLAGS=-Bsharable --prefix=/mips/ldap --with-yielding_select=no
The error which i got is configure: error: BerkeleyDB version incompatible with BDB/HDB backends The erros observed in the config.log files are as follows. conftest.c:29:36: __FOO__/generate_error.h: No such file or directoryconfigure:12289: $? = 1configure: failed program was:| /* confdefs.h */| #define PACKAGE_NAME "" conftest.c:30:38: __ASCII__/generate_error.h: No such file or directory configure:14968: result: noconfigure:14992: checking to see if -lrpcrt4 is needed for win32 UUID supportconfigure:15013: /opt/montavista/pro/devkit/mips/fp_be/bin/mips_fp_be-gcc -o conftest -g -O2 -I/opt/montavista/pro/devkit/mips/fp_be/include -Bsharable conftest.c -lrpcrt4 >&5conftest.c:88: error: parse error before "UuidCreate"conftest.c:88: warning: data definition has no type or storage classconftest.c:89: error: parse error before "UuidToStringA"conftest.c:89: warning: data definition has no type or storage classconfigure:15013: $? = 1configure: failed program was:| /* confdefs.h */ configure:19126: checking for pthread_rwlock_destroy with <pthread.h>configure:19146: /opt/montavista/pro/devkit/mips/fp_be/bin/mips_fp_be-gcc -o conftest -g -O2 -I/opt/montavista/pro/devkit/mips/fp_be/include -Bsharable conftest.c -pthread -lresolv >&5conftest.c:106: error: parse error before "rwlock"conftest.c:106: warning: data definition has no type or storage class conftest.c:125: error: too many arguments to function `ctime_r'conftest.c:133: error: too few arguments to function `gethostbyname_r'conftest.c:136: error: too few arguments to function `gethostbyaddr_r' configure:20250: checking for db.hconfigure:20250: result: yesconfigure:20261: checking for Berkeley DB major version in db.hconfigure:20281: result: 3configure:20287: checking for Berkeley DB minor version in db.hconfigure:20307: result: 2configure:20313: checking if Berkeley DB version supported by BDB/HDB backendsconfigure:20349: result: noconfigure:20354: error: BerkeleyDB version incompatible with BDB/HDB backends
I am not getting what is the exact problem. :(
openldap-technical@openldap.org