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

(ITS#5930) Problem while making the build



Full_Name: Bhupinder
Version: 2.4.11
OS: Solaris SunOS.5
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (149.77.167.165)


setenv LD_LIBRARY_PATH /usr/local/BerkeleyDB/lib
setenv CPPFLAGS -I/usr/local/BerkeleyDB/include/

./configure 
make depend
make

while 'mak'ing i get the following error.
..
..
..
/bin/sh ../..//libtool  --mode=compile cc -g -I../../include       
-I../../include   -I/usr/local/BerkeleyDB/include/   -DLDAP_LIBRARY -c tls.c
 cc -g -I../../include -I../../include -I/usr/local/BerkeleyDB/include/
-DLDAP_LIBRARY -c tls.c  -KPIC -DPIC -o .libs/tls.o
"tls.c", line 102: syntax error before or at: gnutls_kx_algorithm_t
"tls.c", line 112: syntax error before or at: typedef
"tls.c", line 114: syntax error before or at: gnutls_certificate_credentials_t
"tls.c", line 127: syntax error before or at: typedef
"tls.c", line 128: syntax error before or at: tls_ctx
"tls.c", line 189: member cannot be function: ldap_pvt_tls_ctx_free
"tls.c", line 189: warning: syntax requires ";" after last struct/union member
"tls.c", line 189: syntax error before or at: {
"tls.c", line 191: syntax error before or at: tls_ctx
"tls.c", line 211: member cannot be function: tls_ctx_new
"tls.c", line 211: warning: syntax requires ";" after last struct/union member
"tls.c", line 211: syntax error before or at: {
"tls.c", line 230: syntax error before or at: *
"tls.c", line 231: member cannot be function: tls_ctx_ref
"tls.c", line 231: warning: syntax requires ";" after last struct/union member
"tls.c", line 242: warning: syntax requires ";" after last struct/union member
"tls.c", line 262: warning: syntax requires ";" after last struct/union member
"tls.c", line 275: syntax error before or at: *
"tls.c", line 276: member cannot be function: tls_session_free
"tls.c", line 276: warning: syntax requires ";" after last struct/union member
"tls.c", line 285: syntax error before or at: *
"tls.c", line 285: warning: undefined or missing type for: char
"tls.c", line 286: member cannot be function: tls_parse_ciphers
"tls.c", line 286: warning: syntax requires ";" after last struct/union member
"tls.c", line 289: warning: syntax requires ";" after last struct/union member
"tls.c", line 289: syntax error before or at: =
"tls.c", line 292: syntax error before or at: num
"tls.c", line 314: warning: syntax requires ";" after last struct/union member
"tls.c", line 350: zero-sized struct/union
"tls.c", line 352: warning: old-style declaration or incorrect type for: ptr
"tls.c", line 352: warning: old-style declaration or incorrect type for: len
"tls.c", line 352: warning: syntax error:  empty declaration
"tls.c", line 353: warning: old-style declaration or incorrect type for: end
"tls.c", line 354: undefined symbol: nkx
"tls.c", line 354: can not declare variably modified type at file scope
"tls.c", line 354: warning: old-style declaration or incorrect type for: kx
"tls.c", line 354: warning: {}-enclosed initializer required
"tls.c", line 354: too many array initializers
"tls.c", line 354: warning: variable length array can not be initialized: kx
"tls.c", line 355: undefined symbol: ncipher
"tls.c", line 355: can not declare variably modified type at file scope
"tls.c", line 355: warning: old-style declaration or incorrect type for: cipher
"tls.c", line 355: warning: {}-enclosed initializer required
"tls.c", line 355: too many array initializers
"tls.c", line 355: warning: variable length array can not be initialized:
cipher
"tls.c", line 356: undefined symbol: nmac
"tls.c", line 356: can not declare variably modified type at file scope
"tls.c", line 356: warning: old-style declaration or incorrect type for: mac
"tls.c", line 356: warning: {}-enclosed initializer required
"tls.c", line 356: too many array initializers
"tls.c", line 356: warning: variable length array can not be initialized: mac
"tls.c", line 357: warning: old-style declaration or incorrect type for: ctx
"tls.c", line 357: syntax error before or at: ->
"tls.c", line 357: warning: old-style declaration or incorrect type for:
kx_list
"tls.c", line 357: warning: improper pointer/integer combination: op "="
"tls.c", line 358: warning: old-style declaration or incorrect type for: ctx
"tls.c", line 358: syntax error before or at: ->
"tls.c", line 358: warning: old-style declaration or incorrect type for:
cipher_list
"tls.c", line 358: warning: improper pointer/integer combination: op "="
"tls.c", line 359: warning: old-style declaration or incorrect type for: ctx
"tls.c", line 359: syntax error before or at: ->
"tls.c", line 359: warning: old-style declaration or incorrect type for:
mac_list
"tls.c", line 359: warning: improper pointer/integer combination: op "="
"tls.c", line 360: syntax error before or at: return
"tls.c", line 360: warning: syntax error:  empty declaration
"tls.c", line 532: cannot recover from previous errors
cc: acomp failed for tls.c
make[2]: *** [tls.lo] Error 1
make[2]: Leaving directory `~openldap/openldap-2.4.11/libraries/libldap'
make[1]: *** [all-common] Error 1
make[1]: Leaving directory `~/openldap/openldap-2.4.11/libraries'
make: *** [all-common] Error 1



Please let me know if i'm doing something wrong here.


Thanks
bhupi