Date: Fri, 23 Mar 2007 10:30:38 -0700 From: Vizion <vizion@vizion.occoxmail.com> To: <freebsd-questions@freebsd.org> Subject: Re: samba3 compile failure Message-ID: <20070323173038.BFKG2045.dukecmmtao03.coxmail.com@dukecmmtao03>
next in thread | raw e-mail | index | archive | help
> -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of > Garrett Cooper > Sent: Friday, March 23, 2007 7:55 AM > To: freebsd-questions@freebsd.org > Subject: Re: samba3 compile failure > > Vizion wrote: > > I am trying to compile samba... > > > > Is the cause something up with my kerberos installation > (see errors below)? > > If so I do not know how to fix it :-( > > > > If not what and how can I fix it?? > > > > Is any more information needed to help identify the cause > of the compile failure? > > > > Thanks in advance for any help you can give > > david > > -------------------------------------------------- > > Compiling lib/smbldap_util.c > > Compiling smbd/server.c > > Linking bin/smbd > > libsmb/clikrb5.o(.text+0x109c): In function > > `smb_krb5_get_keyinfo_from_ap_req': > > : undefined reference to `krb5_decode_ap_req' > > libsmb/clikrb5.o(.text+0x1423): In function > > `smb_krb5_principal_compare_any_realm': > > : undefined reference to `krb5_principal_compare_any_realm' > > libsmb/clikrb5.o(.text+0x1833): In function `smb_krb5_free_error': > > : undefined reference to `krb5_free_error_contents' > > libads/kerberos_keytab.o(.text+0x1b3): In function > `smb_krb5_kt_add_entry': > > : undefined reference to `krb5_kt_compare' > > /usr/lib/libgssapi.so: undefined reference to `krb5_rd_cred2' > > /usr/lib/libgssapi.so: undefined reference to `krb5_crypto_destroy' > > /usr/lib/libgssapi.so: undefined reference to `krb5_ret_address' > > /usr/lib/libgssapi.so: undefined reference to `krb5_ret_data' > > /usr/lib/libgssapi.so: undefined reference to `krb5_ret_keyblock' > > /usr/lib/libgssapi.so: undefined reference to > `krb5_auth_con_setremotesubkey' > > /usr/lib/libgssapi.so: undefined reference to `krb5_data_free' > > /usr/lib/libgssapi.so: undefined reference to > `krb5_config_get_strings' > > /usr/lib/libgssapi.so: undefined reference to > `krb5_auth_con_setlocalsubkey' > > /usr/lib/libgssapi.so: undefined reference to > > `krb5_auth_con_generatelocalsubkey' > > /usr/lib/libgssapi.so: undefined reference to > `krb5_sockaddr2address' > > /usr/lib/libgssapi.so: undefined reference to `krb5_cc_get_ops' > > /usr/lib/libgssapi.so: undefined reference to > `krb5_get_default_principal' > > /usr/lib/libgssapi.so: undefined reference to `krb5_cc_copy_cache' > > /usr/lib/libasn1.so: undefined reference to `init_error_table' > > /usr/lib/libgssapi.so: undefined reference to `krb5_auth_con_setkey' > > /usr/lib/libgssapi.so: undefined reference to > `krb5_get_forwarded_creds' > > /usr/lib/libgssapi.so: undefined reference to `krb5_get_err_text' > > /usr/lib/libgssapi.so: undefined reference to `krb5_ret_int32' > > /usr/lib/libgssapi.so: undefined reference to `krb5_h_addr2sockaddr' > > /usr/lib/libgssapi.so: undefined reference to > `krb5_build_authenticator' > > /usr/lib/libgssapi.so: undefined reference to `krb5_build_ap_req' > > /usr/lib/libgssapi.so: undefined reference to > `krb5_auth_getremoteseqnumber' > > /usr/lib/libgssapi.so: undefined reference to `krb5_data_zero' > > /usr/lib/libgssapi.so: undefined reference to `krb5_storage_free' > > /usr/lib/libgssapi.so: undefined reference to > `krb5_config_free_strings' > > /usr/lib/libgssapi.so: undefined reference to `krb5_create_checksum' > > /usr/lib/libgssapi.so: undefined reference to > `krb5_generate_random_block' > > /usr/lib/libgssapi.so: undefined reference to `krb5_crypto_init' > > /usr/lib/libgssapi.so: undefined reference to > `krb5_enctype_to_keytype' > > /usr/lib/libgssapi.so: undefined reference to > `krb5_free_creds_contents' > > /usr/lib/libgssapi.so: undefined reference to > `krb5_storage_from_mem' > > /usr/lib/libgssapi.so: undefined reference to `krb5_store_address' > > /usr/lib/libgssapi.so: undefined reference to `krb5_decrypt_ivec' > > /usr/lib/libasn1.so: undefined reference to > `initialize_error_table_r' > > /usr/lib/libgssapi.so: undefined reference to `krb5_store_int16' > > /usr/lib/libgssapi.so: undefined reference to `krb5_ret_int16' > > /usr/lib/libgssapi.so: undefined reference to > `krb5_get_error_string' > > /usr/lib/libgssapi.so: undefined reference to `krb5_principal_match' > > /usr/lib/libgssapi.so: undefined reference to > > `krb5_auth_con_setlocalseqnumber' > > /usr/lib/libgssapi.so: undefined reference to `krb5_storage_to_data' > > /usr/lib/libgssapi.so: undefined reference to `krb5_store_int32' > > /usr/lib/libgssapi.so: undefined reference to `krb5_encrypt_ivec' > > /usr/lib/libgssapi.so: undefined reference to `krb5_storage_emem' > > /usr/lib/libgssapi.so: undefined reference to `krb5_store_data' > > /usr/lib/libgssapi.so: undefined reference to > > `krb5_auth_con_setremoteseqnumber' > > /usr/lib/libgssapi.so: undefined reference to > `krb5_principal_get_realm' > > /usr/lib/libgssapi.so: undefined reference to > `krb5_set_error_string' > > /usr/lib/libgssapi.so: undefined reference to `krb5_make_principal' > > /usr/lib/libgssapi.so: undefined reference to `krb5_store_keyblock' > > *** Error code 1 > > > > Stop in /usr/ports/net/samba3/work/samba-3.0.24/source. > > *** Error code 1 > > > > Stop in /usr/ports/net/samba3. > > [root@dns1 /usr/ports/net/samba3]# > > According to that you're missing kerberos5 (part of the base > system). So > you can either install kerberos, or change the kerberos property with > make config in the dependencies tree (security/libtasn1?) > > -Garrett Sorry I do not have enough knowledge to know what to do based on your reply. I have installed security/libtasn1 -- there seem to be no man pages for it -- and I do not know what to do with it <chuckles>. I am still getting the same errors from attempts to compile samba. Where do I go from here? Thanks david
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070323173038.BFKG2045.dukecmmtao03.coxmail.com>