Abdulkadir Farah
2003-Mar-03 10:46 UTC
[Samba] Samba 3.0 and 2.2.7a Compile and config error !!
Hello, Please any idea for solving: I am using Solaris 9 platform (64 bit) - 3 days with no luck to compile samba-3.0alpha21 and samba 2.2.7a or 2.2 CVSs with: ./configure --enable-debug --with-pam --with-pam_smbpass --with-msdfs --with-acl-support --with-winbind --with-included-popt --enabl e-cups --with-automount --with-ldapsam --with-ssl --with-sslinc=/usr/local/ssl/include/openssl --with-krb5=no and sometimes --with-krb5=yes 1. for 3.0 stops with errors: --------------------- Linking bin/smbd Undefined first referenced symbol in file krb5_free_creds libsmb/clikrb5.o krb5_auth_con_setflags libads/krb5_setpw.o krb5_mk_priv libads/krb5_setpw.o krb5_auth_con_setuseruserkey libads/kerberos_verify.o krb5_set_real_time libsmb/clikrb5.o krb5_free_context libsmb/clikrb5.o krb5_get_credentials libsmb/clikrb5.o krb5_auth_con_setaddrs libads/krb5_setpw.o krb5_mk_req_extended libsmb/clikrb5.o krb5_rd_rep libads/krb5_setpw.o krb5_rd_req libads/kerberos_verify.o krb5_set_default_realm libads/kerberos_verify.o krb5_auth_con_init libads/kerberos_verify.o krb5_string_to_key libads/kerberos_verify.o krb5_unparse_name libads/kerberos_verify.o krb5_init_context libsmb/clikrb5.o krb5_get_init_creds_password libads/kerberos.o krb5_free_ap_rep_enc_part libads/krb5_setpw.o krb5_set_default_tgs_ktypes libsmb/clikrb5.o krb5_free_cred_contents libsmb/clikrb5.o krb5_principal2salt libads/kerberos_verify.o krb5_rd_priv libads/krb5_setpw.o krb5_copy_principal libsmb/clikrb5.o krb5_free_principal libsmb/clikrb5.o krb5_use_enctype libads/kerberos_verify.o krb5_cc_default libsmb/clikrb5.o krb5_parse_name libsmb/clikrb5.o ld: fatal: Symbol referencing errors. No output written to bin/smbd collect2: ld returned 1 exit status gmake: *** [bin/smbd] Error 1 ------------------------ 2. For 2.2 errors: checking whether struct passwd has pw_age... yes checking whether to use included popt... ./popt checking configure summary... configure: error: summary failure. Aborting config with config.log: configure:14210: gcc -o conftest -DHAVE_CRYPT_DECL -I/usr/local/ssl/include/openssl -O -Iyes/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -L/usr/local/ssl/lib -Lyes/lib conftest.c -lssl -lcrypto -lsec -lgen -lsocket -lnsl -ldl -ldes425 -lkrb5 -lcrypto -lcom_err 1>&5 configure: failed program was: #line 14206 "configure" #include "confdefs.h" #include "./tests/summary.c Thanks Farah University of Reading Systems Programmer _________________________________________________________________ STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail