In the long run, I am trying to get samba-3.0beta2 to compile with kerberos and ldap. We have to support Kerberos V5, and LDAPV3.
looking for answers to this problem at the end of the document: openldap-2.1.21 recommends OpenSSL 0.9. krb5-1.3-beta5 has been compiled and installed in /usr/local although I have created a link to /usr/local for /usr/kerberos in the openssl config file I have uncommented: if [ -d /usr/kerberos ]; then krb5_dir=/usr/kerberos if [ \( -f $krb5_dir/lib/libgssapi_krb5.a -o -f $krb5_dir/lib/libgssapi_krb5 .so* \)\ -a \( -f $krb5_dir/lib/libkrb5.a -o -f $krb5_dir/lib/libkrb5.so* \)\ -a \( -f $krb5_dir/lib/libcom_err.a -o -f $krb5_dir/lib/libcom_err.so* \ )\ -a \( -f $krb5_dir/lib/libk5crypto.a -o -f $krb5_dir/lib/libk5crypto.so* \)\ -a \( -f $krb5_dir/include/krb5.h \) ]; then options="$options --with-krb5-flavor=MIT" fi fi config -t results in: Configuring for solaris-sparcv9-gcc /bin/perl ./Configure solaris-sparcv9-gcc --with-krb5-flavor=MIT make has the following warnings: a_type.c:74: warning: dereferencing type-punned pointer will break strict-aliasing rules x_name.c:171: warning: dereferencing type-punned pointer will break strict-aliasing rules x_name.c:177: warning: dereferencing type-punned pointer will break strict-aliasing rules x_name.c:239: warning: dereferencing type-punned pointer will break strict-aliasing rules x_name.c:242: warning: dereferencing type-punned pointer will break strict-aliasing rules pem_lib.c:479: warning: dereferencing type-punned pointer will break strict-aliasing rules ../include/openssl/kssl.h:134: warning: no semicolon at end of struct or union ../include/openssl/kssl.h:135: warning: type defaults to `int' in declaration of `KSSL_CTX' ../include/openssl/kssl.h:135: warning: data definition has no type or storage class ../include/openssl/kssl.h:148: warning: type defaults to `int' in declaration of `kssl_ctx_new' ../include/openssl/kssl.h:148: warning: data definition has no type or storage class ../include/openssl/kssl.h:149: warning: type defaults to `int' in declaration of `kssl_ctx_free' ../include/openssl/kssl.h:149: warning: data definition has no type or storage class ../include/openssl/ssl.h:909: warning: no semicolon at end of struct or union Here is the final 31 lines out of 626 lines of the output from running "make": In file included from ../include/openssl/ssl.h:179, from ssl_locl.h:129, from s2_meth.c:59: ../include/openssl/kssl.h:134: warning: no semicolon at end of struct or union ../include/openssl/kssl.h:134: error: parse error before '*' token ../include/openssl/kssl.h:135: warning: type defaults to `int' in declaration of `KSSL_CTX' ../include/openssl/kssl.h:135: warning: data definition has no type or storage class ../include/openssl/kssl.h:147: error: parse error before '*' token ../include/openssl/kssl.h:148: error: parse error before '*' token ../include/openssl/kssl.h:148: warning: type defaults to `int' in declaration of `kssl_ctx_new' ../include/openssl/kssl.h:148: warning: data definition has no type or storage class ../include/openssl/kssl.h:149: error: parse error before '*' token ../include/openssl/kssl.h:149: error: parse error before '*' token ../include/openssl/kssl.h:149: warning: type defaults to `int' in declaration of `kssl_ctx_free' ../include/openssl/kssl.h:149: warning: data definition has no type or storage class ../include/openssl/kssl.h:150: error: parse error before '*' token ../include/openssl/kssl.h:151: error: parse error before '*' token ../include/openssl/kssl.h:153: error: parse error before '*' token ../include/openssl/kssl.h:155: error: parse error before '*' token ../include/openssl/kssl.h:157: error: parse error before '*' token ../include/openssl/kssl.h:165: error: parse error before '*' token In file included from ssl_locl.h:129, from s2_meth.c:59: ../include/openssl/ssl.h:909: error: parse error before "KSSL_CTX" ../include/openssl/ssl.h:909: warning: no semicolon at end of struct or union ../include/openssl/ssl.h:931: error: parse error before '}' token *** Error code 1 make: Fatal error: Command failed for target `s2_meth.o' Current working directory /u/src/openssl-0.9.7b/ssl *** Error code 1 make: Fatal error: Command failed for target `sub_all' ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]