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

RE: --> Installing on Alpha Tru64 4.0F



The last time I ran into a problem like this was due to a bad BerkeleyDB installation. See if your db.h has a "#define const" line in it. If so, then BDB didn't detect that your C compiler is ANSI-compatible, and you'll have a lot of function prototype mismatches. I believe this is fixed in BDB 4.2, which is not yet released.

  -- Howard Chu
  Chief Architect, Symas Corp.       Director, Highland Sun
  http://www.symas.com               http://highlandsun.com/hyc
  Symas: Premier OpenSource Development and Support 

> -----Original Message-----
> From: owner-openldap-software@OpenLDAP.org
> [mailto:owner-openldap-software@OpenLDAP.org]On Behalf Of Alex Carlos
> Braga Antão
> Sent: Wednesday, May 28, 2003 11:22 AM
> To: openldap-software@OpenLDAP.org
> Subject: --> Installing on Alpha Tru64 4.0F
> 
> 
> Hello,
>    I´m triyng to install openldap 2.1.20 on a True64 4.0F 
> system. It starts 
> compiling, but I get the folowing error:
>  Entering subdirectory include
>  Entering subdirectory libraries
> Making all in /cache/src/openldap-2.1.20/libraries
>   Entering subdirectory liblutil
>  Entering subdirectory liblber
>  Entering subdirectory liblunicode
>  Entering subdirectory libldif
>  Entering subdirectory libldap
>  Entering subdirectory libldap_r
>  Entering subdirectory libavl
>  Entering subdirectory libldbm
>  Entering subdirectory librewrite
> 
>  Entering subdirectory clients
> Making all in /cache/src/openldap-2.1.20/clients
>   Entering subdirectory tools
> 
>  Entering subdirectory servers
> Making all in /cache/src/openldap-2.1.20/servers
>   Entering subdirectory slapd
> building static backends...
>  cd back-bdb; make  all
> /bin/sh /cache/src/openldap-2.1.20/libtool  --mode=compile  cc -g - 
> I../../../include        -I../../../include -I.. -I./..     
> -c extended.c
> rm -f .libs/extended.lo
> cc -g -I../../../include -I../../../include -I.. -I./.. -c 
> extended.c  - 
> DPIC -o .libs/extended.lo
> cc: Error: extended.c, line 25: In this declaration, 
> parameter 4 has a 
> different type than specified in an earlier declaration of 
> this function. 
> (mismatparam)
> bdb_extended(
> ^
> cc: Error: extended.c, line 25: In this declaration, the type of 
> "bdb_extended" is not compatible with the type of a previous 
> declaration of 
> "bdb_extended" at line number 30 in file external.h. (notcompat)
> bdb_extended(
> ^
> *** Exit 1
> Stop.
> *** Exit 1
> Stop.
> *** Exit 1
> Stop.
> *** Exit 1
> Stop.
> 
> 
> I tryied to track the source but it seems ok ... Somebody can 
> help me, 
> please ???
> Thanks....
> -- 
> Alex Carlos Braga Antão
> --------------------------------------------------------------
> -------------- 
> ------------------------
> Analista de Suporte
> FNDE - Fundo Nacional de Desenvolvimento da Educação
>