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

please reply



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.