hi,
thanx for your reply.
I tried using openldap-2.0.7, ,2.0.11 and 2.0.12.
But getting errors in the same place.
I'm using cc as my compiler. My configure command
goes as follows: ./configure --with-ldbm-api=berkeley. (with
db=3.1).
I tried using gcc(2.95.2), and got an error saying:
:
:
checking for gcc option to
accept ANSI C... no configure: error: OpenLDAP requires compiler to support
STDC constructs.
Even when i try to compile base64.c
(installed-dir/openldap-2.0.x/libraries/liblutil/base64.c) with cc, i get the
same errors.
My Problem persists.
Regards,
A. Gayathri
----- Original Message -----
Sent: Thursday, September 06, 2001 3:23
PM
Subject: Re: please reply
Hi
i'm using 2.0.11 on Solaris 8/Sparc
before, i used 2.0.7 for a long time
i use bd 3.2.9 (3.3.11 dont work)
with gcc 2.95.3, libtool and so on ... what's precisely your conf ?
what's your configure command and environment when you launch it ?
"Gayathri.A" wrote:
hi all, this is nearly the
3rd time i'm posting this query. I'm using DB v3.1 and solaris 8. (
openldap-2.0.7) and getting problems in make somewhat similar to what
josh has got. ( error while compiling base64.c
while doing
make). The following is a part of make result:
Making all in
/export/home/gayathri/openldap/openldap-2.0.11
Entering
subdirectory include
Entering
subdirectory libraries Making all in
/export/home/gayathri/openldap/openldap-2.0.11/libraries
Entering
subdirectory liblutil cc -g -I../../include
-I../../include -I/usr/include/
-I/usr/local/include / -I /usr/local/BerkeleyDB.3.1/include/
-R/usr/local/BerkeleyDB.3.1/include/ -c
ba se64.c "/usr/include//sys/socket.h",
line 61: warning: modification of typedef with
"in t" ignored "/usr/include//sys/socket.h",
line 61: invalid type combination "/usr/include//sys/socket.h",
line 61: warning: useless declaration "/usr/include//sys/socket.h",
line 61: warning: typedef declares no type name
"../../incl
de/lber_types.h", line 42: warning: signed is a keyword in
ANSI C "../../include/lber_types.h", line 42: undefined
or not a type: signed "../../include/lber_types.h", line 42: warning:
"typedef" valid only for functio n
declaration "../../include/lber_types.h", line 42: parameter
not in identifier list: ber_sin t_t
"../../include/lber_types.h", line 43: warning: only "register"
valid as formal parameter storage class
"../../include/lber_types.h", line 55: syntax error before or at:
long "../../include/lber_types.h", line 55: parameter not in identifier
list: ber_sle n_t "../../include/lutil.h", line
33: only "register" valid as formal parameter stor
age
class "../../include/lutil.h", line 38: parameter not in identifier
list: lutil_b64_nt op :
:
:
:
"../../include/lutil.h", line 50: parameter not in identifier
list: lutil_detach "../../include/lutil.h", line 53: only
"register" valid as formal parameter stor
age
class "../../include/lutil.h", line 56: parameter not in identifier
list: lutil_entrop y "../../include/lutil.h", line
59: warning: dubious tag declaration: struct berva
l "../../include/lutil.h", line 61: only
"register" valid as formal parameter stor
age
class "base64.c", line 64: only "register" valid as formal parameter
storage class "base64.c", line 64: parameter not in identifier
list: Base64 "base64.c", line 64: cannot initialize
parameter: Base64 "base64.c", line 65: warning: statement not
reached "base64.c", line 66: only "register" valid as formal parameter
storage class "base64.c", line 66: parameter not in identifier
list: Pad64 "base64.c", line 66: cannot initialize
parameter: Pad64
:
:
:
:
: (similar errors in base64.c)
*** Error code
10 make: Fatal error: Command failed for target
`base64.o' Current working directory
/export/home/gayathri/openldap/openldap-2.0.11/librari
es/liblutil *** Error code 1 make: Fatal error: Command
failed for target `all-common' Current working
directory /export/home/gayathri/openldap/openldap-2.0.11/librari
es *** Error code 1 make: Fatal error: Command
failed for target `all-common'
I'm using cc compiler.
(with gcc, i get error even while configuring as gcc
doesn't accept ansi c
and requires some STDC constructs).
Thanks for ur help in advance. Please do
reply if somebody knows thw reply..........
Cheers, A. Gayathri.
-- *** Ce message a été vérifié par un anti-virus ***
|