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

TLS compile fails



Hello,

After successfully installing OpenLDAP 2.0.23 on Tru64
Unix version G, I decided to go back and add TLS
support.  Following the guidelines in the Faq-O-Matic,
my configure statement looked like this:

CPPFLAGS=-I/usr/local/ssl/include \
LDFLAGS=-L/usr/local/ssl/lib \
./configure \
--with-tls

Configuration ran without a hitch finding ssl support
and producing a Makefile.  I then ran 'make depend'
which also produced no errors or warnings.  However,
running 'make' did not produce desirable results.

There are many (60+) warnings produced when the cc
compiler tries to build schema_init.c.  Virtually all
of the warnings are of type ptrmismatch.  Here's an
example:

cc: Warning: schema_init.c, line 3153: In this
statement, the referenced type of the pointer value
"&value->bv_val[value->bv_len-klen]" is "signed char",
which is not compatible with "const unsigned char".
(ptrmismatch)
                       
&value->bv_val[value->bv_len-klen], klen );
------------------------^

Finally, the compile fails with the following error
message:

ld:
Unresolved:
ldap_pvt_tls_init
ldap_pvt_tls_init_def_ctx
ldap_pvt_tls_accept
ldap_pvt_tls_get_peer
ldap_pvt_tls_get_strength
ldap_pvt_tls_sb_ctx
ldap_pvt_tls_set_option
ldap_pvt_tls_get_option
make[2]: *** [slapd] Error 1
make[1]: *** [all-common] Error 1
make: *** [all-common] Error 1

I could certainly use some advice right about now. 
Thanks for your help.

- Jim

__________________________________________________
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com