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

2.1.12 result.c goto leave ?



I'm compiling OpenLDAP 2.1.12 on Tru64 Unix 5.1 with OpenSSL 0.9.6h in
/local/ssl and Berkeley DB 4.1.24 in /local but it fails with result.c
goto leave

./configure --prefix=/local/openldap --with-tls --enable-crypt
make depend
make

...
.....

cc -g -I../../include -I../../include -DLDAP_R_COMPILE -I./../libldap
-I/usr/local/include -I/usr/local/ssl/include -DLDAP_LIBRARY -c result.c
-DPIC -o .libs/result.lo
cc: Error: result.c, line 853: Identifier expected but not found.
(idexpected)
                goto leave;
---------------------^
cc: Error: result.c, line 896: Missing ";". (nosemi)
leave:
-----^
cc: Error: result.c, line 896: This leave statement is not within a try
statement. (noleavetarg)
leave:
^
make[2]: *** [result.lo] Error 1
make[2]: Leaving directory
`/sources/BUILD/openldap-2.1.12/libraries/libldap_r'
make[1]: *** [all-common] Error 1


any ideas?

Paul