[Date Prev][Date Next] [Chronological] [Thread] [Top]

solaris-2.8, openldap-2.0.x(with config.log)



hi,
 
        thanks for your reply. I have pasted the tail portion of my config.log. There is a -Xc option to gcc in which -X is found to be unrecognized. Any suggestions????????????/
 
 
:
:
:
 
configure:3706: gcc -o conftest -g -O2 -I/usr/include -I/usr/local/include -I/us
r/local/BerkeleyDB.3.1/include -R/usr/local/BerkeleyDB.3.1/include/ -L/usr/local
/BerkeleyDB.3.1/lib/ -L/usr/local/lib/ -L/usr/lib/ -R/usr/local/BerkeleyDB.3.1/l
ib/ conftest.c -lbe -lroot -lnet  1>&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: failed program was:
#line 3695 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* 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:3732: checking for gcc option to accept ANSI C
configure:3786: gcc  -c -g -O2 -I/usr/include -I/usr/local/include -I/usr/local/
BerkeleyDB.3.1/include -R/usr/local/BerkeleyDB.3.1/include/ conftest.c 1>&5
configure: In function `f':
configure:3767: `__builtin_va_alist' undeclared (first use in this function)
configure:3767: (Each undeclared identifier is reported only once
configure:3767: for each function it appears in.)
configure: failed program was:
#line 3749 "configure"
#include "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;
}
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, i
nt);
int argc;
char **argv;
 
int main() {
 
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 
; return 0; }
configure:3786: gcc -qlanglvl=ansi -c -g -O2 -I/usr/include -I/usr/local/include
 -I/usr/local/BerkeleyDB.3.1/include -R/usr/local/BerkeleyDB.3.1/include/ confte
st.c 1>&5
gcc: unrecognized option `-qlanglvl=ansi'
configure: In function `f':
configure:3767: `__builtin_va_alist' undeclared (first use in this function)
configure:3767: (Each undeclared identifier is reported only once
configure:3767: for each function it appears in.)
configure: failed program was:
#line 3749 "configure"
#include "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;
}
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, i
nt);
int argc;
char **argv;
 
int main() {
 
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 
; return 0; }
configure:3786: gcc -std1 -c -g -O2 -I/usr/include -I/usr/local/include -I/usr/l
ocal/BerkeleyDB.3.1/include -R/usr/local/BerkeleyDB.3.1/include/ conftest.c 1>&5
cc1: Invalid option `-std1'
configure: In function `f':
configure:3767: `__builtin_va_alist' undeclared (first use in this function)
configure:3767: (Each undeclared identifier is reported only once
configure:3767: for each function it appears in.)
configure: failed program was:
#line 3749 "configure"
#include "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;
}
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, i
nt);
int argc;
char **argv;
 
int main() {
 
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 
; return 0; }
configure:3786: gcc -Ae -c -g -O2 -I/usr/include -I/usr/local/include -I/usr/loc
al/BerkeleyDB.3.1/include -R/usr/local/BerkeleyDB.3.1/include/ conftest.c 1>&5
*Initialization*:1: missing token-sequence in `#assert'
configure: failed program was:
#line 3749 "configure"
#include "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;
}
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, i
nt);
int argc;
char **argv;
 
int main() {
 
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 
; return 0; }
configure:3786: gcc -Aa -D_HPUX_SOURCE -c -g -O2 -I/usr/include -I/usr/local/inc
lude -I/usr/local/BerkeleyDB.3.1/include -R/usr/local/BerkeleyDB.3.1/include/ co
nftest.c 1>&5
*Initialization*:1: missing token-sequence in `#assert'
configure: failed program was:
#line 3749 "configure"
#include "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;
}
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, i
nt);
int argc;
char **argv;
 
int main() {
 
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 
; return 0; }
configure:3786: gcc -Xc -D__EXTENSIONS__ -c -g -O2 -I/usr/include -I/usr/local/i
nclude -I/usr/local/BerkeleyDB.3.1/include -R/usr/local/BerkeleyDB.3.1/include/
conftest.c 1>&5
gcc: unrecognized option `-Xc'
configure: In function `f':
configure:3767: `__builtin_va_alist' undeclared (first use in this function)
configure:3767: (Each undeclared identifier is reported only once
configure:3767: for each function it appears in.)
configure: failed program was:
#line 3749 "configure"
#include "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;
}
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, i
nt);
int argc;
char **argv;
 
int main() {
 
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 
; return 0; }
 
Please do help me if you know what could be made to set things right.....
 
Thank You.
 
A. Gayathri
 
----- Original Message -----
From: Igor Brezac <igor@ipass.net>
To: Gayathri.A <gayathri@odysseytec.com>
Sent: Monday, September 17, 2001 6:39 PM
Subject: Re: solaris-8, openldap-2.0.x

>
> Check (and email us)
>
> tail config.log
>
> -Igor
>
> On Mon, 17 Sep 2001, Gayathri.A wrote:
>
> > hi,
> >
> >     What could be the reason for getting the following error. I'm in solaris-2.8. openldap-2.0.7-11. gcc-2.95.3. berkeley-db-3.1.17.
> >
> >
> >     $ ./configure --with-ldbm-api=berkeley --prefix=/usr/local/.
> >
> >     My error:
> >
> >                     checking for gcc option to accept ANSI C... no
> >         configure: error: OpenLDAP requires compiler to support STDC constructs.
> >
> > What could be the problem. Please do provide me with a solution to solve this problem. I've been trying to compile using cc and got errors during 'make' already.
> >
> > Thank You.
> >
> > A. Gayathri
> >
> >
> >
> >
>
>