[Samba] Help Compiling Samba3

Fezile Dyele F.Dyele at ru.ac.za
Thu Jan 16 20:14:00 GMT 2003


Hi all

I'm running FreeBSD 4.7 STABLE. I've just install krb5, and now when I compile 
samba-3.0a20 I goes through till it gets to the following:

Linking bin/smbd
/usr/local/lib/libkrb5.a(fcc_gennew.o): In function `krb5_fcc_generate_new':
fcc_gennew.o(.text+0x6a): warning: mktemp() possibly used unsafely; consider 
using mkstemp()
/usr/local/lib/libgssapi_krb5.a(accept_sec_context.o): In function 
`rd_and_store_for_creds':
accept_sec_context.o(.text+0x7b): undefined reference to `krb5_rd_cred'
accept_sec_context.o(.text+0xd7): undefined reference to `krb5_rd_cred'
/usr/local/lib/libgssapi_krb5.a(accept_sec_context.o): In function 
`krb5_gss_accept_sec_context':
accept_sec_context.o(.text+0x1207): undefined reference to `krb5_mk_rep'
accept_sec_context.o(.text+0x1779): undefined reference to `krb5_mk_error'
/usr/local/lib/libgssapi_krb5.a(acquire_cred.o): In function 
`acquire_accept_cred':
acquire_cred.o(.text+0x64): undefined reference to `krb5_sname_to_principal'
/usr/local/lib/libgssapi_krb5.a(gssapi_krb5.o): In function `kg_get_context':
gssapi_krb5.o(.text+0xea): undefined reference to `krb5_ser_context_init'
gssapi_krb5.o(.text+0x10e): undefined reference to `krb5_ser_auth_context_init'
gssapi_krb5.o(.text+0x132): undefined reference to `krb5_ser_ccache_init'
gssapi_krb5.o(.text+0x152): undefined reference to `krb5_ser_rcache_init'
gssapi_krb5.o(.text+0x192): undefined reference to `krb5_ser_auth_context_init'
/usr/local/lib/libgssapi_krb5.a(import_name.o): In function 
`krb5_gss_import_name':
import_name.o(.text+0x167): undefined reference to `krb5_sname_to_principal'
/usr/local/lib/libgssapi_krb5.a(init_sec_context.o): In function 
`make_ap_req_v1':
init_sec_context.o(.text+0x24b): undefined reference to `krb5_fwd_tgt_creds'
/usr/local/lib/libgssapi_krb5.a(init_sec_context.o): In function 
`krb5_gss_init_sec_context':
init_sec_context.o(.text+0x125a): undefined reference to `krb5_free_cksumtypes'
*** Error code 1

Stop in /usr/ports/net/samba-devel/work/samba-3.0alpha20/source.
*** Error code 1

Stop in /usr/ports/net/samba-devel.
bash-2.05b#



More information about the samba mailing list