I have set CC=gcc and CFLAGS=-lsocket. Tried setting with CC as "gcc -ansi" but the issue persists. Here is the config.log file: This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by configure, which was generated by GNU Autoconf 2.59. Invocation command line was $ ./configure --with-cyrus-sasl --enable-bdb ## --------- ## ## Platform. ## ## --------- ## hostname = sunert1 uname -m = sun4u uname -r = 5.9 uname -s = SunOS uname -v = Generic_118558-14 /usr/bin/uname -p = sparc /bin/uname -X = System = SunOS Node = sunert1 Release = 5.9 KernelID = Generic_118558-14 Machine = sun4u BusType = <unknown> Serial = <unknown> Users = <unknown> OEM# = 0 Origin# = 1 NumCPU = 1 /bin/arch = sun4 /usr/bin/arch -k = sun4u /usr/convex/getsysinfo = unknown hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /usr/sbin PATH: /usr/bin PATH: /usr/ccs/bin PATH: /usr/local/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:1615: checking build system type configure:1633: result: sparc-sun-solaris2.9 configure:1641: checking host system type configure:1655: result: sparc-sun-solaris2.9 configure:1663: checking target system type configure:1677: result: sparc-sun-solaris2.9 configure:1706: checking for a BSD-compatible install configure:1761: result: build/shtool install -c configure:1772: checking whether build environment is sane configure:1815: result: yes configure:1880: checking for gawk configure:1909: result: no configure:1880: checking for mawk configure:1909: result: no configure:1880: checking for nawk configure:1896: found /usr/bin/nawk configure:1906: result: nawk configure:1916: checking whether make sets $(MAKE) configure:1936: result: yes configure:2145: checking configure arguments configure:3843: result: done configure:4059: checking for ar configure:4075: found /usr/ccs/bin/ar configure:4085: result: ar configure:4144: checking for style of include used by make configure:4172: result: GNU configure:4243: checking for gcc configure:4269: result: gcc configure:4513: checking for C compiler version configure:4516: gcc --version </dev/null >&5 2.95.2 configure:4519: $? = 0 configure:4521: gcc -v </dev/null >&5 Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.9/2.95.2/specs gcc version 2.95.2 19991024 (release) configure:4524: $? = 0 configure:4526: gcc -V </dev/null >&5 gcc: argument to `-V' is missing configure:4529: $? = 1 configure:4552: checking for C compiler default output file name configure:4555: gcc -lsocket -I/usr/local/include -I/usr/include -I/usr/local/BerkeleyDB.4.4/include -I/usr/local/ssl/include -L/usr/local/ssl/lib -L/usr/local/BerkeleyDB.4.4/lib -L/usr/lib -L/usr/local/lib -R/usr/local/ssl/lib -R/usr/local/BerkeleyDB.4.4/lib -R/usr/lib -R/usr/local/lib conftest.c -lresolv -lsocket -lnsl -ldb >&5 configure:4558: $? = 0 configure:4604: result: a.out configure:4609: checking whether the C compiler works configure:4615: ./a.out configure:4618: $? = 0 configure:4635: result: yes configure:4642: checking whether we are cross compiling configure:4644: result: no configure:4647: checking for suffix of executables configure:4649: gcc -o conftest -lsocket -I/usr/local/include -I/usr/include -I/usr/local/BerkeleyDB.4.4/include -I/usr/local/ssl/include -L/usr/local/ssl/lib -L/usr/local/BerkeleyDB.4.4/lib -L/usr/lib -L/usr/local/lib -R/usr/local/ssl/lib -R/usr/local/BerkeleyDB.4.4/lib -R/usr/lib -R/usr/local/lib conftest.c -lresolv -lsocket -lnsl -ldb >&5 configure:4652: $? = 0 configure:4677: result: configure:4683: checking for suffix of object files configure:4704: gcc -c -lsocket -I/usr/local/include -I/usr/include -I/usr/local/BerkeleyDB.4.4/include -I/usr/local/ssl/include conftest.c >&5 gcc: -lsocket: linker input file unused since linking not done configure:4707: $? = 0 configure:4729: result: o configure:4733: checking whether we are using the GNU C compiler configure:4757: gcc -c -lsocket -I/usr/local/include -I/usr/include -I/usr/local/BerkeleyDB.4.4/include -I/usr/local/ssl/include conftest.c >&5 gcc: -lsocket: linker input file unused since linking not done configure:4763: $? = 0 configure:4767: test -z || test ! -s conftest.err configure:4770: $? = 0 configure:4773: test -s conftest.o configure:4776: $? = 0 configure:4789: result: yes configure:4795: checking whether gcc accepts -g configure:4816: gcc -c -g -I/usr/local/include -I/usr/include -I/usr/local/BerkeleyDB.4.4/include -I/usr/local/ssl/include conftest.c >&5 configure:4822: $? = 0 configure:4826: test -z || test ! -s conftest.err configure:4829: $? = 0 configure:4832: test -s conftest.o configure:4835: $? = 0 configure:4846: result: yes configure:4863: checking for gcc option to accept ANSI C configure:4933: gcc -c -lsocket -I/usr/local/include -I/usr/include -I/usr/local/BerkeleyDB.4.4/include -I/usr/local/ssl/include conftest.c >&5 conftest.c: In function `f': conftest.c:33: `__builtin_va_alist' undeclared (first use in this function) conftest.c:33: (Each undeclared identifier is reported only once conftest.c:33: for each function it appears in.) configure:4939: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define OPENLDAP_PACKAGE "OpenLDAP" | #define OPENLDAP_VERSION "2.3.27" | #define LDAP_VENDOR_VERSION 20327 | #define LDAP_VENDOR_VERSION_MAJOR 2 | #define LDAP_VENDOR_VERSION_MINOR 3 | #define LDAP_VENDOR_VERSION_PATCH 27 | #define HAVE_MKVERSION 1 | /* end confdefs.h. */ | #include <stdarg.h> | #include <stdio.h> | #include <sys/types.h> | #include <sys/stat.h> | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | struct buf { int x; }; | FILE * (*rcsopen) (struct buf *, struct stat *, int); | static char *e (p, i) | char **p; | int i; | { | return p[i]; | } | static char *f (char * (*g) (char **, int), char **p, ...) | { | char *s; | va_list v; | va_start (v,p); | s = g (p, va_arg (v,int)); | va_end (v); | return s; | } | | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | function prototypes and stuff, but not '\xHH' hex character constants. | These don't provoke an error unfortunately, instead are silently treated | as 'x'. The following induces an error, until -std1 is added to get | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an | array size at least. It's necessary to write '\x00'==0 to get something | that's true only with -std1. */ | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | | int test (int i, double x); | struct s1 {int (*f) (int a);}; | struct s2 {int (*f) (double a);}; | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | int argc; | char **argv; | int | main () | { | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | ; | return 0; | } configure:4933: gcc -qlanglvl=ansi -c -lsocket -I/usr/local/include -I/usr/include -I/usr/local/BerkeleyDB.4.4/include -I/usr/local/ssl/include conftest.c >&5 gcc: unrecognized option `-qlanglvl=ansi' conftest.c: In function `f': conftest.c:33: `__builtin_va_alist' undeclared (first use in this function) conftest.c:33: (Each undeclared identifier is reported only once conftest.c:33: for each function it appears in.) configure:4939: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define OPENLDAP_PACKAGE "OpenLDAP" | #define OPENLDAP_VERSION "2.3.27" | #define LDAP_VENDOR_VERSION 20327 | #define LDAP_VENDOR_VERSION_MAJOR 2 | #define LDAP_VENDOR_VERSION_MINOR 3 | #define LDAP_VENDOR_VERSION_PATCH 27 | #define HAVE_MKVERSION 1 | /* end confdefs.h. */ | #include <stdarg.h> | #include <stdio.h> | #include <sys/types.h> | #include <sys/stat.h> | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | struct buf { int x; }; | FILE * (*rcsopen) (struct buf *, struct stat *, int); | static char *e (p, i) | char **p; | int i; | { | return p[i]; | } | static char *f (char * (*g) (char **, int), char **p, ...) | { | char *s; | va_list v; | va_start (v,p); | s = g (p, va_arg (v,int)); | va_end (v); | return s; | } | | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | function prototypes and stuff, but not '\xHH' hex character constants. | These don't provoke an error unfortunately, instead are silently treated | as 'x'. The following induces an error, until -std1 is added to get | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an | array size at least. It's necessary to write '\x00'==0 to get something | that's true only with -std1. */ | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | | int test (int i, double x); | struct s1 {int (*f) (int a);}; | struct s2 {int (*f) (double a);}; | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | int argc; | char **argv; | int | main () | { | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | ; | return 0; | } configure:4933: gcc -std1 -c -lsocket -I/usr/local/include -I/usr/include -I/usr/local/BerkeleyDB.4.4/include -I/usr/local/ssl/include conftest.c >&5 cc1: Invalid option `-std1' conftest.c: In function `f': conftest.c:33: `__builtin_va_alist' undeclared (first use in this function) conftest.c:33: (Each undeclared identifier is reported only once conftest.c:33: for each function it appears in.) configure:4939: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define OPENLDAP_PACKAGE "OpenLDAP" | #define OPENLDAP_VERSION "2.3.27" | #define LDAP_VENDOR_VERSION 20327 | #define LDAP_VENDOR_VERSION_MAJOR 2 | #define LDAP_VENDOR_VERSION_MINOR 3 | #define LDAP_VENDOR_VERSION_PATCH 27 | #define HAVE_MKVERSION 1 | /* end confdefs.h. */ | #include <stdarg.h> | #include <stdio.h> | #include <sys/types.h> | #include <sys/stat.h> | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | struct buf { int x; }; | FILE * (*rcsopen) (struct buf *, struct stat *, int); | static char *e (p, i) | char **p; | int i; | { | return p[i]; | } | static char *f (char * (*g) (char **, int), char **p, ...) | { | char *s; | va_list v; | va_start (v,p); | s = g (p, va_arg (v,int)); | va_end (v); | return s; | } | | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | function prototypes and stuff, but not '\xHH' hex character constants. | These don't provoke an error unfortunately, instead are silently treated | as 'x'. The following induces an error, until -std1 is added to get | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an | array size at least. It's necessary to write '\x00'==0 to get something | that's true only with -std1. */ | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | | int test (int i, double x); | struct s1 {int (*f) (int a);}; | struct s2 {int (*f) (double a);}; | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | int argc; | char **argv; | int | main () | { | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | ; | return 0; | } configure:4933: gcc -Ae -c -lsocket -I/usr/local/include -I/usr/include -I/usr/local/BerkeleyDB.4.4/include -I/usr/local/ssl/include conftest.c >&5 *Initialization*:1: missing token-sequence in `#assert' configure:4939: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define OPENLDAP_PACKAGE "OpenLDAP" | #define OPENLDAP_VERSION "2.3.27" | #define LDAP_VENDOR_VERSION 20327 | #define LDAP_VENDOR_VERSION_MAJOR 2 | #define LDAP_VENDOR_VERSION_MINOR 3 | #define LDAP_VENDOR_VERSION_PATCH 27 | #define HAVE_MKVERSION 1 | /* end confdefs.h. */ | #include <stdarg.h> | #include <stdio.h> | #include <sys/types.h> | #include <sys/stat.h> | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | struct buf { int x; }; | FILE * (*rcsopen) (struct buf *, struct stat *, int); | static char *e (p, i) | char **p; | int i; | { | return p[i]; | } | static char *f (char * (*g) (char **, int), char **p, ...) | { | char *s; | va_list v; | va_start (v,p); | s = g (p, va_arg (v,int)); | va_end (v); | return s; | } | | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | function prototypes and stuff, but not '\xHH' hex character constants. | These don't provoke an error unfortunately, instead are silently treated | as 'x'. The following induces an error, until -std1 is added to get | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an | array size at least. It's necessary to write '\x00'==0 to get something | that's true only with -std1. */ | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | | int test (int i, double x); | struct s1 {int (*f) (int a);}; | struct s2 {int (*f) (double a);}; | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | int argc; | char **argv; | int | main () | { | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | ; | return 0; | } configure:4933: gcc -Aa -D_HPUX_SOURCE -c -lsocket -I/usr/local/include -I/usr/include -I/usr/local/BerkeleyDB.4.4/include -I/usr/local/ssl/include conftest.c >&5 *Initialization*:1: missing token-sequence in `#assert' configure:4939: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define OPENLDAP_PACKAGE "OpenLDAP" | #define OPENLDAP_VERSION "2.3.27" | #define LDAP_VENDOR_VERSION 20327 | #define LDAP_VENDOR_VERSION_MAJOR 2 | #define LDAP_VENDOR_VERSION_MINOR 3 | #define LDAP_VENDOR_VERSION_PATCH 27 | #define HAVE_MKVERSION 1 | /* end confdefs.h. */ | #include <stdarg.h> | #include <stdio.h> | #include <sys/types.h> | #include <sys/stat.h> | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | struct buf { int x; }; | FILE * (*rcsopen) (struct buf *, struct stat *, int); | static char *e (p, i) | char **p; | int i; | { | return p[i]; | } | static char *f (char * (*g) (char **, int), char **p, ...) | { | char *s; | va_list v; | va_start (v,p); | s = g (p, va_arg (v,int)); | va_end (v); | return s; | } | | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | function prototypes and stuff, but not '\xHH' hex character constants. | These don't provoke an error unfortunately, instead are silently treated | as 'x'. The following induces an error, until -std1 is added to get | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an | array size at least. It's necessary to write '\x00'==0 to get something | that's true only with -std1. */ | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | | int test (int i, double x); | struct s1 {int (*f) (int a);}; | struct s2 {int (*f) (double a);}; | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | int argc; | char **argv; | int | main () | { | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | ; | return 0; | } configure:4933: gcc -Xc -D__EXTENSIONS__ -c -lsocket -I/usr/local/include -I/usr/include -I/usr/local/BerkeleyDB.4.4/include -I/usr/local/ssl/include conftest.c >&5 gcc: unrecognized option `-Xc' conftest.c: In function `f': conftest.c:33: `__builtin_va_alist' undeclared (first use in this function) conftest.c:33: (Each undeclared identifier is reported only once conftest.c:33: for each function it appears in.) configure:4939: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define OPENLDAP_PACKAGE "OpenLDAP" | #define OPENLDAP_VERSION "2.3.27" | #define LDAP_VENDOR_VERSION 20327 | #define LDAP_VENDOR_VERSION_MAJOR 2 | #define LDAP_VENDOR_VERSION_MINOR 3 | #define LDAP_VENDOR_VERSION_PATCH 27 | #define HAVE_MKVERSION 1 | /* end confdefs.h. */ | #include <stdarg.h> | #include <stdio.h> | #include <sys/types.h> | #include <sys/stat.h> | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | struct buf { int x; }; | FILE * (*rcsopen) (struct buf *, struct stat *, int); | static char *e (p, i) | char **p; | int i; | { | return p[i]; | } | static char *f (char * (*g) (char **, int), char **p, ...) | { | char *s; | va_list v; | va_start (v,p); | s = g (p, va_arg (v,int)); | va_end (v); | return s; | } | | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | function prototypes and stuff, but not '\xHH' hex character constants. | These don't provoke an error unfortunately, instead are silently treated | as 'x'. The following induces an error, until -std1 is added to get | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an | array size at least. It's necessary to write '\x00'==0 to get something | that's true only with -std1. */ | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | | int test (int i, double x); | struct s1 {int (*f) (int a);}; | struct s2 {int (*f) (double a);}; | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | int argc; | char **argv; | int | main () | { | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | ; | return 0; | } configure:4970: result: none needed configure:4988: gcc -c -lsocket -I/usr/local/include -I/usr/include -I/usr/local/BerkeleyDB.4.4/include -I/usr/local/ssl/include conftest.c >&5 conftest.c:2: parse error before `me' configure:4994: $? = 1 configure: failed program was: | #ifndef __cplusplus | choke me | #endif configure:5129: checking dependency style of gcc configure:5219: result: none configure:5236: checking for a sed that does not truncate output configure:5290: result: /usr/bin/sed configure:5293: checking for egrep configure:5303: result: egrep configure:5319: checking for ld used by gcc configure:5386: result: /usr/ccs/bin/ld configure:5395: checking if the linker (/usr/ccs/bin/ld) is GNU ld configure:5410: result: no configure:5415: checking for /usr/ccs/bin/ld option to reload object files configure:5422: result: -r configure:5440: checking for BSD-compatible nm configure:5482: result: /usr/ccs/bin/nm -p configure:5486: checking whether ln -s works configure:5490: result: yes configure:5497: checking how to recognise dependent libraries configure:5669: result: pass_all configure:6125: checking how to run the C preprocessor configure:6160: gcc -E -I/usr/local/include -I/usr/include -I/usr/local/BerkeleyDB.4.4/include -I/usr/local/ssl/include conftest.c configure:6166: $? = 0 configure:6198: gcc -E -I/usr/local/include -I/usr/include -I/usr/local/BerkeleyDB.4.4/include -I/usr/local/ssl/include conftest.c conftest.c:16: ac_nonexistent.h: No such file or directory configure:6204: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define OPENLDAP_PACKAGE "OpenLDAP" | #define OPENLDAP_VERSION "2.3.27" | #define LDAP_VENDOR_VERSION 20327 | #define LDAP_VENDOR_VERSION_MAJOR 2 | #define LDAP_VENDOR_VERSION_MINOR 3 | #define LDAP_VENDOR_VERSION_PATCH 27 | #define HAVE_MKVERSION 1 | /* end confdefs.h. */ | #include <ac_nonexistent.h> configure:6243: result: gcc -E configure:6267: gcc -E -I/usr/local/include -I/usr/include -I/usr/local/BerkeleyDB.4.4/include -I/usr/local/ssl/include conftest.c configure:6273: $? = 0 configure:6305: gcc -E -I/usr/local/include -I/usr/include -I/usr/local/BerkeleyDB.4.4/include -I/usr/local/ssl/include conftest.c conftest.c:16: ac_nonexistent.h: No such file or directory configure:6311: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define OPENLDAP_PACKAGE "OpenLDAP" | #define OPENLDAP_VERSION "2.3.27" | #define LDAP_VENDOR_VERSION 20327 | #define LDAP_VENDOR_VERSION_MAJOR 2 | #define LDAP_VENDOR_VERSION_MINOR 3 | #define LDAP_VENDOR_VERSION_PATCH 27 | #define HAVE_MKVERSION 1 | /* end confdefs.h. */ | #include <ac_nonexistent.h> configure:6355: checking for ANSI C header files configure:6380: gcc -c -lsocket -I/usr/local/include -I/usr/include -I/usr/local/BerkeleyDB.4.4/include -I/usr/local/ssl/include conftest.c >&5 gcc: -lsocket: linker input file unused since linking not done configure:6386: $? = 0 configure:6390: test -z || test ! -s conftest.err configure:6393: $? = 0 configure:6396: test -s conftest.o configure:6399: $? = 0 configure:6485: gcc -o conftest -lsocket -I/usr/local/include -I/usr/include -I/usr/local/BerkeleyDB.4.4/include -I/usr/local/ssl/include -L/usr/local/ssl/lib -L/usr/local/BerkeleyDB.4.4/lib -L/usr/lib -L/usr/local/lib -R/usr/local/ssl/lib -R/usr/local/BerkeleyDB.4.4/lib -R/usr/lib -R/usr/local/lib conftest.c -lresolv -lsocket -lnsl -ldb >&5 configure:6488: $? = 0 configure:6490: ./conftest configure:6493: $? = 0 configure:6508: result: yes configure:6532: checking for sys/types.h configure:6548: gcc -c -lsocket -I/usr/local/include -I/usr/include -I/usr/local/BerkeleyDB.4.4/include -I/usr/local/ssl/include conftest.c >&5 gcc: -lsocket: linker input file unused since linking not done configure:6554: $? = 0 configure:6558: test -z || test ! -s conftest.err configure:6561: $? = 0 configure:6564: test -s conftest.o configure:6567: $? = 0 configure:6578: result: yes configure:6532: checking for sys/stat.h configure:6548: gcc -c -lsocket -I/usr/local/include -I/usr/include -I/usr/local/BerkeleyDB.4.4/include -I/usr/local/ssl/include conftest.c >&5 gcc: -lsocket: linker input file unused since linking not done configure:6554: $? = 0 configure:6558: test -z || test ! -s conftest.err configure:6561: $? = 0 configure:6564: test -s conftest.o configure:6567: $? = 0 configure:6578: result: yes configure:6532: checking for stdlib.h configure:6548: gcc -c -lsocket -I/usr/local/include -I/usr/include -I/usr/local/BerkeleyDB.4.4/include -I/usr/local/ssl/include conftest.c >&5 gcc: -lsocket: linker input file unused since linking not done configure:6554: $? = 0 configure:6558: test -z || test ! -s conftest.err configure:6561: $? = 0 configure:6564: test -s conftest.o configure:6567: $? = 0 configure:6578: result: yes configure:6532: checking for string.h configure:6548: gcc -c -lsocket -I/usr/local/include -I/usr/include -I/usr/local/BerkeleyDB.4.4/include -I/usr/local/ssl/include conftest.c >&5 gcc: -lsocket: linker input file unused since linking not done configure:6554: $? = 0 configure:6558: test -z || test ! -s conftest.err configure:6561: $? = 0 configure:6564: test -s conftest.o configure:6567: $? = 0 configure:6578: result: yes configure:6532: checking for memory.h configure:6548: gcc -c -lsocket -I/usr/local/include -I/usr/include -I/usr/local/BerkeleyDB.4.4/include -I/usr/local/ssl/include conftest.c >&5 gcc: -lsocket: linker input file unused since linking not done configure:6554: $? = 0 configure:6558: test -z || test ! -s conftest.err configure:6561: $? = 0 configure:6564: test -s conftest.o configure:6567: $? = 0 configure:6578: result: yes configure:6532: checking for strings.h configure:6548: gcc -c -lsocket -I/usr/local/include -I/usr/include -I/usr/local/BerkeleyDB.4.4/include -I/usr/local/ssl/include conftest.c >&5 gcc: -lsocket: linker input file unused since linking not done configure:6554: $? = 0 configure:6558: test -z || test ! -s conftest.err configure:6561: $? = 0 configure:6564: test -s conftest.o configure:6567: $? = 0 configure:6578: result: yes configure:6532: checking for inttypes.h configure:6548: gcc -c -lsocket -I/usr/local/include -I/usr/include -I/usr/local/BerkeleyDB.4.4/include -I/usr/local/ssl/include conftest.c >&5 gcc: -lsocket: linker input file unused since linking not done configure:6554: $? = 0 configure:6558: test -z || test ! -s conftest.err configure:6561: $? = 0 configure:6564: test -s conftest.o configure:6567: $? = 0 configure:6578: result: yes configure:6532: checking for stdint.h configure:6548: gcc -c -lsocket -I/usr/local/include -I/usr/include -I/usr/local/BerkeleyDB.4.4/include -I/usr/local/ssl/include conftest.c >&5 conftest.c:59: stdint.h: No such file or directory configure:6554: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define OPENLDAP_PACKAGE "OpenLDAP" | #define OPENLDAP_VERSION "2.3.27" | #define LDAP_VENDOR_VERSION 20327 | #define LDAP_VENDOR_VERSION_MAJOR 2 | #define LDAP_VENDOR_VERSION_MINOR 3 | #define LDAP_VENDOR_VERSION_PATCH 27 | #define HAVE_MKVERSION 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | /* end confdefs.h. */ | #include <stdio.h> | #if HAVE_SYS_TYPES_H | # include <sys/types.h> | #endif | #if HAVE_SYS_STAT_H | # include <sys/stat.h> | #endif | #if STDC_HEADERS | # include <stdlib.h> | # include <stddef.h> | #else | # if HAVE_STDLIB_H | # include <stdlib.h> | # endif | #endif | #if HAVE_STRING_H | # if !STDC_HEADERS && HAVE_MEMORY_H | # include <memory.h> | # endif | # include <string.h> | #endif | #if HAVE_STRINGS_H | # include <strings.h> | #endif | #if HAVE_INTTYPES_H | # include <inttypes.h> | #else | # if HAVE_STDINT_H | # include <stdint.h> | # endif | #endif | #if HAVE_UNISTD_H | # include <unistd.h> | #endif | | #include <stdint.h> configure:6578: result: no configure:6532: checking for unistd.h configure:6548: gcc -c -lsocket -I/usr/local/include -I/usr/include -I/usr/local/BerkeleyDB.4.4/include -I/usr/local/ssl/include conftest.c >&5 gcc: -lsocket: linker input file unused since linking not done configure:6554: $? = 0 configure:6558: test -z || test ! -s conftest.err configure:6561: $? = 0 configure:6564: test -s conftest.o configure:6567: $? = 0 configure:6578: result: yes configure:6604: checking dlfcn.h usability configure:6616: gcc -c -lsocket -I/usr/local/include -I/usr/include -I/usr/local/BerkeleyDB.4.4/include -I/usr/local/ssl/include conftest.c >&5 gcc: -lsocket: linker input file unused since linking not done configure:6622: $? = 0 configure:6626: test -z || test ! -s conftest.err configure:6629: $? = 0 configure:6632: test -s conftest.o configure:6635: $? = 0 configure:6645: result: yes configure:6649: checking dlfcn.h presence configure:6659: gcc -E -I/usr/local/include -I/usr/include -I/usr/local/BerkeleyDB.4.4/include -I/usr/local/ssl/include conftest.c configure:6665: $? = 0 configure:6685: result: yes configure:6720: checking for dlfcn.h configure:6727: result: yes configure:6744: checking the maximum length of command line arguments configure:6836: result: 262144 configure:6847: checking command to parse /usr/ccs/bin/nm -p output from gcc object configure:6943: gcc -c -lsocket -I/usr/local/include -I/usr/include -I/usr/local/BerkeleyDB.4.4/include -I/usr/local/ssl/include conftest.c >&5 gcc: -lsocket: linker input file unused since linking not done configure:6946: $? = 0 configure:6950: /usr/ccs/bin/nm -p conftest.o \| sed -n -e 's/^.*[ ]\([BDRT][BDRT]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' \> conftest.nm configure:6953: $? = 0 configure:7005: gcc -o conftest -lsocket -I/usr/local/include -I/usr/include -I/usr/local/BerkeleyDB.4.4/include -I/usr/local/ssl/include -L/usr/local/ssl/lib -L/usr/local/BerkeleyDB.4.4/lib -L/usr/lib -L/usr/local/lib -R/usr/local/ssl/lib -R/usr/local/BerkeleyDB.4.4/lib -R/usr/lib -R/usr/local/lib conftest.c conftstm.o >&5 configure:7008: $? = 0 configure:7046: result: ok configure:7050: checking for objdir configure:7065: result: .libs configure:7235: checking for ranlib configure:7251: found /usr/ccs/bin/ranlib configure:7262: result: ranlib configure:7315: checking for strip configure:7331: found /usr/ccs/bin/strip configure:7342: result: strip configure:7629: checking if gcc static flag works configure:7657: result: yes configure:7675: checking if gcc supports -fno-rtti -fno-exceptions configure:7696: gcc -c -lsocket -I/usr/local/include -I/usr/include -I/usr/local/BerkeleyDB.4.4/include -I/usr/local/ssl/include -fno-rtti -fno-exceptions conftest.c >&5 gcc: -lsocket: linker input file unused since linking not done configure:7700: $? = 0 configure:7710: result: yes configure:7725: checking for gcc option to produce PIC configure:7929: result: -fPIC configure:7937: checking if gcc PIC flag -fPIC works configure:7958: gcc -c -lsocket -I/usr/local/include -I/usr/include -I/usr/local/BerkeleyDB.4.4/include -I/usr/local/ssl/include -fPIC -DPIC conftest.c >&5 gcc: -lsocket: linker input file unused since linking not done configure:7962: $? = 0 configure:7972: result: yes configure:7996: checking if gcc supports -c -o file.o configure:8020: gcc -c -lsocket -I/usr/local/include -I/usr/include -I/usr/local/BerkeleyDB.4.4/include -I/usr/local/ssl/include -o out/conftest2.o conftest.c >&5 gcc: -lsocket: linker input file unused since linking not done configure:8024: $? = 0 configure:8043: result: yes configure:8069: checking whether the gcc linker (/usr/ccs/bin/ld) supports shared libraries configure:8965: result: yes configure:8991: checking whether -lc should be explicitly linked in configure:8996: gcc -c -lsocket -I/usr/local/include -I/usr/include -I/usr/local/BerkeleyDB.4.4/include -I/usr/local/ssl/include conftest.c >&5 gcc: -lsocket: linker input file unused since linking not done configure:8999: $? = 0 configure:9013: gcc -shared -Wl,-h -Wl,conftest -o conftest conftest.o -v 2\>\&1 \| grep -lc \>/dev/null 2\>\&1 configure:9016: $? = 1 configure:9028: result: yes configure:9036: checking dynamic linker characteristics configure:9590: result: solaris2.9 ld.so configure:9594: checking how to hardcode library paths into programs configure:9619: result: immediate configure:9633: checking whether stripping libraries is possible configure:9654: result: no configure:9764: checking for shl_load configure:9821: gcc -o conftest -lsocket -I/usr/local/include -I/usr/include -I/usr/local/BerkeleyDB.4.4/include -I/usr/local/ssl/include -L/usr/local/ssl/lib -L/usr/local/BerkeleyDB.4.4/lib -L/usr/lib -L/usr/local/lib -R/usr/local/ssl/lib -R/usr/local/BerkeleyDB.4.4/lib -R/usr/lib -R/usr/local/lib conftest.c -lresolv -lsocket -lnsl -ldb >&5 Undefined first referenced symbol in file shl_load /var/tmp/cc7K6Bxc.o ld: fatal: Symbol referencing errors. No output written to conftest collect2: ld returned 1 exit status configure:9827: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define OPENLDAP_PACKAGE "OpenLDAP" | #define OPENLDAP_VERSION "2.3.27" | #define LDAP_VENDOR_VERSION 20327 | #define LDAP_VENDOR_VERSION_MAJOR 2 | #define LDAP_VENDOR_VERSION_MINOR 3 | #define LDAP_VENDOR_VERSION_PATCH 27 | #define HAVE_MKVERSION 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | /* end confdefs.h. */ | /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load. | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | #define shl_load innocuous_shl_load | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char shl_load (); below. | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | <limits.h> exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include <limits.h> | #else | # include <assert.h> | #endif | | #undef shl_load | | /* Override any gcc2 internal prototype to avoid an error. */ | #ifdef __cplusplus | extern "C" | { | #endif | /* We use char because int might match the return type of a gcc2 | builtin and then its argument prototype would still apply. */ | char shl_load (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined (__stub_shl_load) || defined (__stub___shl_load) | choke me | #else | char (*f) () = shl_load; | #endif | #ifdef __cplusplus | } | #endif | | int | main () | { | return f != shl_load; | ; | return 0; | } configure:9852: result: no configure:9857: checking for shl_load in -ldld configure:9887: gcc -o conftest -lsocket -I/usr/local/include -I/usr/include -I/usr/local/BerkeleyDB.4.4/include -I/usr/local/ssl/include -L/usr/local/ssl/lib -L/usr/local/BerkeleyDB.4.4/lib -L/usr/lib -L/usr/local/lib -R/usr/local/ssl/lib -R/usr/local/BerkeleyDB.4.4/lib -R/usr/lib -R/usr/local/lib conftest.c -ldld -lresolv -lsocket -lnsl -ldb >&5 ld: fatal: library -ldld: not found ld: fatal: File processing errors. No output written to conftest collect2: ld returned 1 exit status configure:9893: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define OPENLDAP_PACKAGE "OpenLDAP" | #define OPENLDAP_VERSION "2.3.27" | #define LDAP_VENDOR_VERSION 20327 | #define LDAP_VENDOR_VERSION_MAJOR 2 | #define LDAP_VENDOR_VERSION_MINOR 3 | #define LDAP_VENDOR_VERSION_PATCH 27 | #define HAVE_MKVERSION 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | /* end confdefs.h. */ | | /* Override any gcc2 internal prototype to avoid an error. */ | #ifdef __cplusplus | extern "C" | #endif | /* We use char because int might match the return type of a gcc2 | builtin and then its argument prototype would still apply. */ | char shl_load (); | int | main () | { | shl_load (); | ; | return 0; | } configure:9919: result: no configure:9924: checking for dlopen configure:9981: gcc -o conftest -lsocket -I/usr/local/include -I/usr/include -I/usr/local/BerkeleyDB.4.4/include -I/usr/local/ssl/include -L/usr/local/ssl/lib -L/usr/local/BerkeleyDB.4.4/lib -L/usr/lib -L/usr/local/lib -R/usr/local/ssl/lib -R/usr/local/BerkeleyDB.4.4/lib -R/usr/lib -R/usr/local/lib conftest.c -lresolv -lsocket -lnsl -ldb >&5 Undefined first referenced symbol in file dlopen /var/tmp/ccuMNkoe.o (symbol belongs to implicit dependency /usr/lib/libdl.so.1) ld: fatal: Symbol referencing errors. No output written to conftest collect2: ld returned 1 exit status configure:9987: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define OPENLDAP_PACKAGE "OpenLDAP" | #define OPENLDAP_VERSION "2.3.27" | #define LDAP_VENDOR_VERSION 20327 | #define LDAP_VENDOR_VERSION_MAJOR 2 | #define LDAP_VENDOR_VERSION_MINOR 3 | #define LDAP_VENDOR_VERSION_PATCH 27 | #define HAVE_MKVERSION 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | /* end confdefs.h. */ | /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen. | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | #define dlopen innocuous_dlopen | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char dlopen (); below. | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | <limits.h> exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include <limits.h> | #else | # include <assert.h> | #endif | | #undef dlopen | | /* Override any gcc2 internal prototype to avoid an error. */ | #ifdef __cplusplus | extern "C" | { | #endif | /* We use char because int might match the return type of a gcc2 | builtin and then its argument prototype would still apply. */ | char dlopen (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined (__stub_dlopen) || defined (__stub___dlopen) | choke me | #else | char (*f) () = dlopen; | #endif | #ifdef __cplusplus | } | #endif | | int | main () | { | return f != dlopen; | ; | return 0; | } configure:10012: result: no configure:10017: checking for dlopen in -ldl configure:10047: gcc -o conftest -lsocket -I/usr/local/include -I/usr/include -I/usr/local/BerkeleyDB.4.4/include -I/usr/local/ssl/include -L/usr/local/ssl/lib -L/usr/local/BerkeleyDB.4.4/lib -L/usr/lib -L/usr/local/lib -R/usr/local/ssl/lib -R/usr/local/BerkeleyDB.4.4/lib -R/usr/lib -R/usr/local/lib conftest.c -ldl -lresolv -lsocket -lnsl -ldb >&5 configure:10053: $? = 0 configure:10057: test -z || test ! -s conftest.err configure:10060: $? = 0 configure:10063: test -s conftest configure:10066: $? = 0 configure:10079: result: yes configure:10254: checking whether a program can dlopen itself configure:10326: gcc -o conftest -lsocket -I/usr/local/include -I/usr/include -I/usr/local/BerkeleyDB.4.4/include -I/usr/local/ssl/include -DHAVE_DLFCN_H -L/usr/local/ssl/lib -L/usr/local/BerkeleyDB.4.4/lib -L/usr/lib -L/usr/local/lib -R/usr/local/ssl/lib -R/usr/local/BerkeleyDB.4.4/lib -R/usr/lib -R/usr/local/lib conftest.c -ldl -lresolv -lsocket -lnsl -ldb >&5 configure:10329: $? = 0 configure:10347: result: yes configure:10352: checking whether a statically linked program can dlopen itself configure:10424: gcc -o conftest -lsocket -I/usr/local/include -I/usr/include -I/usr/local/BerkeleyDB.4.4/include -I/usr/local/ssl/include -DHAVE_DLFCN_H -L/usr/local/ssl/lib -L/usr/local/BerkeleyDB.4.4/lib -L/usr/lib -L/usr/local/lib -R/usr/local/ssl/lib -R/usr/local/BerkeleyDB.4.4/lib -R/usr/lib -R/usr/local/lib conftest.c -ldl -lresolv -lsocket -lnsl -ldb >&5 configure:10427: $? = 0 configure:10445: result: yes configure:10468: checking if libtool supports shared libraries configure:10470: result: yes configure:10473: checking whether to build shared libraries configure:10494: result: yes configure:10497: checking whether to build static libraries configure:10501: result: yes configure:10593: creating libtool configure:11654: checking how to run the C preprocessor configure:11772: result: gcc -E configure:11796: gcc -E -I/usr/local/include -I/usr/include -I/usr/local/BerkeleyDB.4.4/include -I/usr/local/ssl/include conftest.c configure:11802: $? = 0 configure:11834: gcc -E -I/usr/local/include -I/usr/include -I/usr/local/BerkeleyDB.4.4/include -I/usr/local/ssl/include conftest.c conftest.c:26: ac_nonexistent.h: No such file or directory configure:11840: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define OPENLDAP_PACKAGE "OpenLDAP" | #define OPENLDAP_VERSION "2.3.27" | #define LDAP_VENDOR_VERSION 20327 | #define LDAP_VENDOR_VERSION_MAJOR 2 | #define LDAP_VENDOR_VERSION_MINOR 3 | #define LDAP_VENDOR_VERSION_PATCH 27 | #define HAVE_MKVERSION 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | /* end confdefs.h. */ | #include <ac_nonexistent.h> configure:11897: checking for be_app in -lbe configure:11927: gcc -o conftest -lsocket -I/usr/local/include -I/usr/include -I/usr/local/BerkeleyDB.4.4/include -I/usr/local/ssl/include -L/usr/local/ssl/lib -L/usr/local/BerkeleyDB.4.4/lib -L/usr/lib -L/usr/local/lib -R/usr/local/ssl/lib -R/usr/local/BerkeleyDB.4.4/lib -R/usr/lib -R/usr/local/lib conftest.c -lbe -lroot -lnet -lresolv -lsocket -lnsl -ldb >&5 ld: fatal: library -lbe: not found ld: fatal: library -lroot: not found ld: fatal: library -lnet: not found ld: fatal: File processing errors. No output written to conftest collect2: ld returned 1 exit status configure:11933: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define OPENLDAP_PACKAGE "OpenLDAP" | #define OPENLDAP_VERSION "2.3.27" | #define LDAP_VENDOR_VERSION 20327 | #define LDAP_VENDOR_VERSION_MAJOR 2 | #define LDAP_VENDOR_VERSION_MINOR 3 | #define LDAP_VENDOR_VERSION_PATCH 27 | #define HAVE_MKVERSION 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define EXEEXT "" | /* end confdefs.h. */ | | /* Override any gcc2 internal prototype to avoid an error. */ | #ifdef __cplusplus | extern "C" | #endif | /* We use char because int might match the return type of a gcc2 | builtin and then its argument prototype would still apply. */ | char be_app (); | int | main () | { | be_app (); | ; | return 0; | } configure:11959: result: no configure:12014: checking for gcc configure:12040: result: gcc configure:12284: checking for C compiler version configure:12287: gcc --version </dev/null >&5 2.95.2 configure:12290: $? = 0 configure:12292: gcc -v </dev/null >&5 Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.9/2.95.2/specs gcc version 2.95.2 19991024 (release) configure:12295: $? = 0 configure:12297: gcc -V </dev/null >&5 gcc: argument to `-V' is missing configure:12300: $? = 1 configure:12303: checking whether we are using the GNU C compiler configure:12359: result: yes configure:12365: checking whether gcc accepts -g configure:12416: result: yes configure:12433: checking for gcc option to accept ANSI C configure:12540: result: none needed configure:12558: gcc -c -lsocket -I/usr/local/include -I/usr/include -I/usr/local/BerkeleyDB.4.4/include -I/usr/local/ssl/include conftest.c >&5 conftest.c:2: parse error before `me' configure:12564: $? = 1 configure: failed program was: | #ifndef __cplusplus | choke me | #endif configure:12699: checking dependency style of gcc configure:12789: result: none configure:12807: error: OpenLDAP requires compiler to support STDC constructs. ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=sparc-sun-solaris2.9 ac_cv_build_alias=sparc-sun-solaris2.9 ac_cv_c_compiler_gnu=yes ac_cv_env_CC_set=set ac_cv_env_CC_value=gcc ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value=-lsocket ac_cv_env_CPPFLAGS_set=set ac_cv_env_CPPFLAGS_value=$'-I/usr/local/include -I/usr/include -I/usr/local/BerkeleyDB.4.4/include -I/usr/local/ssl/include' ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_LDFLAGS_set=set ac_cv_env_LDFLAGS_value=$'-L/usr/local/ssl/lib -L/usr/local/BerkeleyDB.4.4/lib -L/usr/lib -L/usr/local/lib -R/usr/local/ssl/lib -R/usr/local/BerkeleyDB.4.4/lib -R/usr/lib -R/usr/local/lib' ac_cv_env_build_alias_set= ac_cv_env_build_alias_value= ac_cv_env_host_alias_set= ac_cv_env_host_alias_value= ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_exeext= ac_cv_func_dlopen=no ac_cv_func_shl_load=no ac_cv_header_dlfcn_h=yes ac_cv_header_inttypes_h=yes ac_cv_header_memory_h=yes ac_cv_header_stdc=yes ac_cv_header_stdint_h=no ac_cv_header_stdlib_h=yes ac_cv_header_string_h=yes ac_cv_header_strings_h=yes ac_cv_header_sys_stat_h=yes ac_cv_header_sys_types_h=yes ac_cv_header_unistd_h=yes ac_cv_host=sparc-sun-solaris2.9 ac_cv_host_alias=sparc-sun-solaris2.9 ac_cv_lib_be_be_app=no ac_cv_lib_dl_dlopen=yes ac_cv_lib_dld_shl_load=no ac_cv_objext=o ac_cv_prog_AR=ar ac_cv_prog_AWK=nawk ac_cv_prog_CPP=$'gcc -E' ac_cv_prog_ac_ct_CC=gcc ac_cv_prog_ac_ct_RANLIB=ranlib ac_cv_prog_ac_ct_STRIP=strip ac_cv_prog_cc_g=yes ac_cv_prog_cc_stdc=no ac_cv_prog_egrep=egrep ac_cv_prog_make_make_set=yes ac_cv_shtool=build/shtool ac_cv_target=sparc-sun-solaris2.9 ac_cv_target_alias=sparc-sun-solaris2.9 am_cv_CC_dependencies_compiler_type=none lt_cv_deplibs_check_method=pass_all lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl lt_cv_dlopen_self=yes lt_cv_dlopen_self_static=yes lt_cv_file_magic_cmd=$'$MAGIC_CMD' lt_cv_file_magic_test_file= lt_cv_ld_reload_flag=-r lt_cv_objdir=.libs lt_cv_path_LD=/usr/ccs/bin/ld lt_cv_path_NM=$'/usr/ccs/bin/nm -p' lt_cv_path_SED=/usr/bin/sed lt_cv_prog_compiler_c_o=yes lt_cv_prog_compiler_rtti_exceptions=yes lt_cv_prog_gnu_ld=no lt_cv_sys_global_symbol_pipe=$'sed -n -e \'s/^.*[ \t]\\([BDRT][BDRT]*\\)[ \t][ \t]*\\([_A-Za-z][_A-Za-z0-9]*\\)$/\\1 \\2 \\2/p\'' lt_cv_sys_global_symbol_to_c_name_address=$'sed -n -e \'s/^: \\([^ ]*\\) $/ {\\"\\1\\", (lt_ptr) 0},/p\' -e \'s/^[BCDEGRST] \\([^ ]*\\) \\([^ ]*\\)$/ {"\\2", (lt_ptr) \\&\\2},/p\'' lt_cv_sys_global_symbol_to_cdecl=$'sed -n -e \'s/^. .* \\(.*\\)$/extern int \\1;/p\'' lt_cv_sys_max_cmd_len=262144 lt_lt_cv_prog_compiler_c_o=$'"yes"' lt_lt_cv_sys_global_symbol_pipe=$'"sed -n -e \'s/^.*[ \t]\\\\([BDRT][BDRT]*\\\\)[ \t][ \t]*\\\\([_A-Za-z][_A-Za-z0-9]*\\\\)\\$/\\\\1 \\\\2 \\\\2/p\'"' lt_lt_cv_sys_global_symbol_to_c_name_address=$'"sed -n -e \'s/^: \\\\([^ ]*\\\\) \\$/ {\\\\\\"\\\\1\\\\\\", (lt_ptr) 0},/p\' -e \'s/^[BCDEGRST] \\\\([^ ]*\\\\) \\\\([^ ]*\\\\)\\$/ {\\"\\\\2\\", (lt_ptr) \\\\&\\\\2},/p\'"' lt_lt_cv_sys_global_symbol_to_cdecl=$'"sed -n -e \'s/^. .* \\\\(.*\\\\)\\$/extern int \\\\1;/p\'"' ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='${SHELL} /export/agent6/prabh/installables/openldap-2.3.27/build/missing --run aclocal-1.9' AMDEPBACKSLASH='\' AMDEP_FALSE='#' AMDEP_TRUE='' AMTAR='${SHELL} /export/agent6/prabh/installables/openldap-2.3.27/build/missing --run tar' AR='ar' AS='as' AUTH_LIBS='' AUTOCONF='${SHELL} /export/agent6/prabh/installables/openldap-2.3.27/build/missing --run autoconf' AUTOHEADER='${SHELL} /export/agent6/prabh/installables/openldap-2.3.27/build/missing --run autoheader' AUTOMAKE='${SHELL} /export/agent6/prabh/installables/openldap-2.3.27/build/missing --run automake-1.9' AWK='nawk' BUILD_ACCESSLOG='no' BUILD_AUDITLOG='no' BUILD_BDB='no' BUILD_DENYOP='no' BUILD_DNSSRV='no' BUILD_DYNGROUP='no' BUILD_DYNLIST='no' BUILD_HDB='no' BUILD_LASTMOD='no' BUILD_LDAP='no' BUILD_LDBM='no' BUILD_LIBS_DYNAMIC='' BUILD_META='no' BUILD_MONITOR='no' BUILD_NULL='no' BUILD_PASSWD='no' BUILD_PERL='no' BUILD_PPOLICY='no' BUILD_PROXYCACHE='no' BUILD_REFINT='no' BUILD_RELAY='no' BUILD_RETCODE='no' BUILD_RWM='no' BUILD_SHELL='no' BUILD_SLAPD='no' BUILD_SLAPI='no' BUILD_SLURPD='no' BUILD_SQL='no' BUILD_SYNCPROV='no' BUILD_THREAD='no' BUILD_TRANSLUCENT='no' BUILD_UNIQUE='no' BUILD_VALSORT='no' CC='gcc' CCDEPMODE='depmode=none' CFLAGS='-lsocket' CPP='gcc -E' CPPFLAGS='-I/usr/local/include -I/usr/include -I/usr/local/BerkeleyDB.4.4/include -I/usr/local/ssl/include' CYGPATH_W='echo' DEFS='' DEPDIR='.deps' DLLTOOL='dlltool' ECHO='echo' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='egrep' EXEEXT='' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s' KRB4_LIBS='' KRB5_LIBS='' LDAP_LIBS='' LDBM_LIBS='' LDFLAGS='-L/usr/local/ssl/lib -L/usr/local/BerkeleyDB.4.4/lib -L/usr/lib -L/usr/local/lib -R/usr/local/ssl/lib -R/usr/local/BerkeleyDB.4.4/lib -R/usr/lib -R/usr/local/lib' LIBOBJS='' LIBS='-lresolv -lsocket -lnsl -ldb' LIBSLAPI='' LIBSLAPITOOLS='' LIBSRCS='' LIBTOOL='$(SHELL) $(top_builddir)/libtool' LN_S='ln -s' LTHREAD_LIBS='' LTLIBOBJS='' LTSTATIC='' LUTIL_LIBS='' MAKEINFO='${SHELL} /export/agent6/prabh/installables/openldap-2.3.27/build/missing --run makeinfo' MODULES_LIBS='' MOD_PERL_LDFLAGS='' OBJDUMP='objdump' OBJEXT='o' OL_MKDEP='' OL_MKDEP_FLAGS='' OPENLDAP_LIBRELEASE='2.3' OPENLDAP_LIBVERSION='2:15:2' OPENLDAP_RELEASE_DATE='2006/08/19' PACKAGE='OpenLDAP' PACKAGE_BUGREPORT='' PACKAGE_NAME='' PACKAGE_STRING='' PACKAGE_TARNAME='' PACKAGE_VERSION='' PATH_SEPARATOR=':' PERLBIN='' PERL_CPPFLAGS='' PLAT='' RANLIB='ranlib' SASL_LIBS='' SET_MAKE='' SHELL='/bin/bash' SLAPD_DYNAMIC_BACKENDS='' SLAPD_DYNAMIC_OVERLAYS='' SLAPD_GMP_LIBS='' SLAPD_LIBS='' SLAPD_MODULES_CPPFLAGS='' SLAPD_MODULES_LDFLAGS='' SLAPD_NO_STATIC='' SLAPD_PERL_LDFLAGS='' SLAPD_SLAPI_DEPEND='' SLAPD_SLP_LIBS='' SLAPD_SQL_INCLUDES='' SLAPD_SQL_LDFLAGS='' SLAPD_SQL_LIBS='' SLAPD_STATIC_BACKENDS='back-ldif' SLAPD_STATIC_OVERLAYS='' SLAPI_LIBS='' SLURPD_LIBS='' STRIP='strip' TLS_LIBS='' VERSION='2.3.27' WITH_ACI_ENABLED='' WITH_MODULES_ENABLED='' WITH_SASL='' WITH_TLS='' WRAP_LIBS='' ac_ct_AR='' ac_ct_AS='' ac_ct_CC='gcc' ac_ct_DLLTOOL='' ac_ct_OBJDUMP='' ac_ct_RANLIB='ranlib' ac_ct_STRIP='strip' am__fastdepCC_FALSE='' am__fastdepCC_TRUE='#' am__include='include' am__leading_dot='.' am__quote='' am__tar='${AMTAR} chof - "$$tardir"' am__untar='${AMTAR} xf -' bindir='${exec_prefix}/bin' build='sparc-sun-solaris2.9' build_alias='' build_cpu='sparc' build_os='solaris2.9' build_vendor='sun' datadir='${prefix}/share' exec_prefix='NONE' host='sparc-sun-solaris2.9' host_alias='' host_cpu='sparc' host_os='solaris2.9' host_vendor='sun' includedir='${prefix}/include' infodir='${prefix}/info' install_sh='/export/agent6/prabh/installables/openldap-2.3.27/build/install-sh' ldap_subdir='/openldap' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localstatedir='${prefix}/var' mandir='${prefix}/man' mkdir_p='$(install_sh) -d' oldincludedir='/usr/include' prefix='NONE' program_transform_name='s,x,x,' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target='sparc-sun-solaris2.9' target_alias='' target_cpu='sparc' target_os='solaris2.9' target_vendor='sun' top_builddir='/export/agent6/prabh/installables/openldap-2.3.27' ## ----------- ## ## confdefs.h. ## ## ----------- ## #define EXEEXT "" #define HAVE_DLFCN_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_MEMORY_H 1 #define HAVE_MKVERSION 1 #define HAVE_STDLIB_H 1 #define HAVE_STRINGS_H 1 #define HAVE_STRING_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_UNISTD_H 1 #define LDAP_VENDOR_VERSION 20327 #define LDAP_VENDOR_VERSION_MAJOR 2 #define LDAP_VENDOR_VERSION_MINOR 3 #define LDAP_VENDOR_VERSION_PATCH 27 #define OPENLDAP_PACKAGE "OpenLDAP" #define OPENLDAP_VERSION "2.3.27" #define PACKAGE_BUGREPORT "" #define PACKAGE_NAME "" #define PACKAGE_STRING "" #define PACKAGE_TARNAME "" #define PACKAGE_VERSION "" #define STDC_HEADERS 1 configure: exit 1 Posting it in autoconf also. Regards Prabhjeet Singh Brian Dessent wrote: > > Prabhjeet Singh Grover wrote: > >> I have gcc 2.95.2 installed on Solaris 9 platform. I am installing >> OpenLDAP 2.3.27 (latest) on the same machine and have installed all the >> required pre-requisites for that. Now while running the ./configure >> command, I am getting an error "configure: error: OpenLDAP requires >> compiler to support STDC constructs." Please let me know if this is an >> issue with the gcc version or some configuration settings. > > The error you are seeing is due to generic C compiler detection code in > autoconf; it's not specific to openldap. It is the result of > ac_cv_prog_cc_stdc being set to 'no' after a call to AC_PROG_CC. This > happens when autoconf can't figure out how to set the selected C > compiler into ANSI mode (i.e. accepting function prototypes.) > > gcc 2.95.2 is ancient (released on 10-27-1999, nearly 7 years ago!) but > it should still support standard ANSI C prototypes. Therefore you're > probably running into a configuration problem. It would be helpful if > you posted what values you have set for the environment variables such > as CC and CFLAGS, if any. You might also try experimenting with setting > CC to "gcc" or perhaps "gcc -ansi". You should also look at the > config.log file generated by configure that has the results of the > tests. Look at the part near "Checking for $CC option to accept ANSI C" > and see why it fails. > > Also, consider posting to the autoconf list (which I added to CC), as > this doesn't seem to necessarily have anything to do with gcc so much as > autoconf. > > Brian > > -- View this message in context: http://www.nabble.com/GCC-support-for-STDC-constructs-tf2428089.html#a6770452 Sent from the gcc - Help mailing list archive at Nabble.com.