ocserv fails to build with gssapi support
Carlos J Puga Medina
cpm at fbsd.es
Mon Sep 14 13:54:57 PDT 2015
Hi people,
Trying to build ocserv with gssapi support enabled fails. Here it is
the build log output (only the relevant lines)
<snip>
CCLD ocpasswd
CCLD occtl
CCLD ocserv
/usr/local/lib/libgssapi_krb5.so: undefined reference to
`krb5_ser_ccache_init'
/usr/local/lib/libgssapi_krb5.so: undefined reference to
`krb5_rd_rep_dce'
/usr/local/lib/libgssapi_krb5.so: undefined reference to
`krb5int_init_context_kdc'
/usr/local/lib/libgssapi_krb5.so: undefined reference to
`krb5int_cc_default'
/usr/local/lib/libgssapi_krb5.so: undefined reference to
`krb5_auth_con_getrecvsubkey_k'
/usr/local/lib/libgssapi_krb5.so: undefined reference to
`decode_krb5_iakerb_finished'
/usr/local/lib/libgssapi_krb5.so: undefined reference to
`krb5_authdata_free_internal'
/usr/local/lib/libgssapi_krb5.so: undefined reference to
`krb5_init_creds_set_keytab'
/usr/local/lib/libgssapi_krb5.so: undefined reference to
`krb5_auth_con_set_checksum_func'
/usr/local/lib/libgssapi_krb5.so: undefined reference to
`krb5_cccol_have_content'
/usr/local/lib/libgssapi_krb5.so: undefined reference to
`krb5_auth_con_set_authdata_context'
/usr/local/lib/libgssapi_krb5.so: undefined reference to
`krb5_authdata_set_attribute'
/usr/local/lib/libgssapi_krb5.so: undefined reference to
`krb5_ser_unpack_bytes'
/usr/local/lib/libgssapi_krb5.so: undefined reference to
`krb5_ser_context_init'
/usr/local/lib/libgssapi_krb5.so: undefined reference to
`krb5_auth_con_get_authdata_context'
/usr/local/lib/libgssapi_krb5.so: undefined reference to
`krb5_init_creds_step'
/usr/local/lib/libgssapi_krb5.so: undefined reference to
`krb5int_accessor'
/usr/local/lib/libgssapi_krb5.so: undefined reference to
`krb5_ser_rcache_init'
/usr/local/lib/libgssapi_krb5.so: undefined reference to
`krb5_ser_pack_int32'
/usr/local/lib/libgssapi_krb5.so: undefined reference to
`add_error_table'
/usr/local/lib/libgssapi_krb5.so: undefined reference to
`krb5_tkt_creds_free'
/usr/local/lib/libgssapi_krb5.so: undefined reference to `krb5_cc_dup'
/usr/local/lib/libgssapi_krb5.so: undefined reference to
`krb5_authdata_export_authdata'
/usr/local/lib/libgssapi_krb5.so: undefined reference to
`krb5_tkt_creds_step'
/usr/local/lib/libgssapi_krb5.so: undefined reference to
`krb5_tkt_creds_init'
/usr/local/lib/libgssapi_krb5.so: undefined reference to
`krb5_size_opaque'
/usr/local/lib/libgssapi_krb5.so: undefined reference to
`decode_krb5_iakerb_header'
/usr/local/lib/libgssapi_krb5.so: undefined reference to
`krb5_ser_auth_context_init'
/usr/local/lib/libgssapi_krb5.so: undefined reference to
`krb5int_free_data_list'
/usr/local/lib/libgssapi_krb5.so: undefined reference to
`krb5_auth_con_set_req_cksumtype'
/usr/local/lib/libgssapi_krb5.so: undefined reference to
`krb5_authdata_context_free'
/usr/local/lib/libgssapi_krb5.so: undefined reference to
`krb5_authdata_get_attribute'
/usr/local/lib/libgssapi_krb5.so: undefined reference to
`krb5_free_iakerb_finished'
/usr/local/lib/libgssapi_krb5.so: undefined reference to
`krb5_ser_keytab_init'
/usr/local/lib/libgssapi_krb5.so: undefined reference to
`krb5_init_creds_get_times'
/usr/local/lib/libgssapi_krb5.so: undefined reference to
`krb5_auth_con_setsendsubkey_k'
/usr/local/lib/libgssapi_krb5.so: undefined reference to
`krb5_free_ap_req'
/usr/local/lib/libgssapi_krb5.so: undefined reference to
`krb5_tkt_creds_get_times'
/usr/local/lib/libgssapi_krb5.so: undefined reference to
`decode_krb5_error'
/usr/local/lib/libgssapi_krb5.so: undefined reference to
`krb5_ser_unpack_int32'
/usr/local/lib/libgssapi_krb5.so: undefined reference to
`krb5_cc_copy_creds'
/usr/local/lib/libgssapi_krb5.so: undefined reference to
`krb5_sname_match'
/usr/local/lib/libgssapi_krb5.so: undefined reference to
`krb5_mk_rep_dce'
/usr/local/lib/libgssapi_krb5.so: undefined reference to
`krb5_authdata_export_attributes'
/usr/local/lib/libgssapi_krb5.so: undefined reference to
`krb5_auth_con_setpermetypes'
/usr/local/lib/libgssapi_krb5.so: undefined reference to
`krb5_authdata_import_attributes'
/usr/local/lib/libgssapi_krb5.so: undefined reference to
`k5_change_error_message_code'
/usr/local/lib/libgssapi_krb5.so: undefined reference to
`krb5_get_init_creds_opt_set_out_ccache'
/usr/local/lib/libgssapi_krb5.so: undefined reference to
`krb5_auth_con_getsendsubkey_k'
/usr/local/lib/libgssapi_krb5.so: undefined reference to
`krb5_authdata_context_init'
/usr/local/lib/libgssapi_krb5.so: undefined reference to
`krb5_free_authdata'
/usr/local/lib/libgssapi_krb5.so: undefined reference to
`krb5_merge_authdata'
/usr/local/lib/libgssapi_krb5.so: undefined reference to
`krb5_authdata_export_internal'
/usr/local/lib/libgssapi_krb5.so: undefined reference to
`krb5_free_iakerb_header'
/usr/local/lib/libgssapi_krb5.so: undefined reference to
`krb5_rc_recover_or_initialize'
/usr/local/lib/libgssapi_krb5.so: undefined reference to
`encode_krb5_iakerb_finished'
/usr/local/lib/libgssapi_krb5.so: undefined reference to
`krb5_authdata_delete_attribute'
/usr/local/lib/libgssapi_krb5.so: undefined reference to
`krb5_authdata_context_copy'
/usr/local/lib/libgssapi_krb5.so: undefined reference to
`k5_kt_get_principal'
/usr/local/lib/libgssapi_krb5.so: undefined reference to
`krb5_free_keytab_entry_contents'
/usr/local/lib/libgssapi_krb5.so: undefined reference to
`krb5_auth_con_getsendsubkey'
/usr/local/lib/libgssapi_krb5.so: undefined reference to
`krb5_anonymous_principal'
/usr/local/lib/libgssapi_krb5.so: undefined reference to
`krb5_init_creds_init'
/usr/local/lib/libgssapi_krb5.so: undefined reference to `krb5_kt_dup'
/usr/local/lib/libgssapi_krb5.so: undefined reference to
`krb5_rd_req_decoded'
/usr/local/lib/libgssapi_krb5.so: undefined reference to
`krb5_cc_select'
/usr/local/lib/libgssapi_krb5.so: undefined reference to
`krb5_init_creds_free'
/usr/local/lib/libgssapi_krb5.so: undefined reference to
`krb5int_copy_data_contents_add0'
/usr/local/lib/libgssapi_krb5.so: undefined reference to
`remove_error_table'
/usr/local/lib/libgssapi_krb5.so: undefined reference to
`encode_krb5_iakerb_header'
/usr/local/lib/libgssapi_krb5.so: undefined reference to
`krb5_externalize_opaque'
/usr/local/lib/libgssapi_krb5.so: undefined reference to
`krb5_set_default_tgs_enctypes'
/usr/local/lib/libgssapi_krb5.so: undefined reference to
`krb5_auth_con_setuseruserkey'
/usr/local/lib/libgssapi_krb5.so: undefined reference to
`krb5_get_credentials_for_user'
/usr/local/lib/libgssapi_krb5.so: undefined reference to
`krb5_internalize_opaque'
/usr/local/lib/libgssapi_krb5.so: undefined reference to
`krb5_ser_pack_bytes'
/usr/local/lib/libgssapi_krb5.so: undefined reference to
`krb5_init_creds_set_password'
/usr/local/lib/libgssapi_krb5.so: undefined reference to
`krb5_free_tgt_creds'
/usr/local/lib/libgssapi_krb5.so: undefined reference to
`decode_krb5_ap_req'
/usr/local/lib/libgssapi_krb5.so: undefined reference to
`encode_krb5_ticket'
/usr/local/lib/libgssapi_krb5.so: undefined reference to
`krb5_auth_con_getkey_k'
/usr/local/lib/libgssapi_krb5.so: undefined reference to
`krb5_kt_client_default'
/usr/local/lib/libgssapi_krb5.so: undefined reference to
`krb5_authdata_get_attribute_types'
cc: error: linker command failed with exit code 1 (use -v to see
invocation)
Makefile:1365: recipe for target 'ocserv' failed
gmake[6]: *** [ocserv] Error 1
gmake[6]: Leaving directory '/usr/ports/net/ocserv/work/ocserv
-0.10.8/src'
Makefile:1477: recipe for target 'all-recursive' failed
gmake[5]: *** [all-recursive] Error 1
gmake[5]: Leaving directory '/usr/ports/net/ocserv/work/ocserv
-0.10.8/src'
Makefile:1140: recipe for target 'all' failed
gmake[4]: *** [all] Error 2
gmake[4]: Leaving directory '/usr/ports/net/ocserv/work/ocserv
-0.10.8/src'
Makefile:1006: recipe for target 'all-recursive' failed
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory '/usr/ports/net/ocserv/work/ocserv-0.10.8'
Makefile:947: recipe for target 'all' failed
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory '/usr/ports/net/ocserv/work/ocserv-0.10.8'
===> Compilation failed unexpectedly.
For more details, see the following problem report
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202936
Is there anyone who has experienced such problem?
--
Carlos Jacobo Puga Medina <cpm at fbsd.es>
PGP fingerprint = C60E 9497 5302 793B CC2D BB89 A1F3 5D66 E6D0 5453
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/openconnect-devel/attachments/20150914/9484077e/attachment.sig>
More information about the openconnect-devel
mailing list