Samba fails to compile well, really if fails to link.
I trying to compile this on a freshly built SuSE 8.2
machine... This is very easy to reproduce... Download
the latest samba 3.0 alpha and krb5-1.3alpha2.tar.qz
for MIT.
Below is the error:
Linking bin/smbd
/usr/local/lib/libkrb5.a(cc_file.o)(.text+0x1d90): In function `krb5_fcc_generate_new':
/usr/src/extras/krb5-1.3-alpha2/src/lib/krb5/ccache/cc_file.c:2063: the use of `mktemp' is dangerous, better use `mkstemp'
/usr/local/lib/libgssapi_krb5.a(accept_sec_context.o)(.text+0x6f): In function `rd_and_store_for_creds':
/usr/src/extras/krb5-1.3-alpha2/src/lib/gssapi/krb5/accept_sec_context.c:121: undefined reference to `krb5_rd_cred'
/usr/local/lib/libgssapi_krb5.a(accept_sec_context.o)(.text+0xb0):/usr/src/extras/krb5-1.3-alpha2/src/lib/gssapi/krb5/accept_sec_context.c:125: undefined reference to `krb5_rd_cred'
/usr/local/lib/libgssapi_krb5.a(accept_sec_context.o)(.text+0x6ff): In function `krb5_gss_accept_sec_context':
/usr/src/extras/krb5-1.3-alpha2/src/lib/gssapi/krb5/accept_sec_context.c:866: undefined reference to `krb5_mk_error'
/usr/local/lib/libgssapi_krb5.a(gssapi_krb5.o)(.text+0x102): In function `kg_get_context':
/usr/src/extras/krb5-1.3-alpha2/src/lib/gssapi/krb5/gssapi_krb5.c:185: undefined reference to `krb5_ser_context_init'
/usr/local/lib/libgssapi_krb5.a(gssapi_krb5.o)(.text+0x11b):/usr/src/extras/krb5-1.3-alpha2/src/lib/gssapi/krb5/gssapi_krb5.c:187: undefined reference to `krb5_ser_auth_context_init'
/usr/local/lib/libgssapi_krb5.a(gssapi_krb5.o)(.text+0x130):/usr/src/extras/krb5-1.3-alpha2/src/lib/gssapi/krb5/gssapi_krb5.c:189: undefined reference to `krb5_ser_ccache_init'
/usr/local/lib/libgssapi_krb5.a(gssapi_krb5.o)(.text+0x145):/usr/src/extras/krb5-1.3-alpha2/src/lib/gssapi/krb5/gssapi_krb5.c:191: undefined reference to `krb5_ser_rcache_init'
/usr/local/lib/libgssapi_krb5.a(gssapi_krb5.o)(.text+0x170):/usr/src/extras/krb5-1.3-alpha2/src/lib/gssapi/krb5/gssapi_krb5.c:195: undefined reference to `krb5_ser_auth_context_init'
/usr/local/lib/libgssapi_krb5.a(import_name.o)(.text+0x1eb): In function `krb5_gss_import_name':
/usr/src/extras/krb5-1.3-alpha2/src/lib/gssapi/krb5/import_name.c:93: undefined reference to `krb5_sname_to_principal'
/usr/local/lib/libgssapi_krb5.a(init_sec_context.o)(.text+0x242): In function `make_gss_checksum':
/usr/src/extras/krb5-1.3-alpha2/src/lib/gssapi/krb5/init_sec_context.c:169: undefined reference to `krb5_fwd_tgt_creds'
/usr/local/lib/libgssapi_krb5.a(init_sec_context.o)(.text+0x93d): In function `krb5_gss_init_sec_context':
/usr/src/extras/krb5-1.3-alpha2/src/lib/gssapi/krb5/init_sec_context.c:833: undefined reference to `krb5_free_cksumtypes'
/usr/local/lib/libgssapi_krb5.a(util_crypt.o)(.text+0x28b): In function `kg_arcfour_docrypt':
/usr/src/extras/krb5-1.3-alpha2/src/lib/gssapi/krb5/util_crypt.c:202: undefined reference to `krb5int_accessor'
collect2: ld returned 1 exit status
make: *** [bin/smbd] Error 1
linuxsvr:/usr/src/extras/samba-3.0alpha23/source #
-----------------------------------------------------------
Any information would be great!
Thanks in advance...
Tim...
tcadmin@attbi.com
I trying to compile this on a freshly built SuSE 8.2
machine... This is very easy to reproduce... Download
the latest samba 3.0 alpha and krb5-1.3alpha2.tar.qz
for MIT.
Below is the error:
Linking bin/smbd
/usr/local/lib/libkrb5.a(cc_file.o)(.text+0x1d90): In function `krb5_fcc_generate_new':
/usr/src/extras/krb5-1.3-alpha2/src/lib/krb5/ccache/cc_file.c:2063: the use of `mktemp' is dangerous, better use `mkstemp'
/usr/local/lib/libgssapi_krb5.a(accept_sec_context.o)(.text+0x6f): In function `rd_and_store_for_creds':
/usr/src/extras/krb5-1.3-alpha2/src/lib/gssapi/krb5/accept_sec_context.c:121: undefined reference to `krb5_rd_cred'
/usr/local/lib/libgssapi_krb5.a(accept_sec_context.o)(.text+0xb0):/usr/src/extras/krb5-1.3-alpha2/src/lib/gssapi/krb5/accept_sec_context.c:125: undefined reference to `krb5_rd_cred'
/usr/local/lib/libgssapi_krb5.a(accept_sec_context.o)(.text+0x6ff): In function `krb5_gss_accept_sec_context':
/usr/src/extras/krb5-1.3-alpha2/src/lib/gssapi/krb5/accept_sec_context.c:866: undefined reference to `krb5_mk_error'
/usr/local/lib/libgssapi_krb5.a(gssapi_krb5.o)(.text+0x102): In function `kg_get_context':
/usr/src/extras/krb5-1.3-alpha2/src/lib/gssapi/krb5/gssapi_krb5.c:185: undefined reference to `krb5_ser_context_init'
/usr/local/lib/libgssapi_krb5.a(gssapi_krb5.o)(.text+0x11b):/usr/src/extras/krb5-1.3-alpha2/src/lib/gssapi/krb5/gssapi_krb5.c:187: undefined reference to `krb5_ser_auth_context_init'
/usr/local/lib/libgssapi_krb5.a(gssapi_krb5.o)(.text+0x130):/usr/src/extras/krb5-1.3-alpha2/src/lib/gssapi/krb5/gssapi_krb5.c:189: undefined reference to `krb5_ser_ccache_init'
/usr/local/lib/libgssapi_krb5.a(gssapi_krb5.o)(.text+0x145):/usr/src/extras/krb5-1.3-alpha2/src/lib/gssapi/krb5/gssapi_krb5.c:191: undefined reference to `krb5_ser_rcache_init'
/usr/local/lib/libgssapi_krb5.a(gssapi_krb5.o)(.text+0x170):/usr/src/extras/krb5-1.3-alpha2/src/lib/gssapi/krb5/gssapi_krb5.c:195: undefined reference to `krb5_ser_auth_context_init'
/usr/local/lib/libgssapi_krb5.a(import_name.o)(.text+0x1eb): In function `krb5_gss_import_name':
/usr/src/extras/krb5-1.3-alpha2/src/lib/gssapi/krb5/import_name.c:93: undefined reference to `krb5_sname_to_principal'
/usr/local/lib/libgssapi_krb5.a(init_sec_context.o)(.text+0x242): In function `make_gss_checksum':
/usr/src/extras/krb5-1.3-alpha2/src/lib/gssapi/krb5/init_sec_context.c:169: undefined reference to `krb5_fwd_tgt_creds'
/usr/local/lib/libgssapi_krb5.a(init_sec_context.o)(.text+0x93d): In function `krb5_gss_init_sec_context':
/usr/src/extras/krb5-1.3-alpha2/src/lib/gssapi/krb5/init_sec_context.c:833: undefined reference to `krb5_free_cksumtypes'
/usr/local/lib/libgssapi_krb5.a(util_crypt.o)(.text+0x28b): In function `kg_arcfour_docrypt':
/usr/src/extras/krb5-1.3-alpha2/src/lib/gssapi/krb5/util_crypt.c:202: undefined reference to `krb5int_accessor'
collect2: ld returned 1 exit status
make: *** [bin/smbd] Error 1
linuxsvr:/usr/src/extras/samba-3.0alpha23/source #
-----------------------------------------------------------
Any information would be great!
Thanks in advance...
Tim...
tcadmin@attbi.com