[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Problem building Heimdal appl.
Hi!
I have got some troubles trying to building a little application using
Heimdal API. I using a machine running Debian Woody with heimdal .0.5.1
with kth-krb 1.2.1 for krb4 support.
What I'm trying to do is to verify user identity using kerberos5 (), so
I add use the following few lines of code:
....
....
//Initialize the KRB environement
if (krb5_init_context (&context) <0)
return KRB5_ENV_ERROR;
if (krb5_cc_gen_new (context, &krb5_fcc_ops, &ccache)!=0)
return KRB5_ENV_ERROR;
//Create the KRB5 principal
if (krb5_make_principal (context,&princ,realm,usr,istance,NULL)!=0)
return MALFORMED_NAME;
//Verify the KRB credential
error=krb5_verify_user (context,princ,ccache,pass,FALSE,NULL);
//Free the KRB context
krb5_cc_destroy (context, ccache);
krb5_free_principal (context, princ);
krb5_free_context (context);
....
....
When I try to compile this code I get the long list of undefined
references I send you in attachment. I have compiled the code with the
following libraries in this order: -lpq -lroken -lasn1 -lkrb -lkrb5
-ldes -lresolv
Note that I added krb4 because I wanted to use krb5 or krb5 foer
backcompatibility with previous version of the tool. "-lpq" is the
posgresql library.
I have tried many things without any result, now I try to ask...
Thanks in advance!
Enrico.
/usr/heimdal/lib/libkrb5.a(cache.o): In function `krb5_cc_default_name':
/usr/local/src/heimdal-0.5.1/lib/krb5/cache.c:194: undefined reference to `strlcpy'
/usr/heimdal/lib/libkrb5.a(context.o): In function `init_context_from_config_file':
/usr/local/src/heimdal-0.5.1/lib/krb5/context.c:109: undefined reference to `issuid'
/usr/local/src/heimdal-0.5.1/lib/krb5/context.c:135: undefined reference to `roken_gethostby_setup'
/usr/heimdal/lib/libkrb5.a(context.o): In function `krb5_get_default_config_files':
/usr/local/src/heimdal-0.5.1/lib/krb5/context.c:280: undefined reference to `issuid'
/usr/local/src/heimdal-0.5.1/lib/krb5/context.c:285: undefined reference to `strsep_copy'
/usr/local/src/heimdal-0.5.1/lib/krb5/context.c:303: undefined reference to `strsep_copy'
/usr/local/src/heimdal-0.5.1/lib/krb5/context.c:295: undefined reference to `strsep_copy'
/usr/heimdal/lib/libkrb5.a(context.o): In function `krb5_init_ets':
/usr/local/src/heimdal-0.5.1/lib/krb5/context.c:423: undefined reference to `initialize_asn1_error_table_r'
/usr/heimdal/lib/libkrb5.a(creds.o): In function `krb5_free_creds_contents':
/usr/local/src/heimdal-0.5.1/lib/krb5/creds.c:54: undefined reference to `free_AuthorizationData'
/usr/heimdal/lib/libkrb5.a(creds.o): In function `krb5_copy_creds_contents':
/usr/local/src/heimdal-0.5.1/lib/krb5/creds.c:87: undefined reference to `copy_AuthorizationData'
/usr/heimdal/lib/libkrb5.a(crypto.o): In function `encrypt_internal_derived':
/usr/local/src/heimdal-0.5.1/lib/krb5/crypto.c:2294: undefined reference to `free_Checksum'
/usr/local/src/heimdal-0.5.1/lib/krb5/crypto.c:2301: undefined reference to `free_Checksum'
/usr/heimdal/lib/libkrb5.a(crypto.o): In function `encrypt_internal':
/usr/local/src/heimdal-0.5.1/lib/krb5/crypto.c:2364: undefined reference to `free_Checksum'
/usr/local/src/heimdal-0.5.1/lib/krb5/crypto.c:2370: undefined reference to `free_Checksum'
/usr/heimdal/lib/libkrb5.a(crypto.o): In function `decrypt_internal':
/usr/local/src/heimdal-0.5.1/lib/krb5/crypto.c:2549: undefined reference to `free_Checksum'
/usr/heimdal/lib/libkrb5.a(data.o): In function `krb5_copy_data':
/usr/local/src/heimdal-0.5.1/lib/krb5/data.c:107: undefined reference to `copy_octet_string'
/usr/heimdal/lib/libkrb5.a(keyblock.o): In function `krb5_copy_keyblock_contents':
/usr/local/src/heimdal-0.5.1/lib/krb5/keyblock.c:64: undefined reference to `copy_EncryptionKey'
/usr/heimdal/lib/libkrb5.a(keytab.o): In function `krb5_kt_default_name':
/usr/local/src/heimdal-0.5.1/lib/krb5/keytab.c:124: undefined reference to `strlcpy'
/usr/heimdal/lib/libkrb5.a(keytab.o): In function `krb5_kt_default_modify_name':
/usr/local/src/heimdal-0.5.1/lib/krb5/keytab.c:149: undefined reference to `strlcpy'
/usr/local/src/heimdal-0.5.1/lib/krb5/keytab.c:155: undefined reference to `strlcpy'
/usr/heimdal/lib/libkrb5.a(keytab_any.o): In function `any_resolve':
/usr/local/src/heimdal-0.5.1/lib/krb5/keytab_any.c:88: undefined reference to `strsep_copy'
/usr/heimdal/lib/libkrb5.a(keytab_any.o): In function `any_get_name':
/usr/local/src/heimdal-0.5.1/lib/krb5/keytab_any.c:107: undefined reference to `strlcpy'
/usr/heimdal/lib/libkrb5.a(keytab_file.o): In function `fkt_get_name':
/usr/local/src/heimdal-0.5.1/lib/krb5/keytab_file.c:270: undefined reference to `strlcpy'
/usr/heimdal/lib/libkrb5.a(keytab_memory.o): In function `mkt_get_name':
/usr/local/src/heimdal-0.5.1/lib/krb5/keytab_memory.c:78: undefined reference to `strlcpy'
/usr/heimdal/lib/libkrb5.a(keytab_keyfile.o): In function `akf_get_name':
/usr/local/src/heimdal-0.5.1/lib/krb5/keytab_keyfile.c:179: undefined reference to `strlcpy'
/usr/heimdal/lib/libkrb5.a(keytab_krb4.o): In function `krb4_kt_get_name':
/usr/local/src/heimdal-0.5.1/lib/krb5/keytab_krb4.c:70: undefined reference to `strlcpy'
/usr/heimdal/lib/libkrb5.a(log.o): In function `krb5_addlog_dest':
/usr/local/src/heimdal-0.5.1/lib/krb5/log.c:324: undefined reference to `strsep_copy'
/usr/local/src/heimdal-0.5.1/lib/krb5/log.c:325: undefined reference to `strsep_copy'
/usr/local/src/heimdal-0.5.1/lib/krb5/log.c:327: undefined reference to `strlcpy'
/usr/local/src/heimdal-0.5.1/lib/krb5/log.c:329: undefined reference to `strlcpy'
/usr/heimdal/lib/libkrb5.a(principal.o): In function `krb5_free_principal':
/usr/local/src/heimdal-0.5.1/lib/krb5/principal.c:57: undefined reference to `free_Principal'
/usr/heimdal/lib/libkrb5.a(principal.o): In function `krb5_copy_principal':
/usr/local/src/heimdal-0.5.1/lib/krb5/principal.c:547: undefined reference to `copy_Principal'
/usr/heimdal/lib/libkrb5.a(principal.o): In function `krb5_425_conv_principal_ext':
/usr/local/src/heimdal-0.5.1/lib/krb5/principal.c:739: undefined reference to `rk_dns_lookup'
/usr/local/src/heimdal-0.5.1/lib/krb5/principal.c:745: undefined reference to `rk_dns_lookup'
/usr/local/src/heimdal-0.5.1/lib/krb5/principal.c:748: undefined reference to `rk_dns_free_data'
/usr/local/src/heimdal-0.5.1/lib/krb5/principal.c:776: undefined reference to `strlwr'
/usr/local/src/heimdal-0.5.1/lib/krb5/principal.c:809: undefined reference to `strlcpy'
/usr/local/src/heimdal-0.5.1/lib/krb5/principal.c:791: undefined reference to `strlwr'
/usr/heimdal/lib/libkrb5.a(principal.o): In function `krb5_524_conv_principal':
/usr/local/src/heimdal-0.5.1/lib/krb5/principal.c:1014: undefined reference to `strlcpy'
/usr/local/src/heimdal-0.5.1/lib/krb5/principal.c:1021: undefined reference to `strlcpy'
/usr/local/src/heimdal-0.5.1/lib/krb5/principal.c:1026: undefined reference to `strlcpy'
/usr/local/src/heimdal-0.5.1/lib/krb5/principal.c:1031: undefined reference to `strlcpy'
/usr/heimdal/lib/libkrb5.a(principal.o): In function `krb5_sname_to_principal':
/usr/local/src/heimdal-0.5.1/lib/krb5/principal.c:1070: undefined reference to `strlwr'
/usr/heimdal/lib/libkrb5.a(store.o): In function `krb5_store_int32':
/usr/local/src/heimdal-0.5.1/lib/krb5/store.c:180: undefined reference to `bswap32'
/usr/heimdal/lib/libkrb5.a(store.o): In function `krb5_ret_int32':
/usr/local/src/heimdal-0.5.1/lib/krb5/store.c:210: undefined reference to `bswap32'
/usr/heimdal/lib/libkrb5.a(store.o): In function `krb5_store_int16':
/usr/local/src/heimdal-0.5.1/lib/krb5/store.c:221: undefined reference to `bswap16'
/usr/heimdal/lib/libkrb5.a(store.o): In function `krb5_ret_int16':
/usr/local/src/heimdal-0.5.1/lib/krb5/store.c:238: undefined reference to `bswap16'
/usr/heimdal/lib/libkrb5.a(store_fd.o): In function `fd_fetch':
/usr/local/src/heimdal-0.5.1/lib/krb5/store_fd.c:48: undefined reference to `net_read'
/usr/heimdal/lib/libkrb5.a(store_fd.o): In function `fd_store':
/usr/local/src/heimdal-0.5.1/lib/krb5/store_fd.c:54: undefined reference to `net_write'
/usr/heimdal/lib/libkrb5.a(time.o): In function `krb5_string_to_deltat':
/usr/local/src/heimdal-0.5.1/lib/krb5/time.c:84: undefined reference to `parse_time'
/usr/heimdal/lib/libkrb5.a(addr_families.o): In function `ipv6_print_addr':
/usr/local/src/heimdal-0.5.1/lib/krb5/addr_families.c:318: undefined reference to `strlcat'
/usr/local/src/heimdal-0.5.1/lib/krb5/addr_families.c:319: undefined reference to `strlcat'
/usr/heimdal/lib/libkrb5.a(addr_families.o): In function `arange_parse_addr':
/usr/local/src/heimdal-0.5.1/lib/krb5/addr_families.c:381: undefined reference to `strsep_copy'
/usr/local/src/heimdal-0.5.1/lib/krb5/addr_families.c:390: undefined reference to `strsep_copy'
/usr/heimdal/lib/libkrb5.a(addr_families.o): In function `arange_print_addr':
/usr/local/src/heimdal-0.5.1/lib/krb5/addr_families.c:464: undefined reference to `strlcpy'
/usr/local/src/heimdal-0.5.1/lib/krb5/addr_families.c:470: undefined reference to `strlcat'
/usr/heimdal/lib/libkrb5.a(addr_families.o): In function `krb5_copy_address':
/usr/local/src/heimdal-0.5.1/lib/krb5/addr_families.c:854: undefined reference to `copy_HostAddress'
/usr/heimdal/lib/libkrb5.a(config_file.o): In function `krb5_config_vget_time_default':
/usr/local/src/heimdal-0.5.1/lib/krb5/config_file.c:624: undefined reference to `parse_time'
/usr/heimdal/lib/libkrb5.a(expand_hostname.o): In function `copy_hostname':
/usr/local/src/heimdal-0.5.1/lib/krb5/expand_hostname.c:48: undefined reference to `strlwr'
/usr/heimdal/lib/libkrb5.a(expand_hostname.o): In function `vanilla_hostname':
/usr/local/src/heimdal-0.5.1/lib/krb5/expand_hostname.c:102: undefined reference to `strlwr'
/usr/heimdal/lib/libkrb5.a(expand_hostname.o): In function `krb5_expand_hostname_realms':
/usr/local/src/heimdal-0.5.1/lib/krb5/expand_hostname.c:142: undefined reference to `strlwr'
/usr/heimdal/lib/libkrb5.a(get_host_realm.o): In function `dns_find_realm':
/usr/local/src/heimdal-0.5.1/lib/krb5/get_host_realm.c:113: undefined reference to `rk_dns_lookup'
/usr/local/src/heimdal-0.5.1/lib/krb5/get_host_realm.c:116: undefined reference to `rk_dns_free_data'
/usr/heimdal/lib/libkrb5.a(get_host_realm.o): In function `krb5_get_host_realm_int':
/usr/local/src/heimdal-0.5.1/lib/krb5/get_host_realm.c:194: undefined reference to `strupr'
/usr/heimdal/lib/libkrb5.a(init_creds_pw.o): In function `change_password':
/usr/local/src/heimdal-0.5.1/lib/krb5/init_creds_pw.c:363: undefined reference to `strlcpy'
/usr/heimdal/lib/libkrb5.a(appdefault.o): In function `krb5_appdefault_boolean':
/usr/local/src/heimdal-0.5.1/lib/krb5/appdefault.c:45: undefined reference to `getprogname'
/usr/heimdal/lib/libkrb5.a(appdefault.o): In function `krb5_appdefault_string':
/usr/local/src/heimdal-0.5.1/lib/krb5/appdefault.c:86: undefined reference to `getprogname'
/usr/heimdal/lib/libkrb5.a(appdefault.o): In function `krb5_appdefault_time':
/usr/local/src/heimdal-0.5.1/lib/krb5/appdefault.c:134: undefined reference to `parse_time'
/usr/heimdal/lib/libkrb5.a(auth_context.o): In function `krb5_auth_con_free':
/usr/local/src/heimdal-0.5.1/lib/krb5/auth_context.c:76: undefined reference to `free_HostAddress'
/usr/local/src/heimdal-0.5.1/lib/krb5/auth_context.c:80: undefined reference to `free_HostAddress'
/usr/heimdal/lib/libkrb5.a(auth_context.o): In function `krb5_auth_con_getauthenticator':
/usr/local/src/heimdal-0.5.1/lib/krb5/auth_context.c:430: undefined reference to `copy_Authenticator'
/usr/heimdal/lib/libkrb5.a(auth_context.o): In function `krb5_free_authenticator':
/usr/local/src/heimdal-0.5.1/lib/krb5/auth_context.c:440: undefined reference to `free_Authenticator'
/usr/heimdal/lib/libkrb5.a(changepw.o): In function `process_reply':
/usr/local/src/heimdal-0.5.1/lib/krb5/changepw.c:222: undefined reference to `decode_KRB_ERROR'
/usr/heimdal/lib/libkrb5.a(free.o): In function `krb5_free_kdc_rep':
/usr/local/src/heimdal-0.5.1/lib/krb5/free.c:41: undefined reference to `free_KDC_REP'
/usr/local/src/heimdal-0.5.1/lib/krb5/free.c:42: undefined reference to `free_EncTGSRepPart'
/usr/local/src/heimdal-0.5.1/lib/krb5/free.c:43: undefined reference to `free_KRB_ERROR'
/usr/heimdal/lib/libkrb5.a(get_cred.o): In function `make_pa_tgs_req':
/usr/local/src/heimdal-0.5.1/lib/krb5/get_cred.c:57: undefined reference to `length_KDC_REQ_BODY'
/usr/local/src/heimdal-0.5.1/lib/krb5/get_cred.c:57: undefined reference to `encode_KDC_REQ_BODY'
/usr/heimdal/lib/libkrb5.a(get_cred.o): In function `set_auth_data':
/usr/local/src/heimdal-0.5.1/lib/krb5/get_cred.c:94: undefined reference to `length_AuthorizationData'
/usr/local/src/heimdal-0.5.1/lib/krb5/get_cred.c:94: undefined reference to `encode_AuthorizationData'
/usr/heimdal/lib/libkrb5.a(get_cred.o): In function `init_tgs_req':
/usr/local/src/heimdal-0.5.1/lib/krb5/get_cred.c:168: undefined reference to `copy_Realm'
/usr/local/src/heimdal-0.5.1/lib/krb5/get_cred.c:181: undefined reference to `copy_PrincipalName'
/usr/local/src/heimdal-0.5.1/lib/krb5/get_cred.c:209: undefined reference to `copy_Ticket'
/usr/local/src/heimdal-0.5.1/lib/krb5/get_cred.c:270: undefined reference to `free_TGS_REQ'
/usr/heimdal/lib/libkrb5.a(get_cred.o): In function `get_cred_kdc_usage':
/usr/local/src/heimdal-0.5.1/lib/krb5/get_cred.c:383: undefined reference to `decode_Ticket'
/usr/local/src/heimdal-0.5.1/lib/krb5/get_cred.c:402: undefined reference to `free_Ticket'
/usr/local/src/heimdal-0.5.1/lib/krb5/get_cred.c:406: undefined reference to `length_TGS_REQ'
/usr/local/src/heimdal-0.5.1/lib/krb5/get_cred.c:406: undefined reference to `encode_TGS_REQ'
/usr/local/src/heimdal-0.5.1/lib/krb5/get_cred.c:414: undefined reference to `free_TGS_REQ'
/usr/local/src/heimdal-0.5.1/lib/krb5/get_cred.c:430: undefined reference to `decode_TGS_REP'
/usr/heimdal/lib/libkrb5.a(get_in_tkt.o): In function `_krb5_extract_ticket':
/usr/local/src/heimdal-0.5.1/lib/krb5/get_in_tkt.c:161: undefined reference to `length_Ticket'
/usr/local/src/heimdal-0.5.1/lib/krb5/get_in_tkt.c:162: undefined reference to `encode_Ticket'
/usr/heimdal/lib/libkrb5.a(get_in_tkt.o): In function `make_pa_enc_timestamp':
/usr/local/src/heimdal-0.5.1/lib/krb5/get_in_tkt.c:322: undefined reference to `length_PA_ENC_TS_ENC'
/usr/local/src/heimdal-0.5.1/lib/krb5/get_in_tkt.c:322: undefined reference to `encode_PA_ENC_TS_ENC'
/usr/local/src/heimdal-0.5.1/lib/krb5/get_in_tkt.c:344: undefined reference to `length_EncryptedData'
/usr/local/src/heimdal-0.5.1/lib/krb5/get_in_tkt.c:344: undefined reference to `encode_EncryptedData'
/usr/local/src/heimdal-0.5.1/lib/krb5/get_in_tkt.c:345: undefined reference to `free_EncryptedData'
/usr/heimdal/lib/libkrb5.a(get_in_tkt.o): In function `init_as_req':
/usr/local/src/heimdal-0.5.1/lib/krb5/get_in_tkt.c:447: undefined reference to `copy_Realm'
/usr/local/src/heimdal-0.5.1/lib/krb5/get_in_tkt.c:585: undefined reference to `free_AS_REQ'
/usr/heimdal/lib/libkrb5.a(get_in_tkt.o): In function `set_ptypes':
/usr/local/src/heimdal-0.5.1/lib/krb5/get_in_tkt.c:601: undefined reference to `decode_METHOD_DATA'
/usr/local/src/heimdal-0.5.1/lib/krb5/get_in_tkt.c:624: undefined reference to `free_METHOD_DATA'
/usr/heimdal/lib/libkrb5.a(get_in_tkt.o): In function `krb5_get_in_cred':
/usr/local/src/heimdal-0.5.1/lib/krb5/get_in_tkt.c:679: undefined reference to `free_ETYPE_INFO'
/usr/local/src/heimdal-0.5.1/lib/krb5/get_in_tkt.c:685: undefined reference to `length_AS_REQ'
/usr/local/src/heimdal-0.5.1/lib/krb5/get_in_tkt.c:685: undefined reference to `encode_AS_REQ'
/usr/local/src/heimdal-0.5.1/lib/krb5/get_in_tkt.c:686: undefined reference to `free_AS_REQ'
/usr/local/src/heimdal-0.5.1/lib/krb5/get_in_tkt.c:698: undefined reference to `decode_AS_REP'
/usr/local/src/heimdal-0.5.1/lib/krb5/get_in_tkt.c:727: undefined reference to `free_KRB_ERROR'
/usr/heimdal/lib/libkrb5.a(get_in_tkt.o): In function `krb5_get_in_tkt':
/usr/local/src/heimdal-0.5.1/lib/krb5/get_in_tkt.c:806: undefined reference to `int2KDCOptions'
/usr/heimdal/lib/libkrb5.a(krbhst.o): In function `srv_find_realm':
/usr/local/src/heimdal-0.5.1/lib/krb5/krbhst.c:84: undefined reference to `rk_dns_lookup'
/usr/local/src/heimdal-0.5.1/lib/krb5/krbhst.c:97: undefined reference to `rk_dns_free_data'
/usr/local/src/heimdal-0.5.1/lib/krb5/krbhst.c:102: undefined reference to `rk_dns_srv_order'
/usr/local/src/heimdal-0.5.1/lib/krb5/krbhst.c:109: undefined reference to `rk_dns_free_data'
/usr/local/src/heimdal-0.5.1/lib/krb5/krbhst.c:130: undefined reference to `rk_dns_free_data'
/usr/heimdal/lib/libkrb5.a(krbhst.o): In function `parse_hostspec':
/usr/local/src/heimdal-0.5.1/lib/krb5/krbhst.c:192: undefined reference to `strsep_copy'
/usr/local/src/heimdal-0.5.1/lib/krb5/krbhst.c:198: undefined reference to `strlwr'
/usr/heimdal/lib/libkrb5.a(mk_priv.o): In function `krb5_mk_priv':
/usr/local/src/heimdal-0.5.1/lib/krb5/mk_priv.c:85: undefined reference to `length_EncKrbPrivPart'
/usr/local/src/heimdal-0.5.1/lib/krb5/mk_priv.c:85: undefined reference to `encode_EncKrbPrivPart'
/usr/local/src/heimdal-0.5.1/lib/krb5/mk_priv.c:113: undefined reference to `length_KRB_PRIV'
/usr/local/src/heimdal-0.5.1/lib/krb5/mk_priv.c:113: undefined reference to `encode_KRB_PRIV'
/usr/heimdal/lib/libkrb5.a(mk_req_ext.o): In function `krb5_mk_req_internal':
/usr/local/src/heimdal-0.5.1/lib/krb5/mk_req_ext.c:143: undefined reference to `free_Checksum'
/usr/heimdal/lib/libkrb5.a(rd_error.o): In function `krb5_rd_error':
/usr/local/src/heimdal-0.5.1/lib/krb5/rd_error.c:47: undefined reference to `decode_KRB_ERROR'
/usr/heimdal/lib/libkrb5.a(rd_error.o): In function `krb5_free_error_contents':
/usr/local/src/heimdal-0.5.1/lib/krb5/rd_error.c:58: undefined reference to `free_KRB_ERROR'
/usr/heimdal/lib/libkrb5.a(rd_priv.o): In function `krb5_rd_priv':
/usr/local/src/heimdal-0.5.1/lib/krb5/rd_priv.c:54: undefined reference to `decode_KRB_PRIV'
/usr/local/src/heimdal-0.5.1/lib/krb5/rd_priv.c:87: undefined reference to `decode_EncKrbPrivPart'
/usr/local/src/heimdal-0.5.1/lib/krb5/rd_priv.c:152: undefined reference to `free_EncKrbPrivPart'
/usr/local/src/heimdal-0.5.1/lib/krb5/rd_priv.c:153: undefined reference to `free_KRB_PRIV'
/usr/local/src/heimdal-0.5.1/lib/krb5/rd_priv.c:157: undefined reference to `free_EncKrbPrivPart'
/usr/local/src/heimdal-0.5.1/lib/krb5/rd_priv.c:160: undefined reference to `free_KRB_PRIV'
/usr/heimdal/lib/libkrb5.a(rd_rep.o): In function `krb5_rd_rep':
/usr/local/src/heimdal-0.5.1/lib/krb5/rd_rep.c:53: undefined reference to `decode_AP_REP'
/usr/local/src/heimdal-0.5.1/lib/krb5/rd_rep.c:107: undefined reference to `free_AP_REP'
/usr/heimdal/lib/libkrb5.a(rd_rep.o): In function `krb5_free_ap_rep_enc_part':
/usr/local/src/heimdal-0.5.1/lib/krb5/rd_rep.c:115: undefined reference to `free_EncAPRepPart'
/usr/heimdal/lib/libkrb5.a(rd_req.o): In function `krb5_decode_ap_req':
/usr/local/src/heimdal-0.5.1/lib/krb5/rd_req.c:111: undefined reference to `decode_AP_REQ'
/usr/local/src/heimdal-0.5.1/lib/krb5/rd_req.c:120: undefined reference to `free_AP_REQ'
/usr/local/src/heimdal-0.5.1/lib/krb5/rd_req.c:125: undefined reference to `free_AP_REQ'
/usr/heimdal/lib/libkrb5.a(rd_req.o): In function `krb5_decrypt_ticket':
/usr/local/src/heimdal-0.5.1/lib/krb5/rd_req.c:155: undefined reference to `free_EncTicketPart'
/usr/local/src/heimdal-0.5.1/lib/krb5/rd_req.c:160: undefined reference to `free_EncTicketPart'
/usr/local/src/heimdal-0.5.1/lib/krb5/rd_req.c:169: undefined reference to `free_EncTicketPart'
/usr/heimdal/lib/libkrb5.a(rd_req.o): In function `krb5_rd_req_with_keyblock':
/usr/local/src/heimdal-0.5.1/lib/krb5/rd_req.c:417: undefined reference to `free_AP_REQ'
/usr/heimdal/lib/libkrb5.a(rd_req.o): In function `krb5_rd_req':
/usr/local/src/heimdal-0.5.1/lib/krb5/rd_req.c:518: undefined reference to `free_AP_REQ'
/usr/heimdal/lib/libkrb5.a(send_to_kdc.o): In function `send_and_recv_tcp':
/usr/local/src/heimdal-0.5.1/lib/krb5/send_to_kdc.c:139: undefined reference to `net_write'
/usr/local/src/heimdal-0.5.1/lib/krb5/send_to_kdc.c:141: undefined reference to `net_write'
/usr/heimdal/lib/libkrb5.a(send_to_kdc.o): In function `send_and_recv_http':
/usr/local/src/heimdal-0.5.1/lib/krb5/send_to_kdc.c:174: undefined reference to `base64_encode'
/usr/local/src/heimdal-0.5.1/lib/krb5/send_to_kdc.c:182: undefined reference to `net_write'
/usr/heimdal/lib/libkrb5.a(ticket.o): In function `krb5_free_ticket':
/usr/local/src/heimdal-0.5.1/lib/krb5/ticket.c:42: undefined reference to `free_EncTicketPart'
/usr/heimdal/lib/libkrb5.a(ticket.o): In function `krb5_copy_ticket':
/usr/local/src/heimdal-0.5.1/lib/krb5/ticket.c:59: undefined reference to `copy_EncTicketPart'
/usr/local/src/heimdal-0.5.1/lib/krb5/ticket.c:71: undefined reference to `free_EncTicketPart'
/usr/heimdal/lib/libkrb5.a(asn1_glue.o): In function `krb5_principal2principalname':
/usr/local/src/heimdal-0.5.1/lib/krb5/asn1_glue.c:46: undefined reference to `copy_PrincipalName'
/usr/heimdal/lib/libkrb5.a(asn1_glue.o): In function `principalname2krb5_principal':
/usr/local/src/heimdal-0.5.1/lib/krb5/asn1_glue.c:55: undefined reference to `copy_PrincipalName'
/usr/heimdal/lib/libkrb5.a(build_ap_req.o): In function `krb5_build_ap_req':
/usr/local/src/heimdal-0.5.1/lib/krb5/build_ap_req.c:58: undefined reference to `copy_Realm'
/usr/local/src/heimdal-0.5.1/lib/krb5/build_ap_req.c:59: undefined reference to `copy_PrincipalName'
/usr/local/src/heimdal-0.5.1/lib/krb5/build_ap_req.c:61: undefined reference to `decode_Ticket'
/usr/local/src/heimdal-0.5.1/lib/krb5/build_ap_req.c:62: undefined reference to `copy_EncryptedData'
/usr/local/src/heimdal-0.5.1/lib/krb5/build_ap_req.c:63: undefined reference to `free_Ticket'
/usr/local/src/heimdal-0.5.1/lib/krb5/build_ap_req.c:69: undefined reference to `length_AP_REQ'
/usr/local/src/heimdal-0.5.1/lib/krb5/build_ap_req.c:70: undefined reference to `encode_AP_REQ'
/usr/local/src/heimdal-0.5.1/lib/krb5/build_ap_req.c:72: undefined reference to `free_AP_REQ'
/usr/heimdal/lib/libkrb5.a(build_auth.o): In function `krb5_build_authenticator':
/usr/local/src/heimdal-0.5.1/lib/krb5/build_auth.c:63: undefined reference to `copy_Realm'
/usr/local/src/heimdal-0.5.1/lib/krb5/build_auth.c:64: undefined reference to `copy_PrincipalName'
/usr/local/src/heimdal-0.5.1/lib/krb5/build_auth.c:95: undefined reference to `length_Authenticator'
/usr/local/src/heimdal-0.5.1/lib/krb5/build_auth.c:95: undefined reference to `encode_Authenticator'
/usr/local/src/heimdal-0.5.1/lib/krb5/build_auth.c:121: undefined reference to `free_Authenticator'
/usr/local/src/heimdal-0.5.1/lib/krb5/build_auth.c:126: undefined reference to `free_Authenticator'
/usr/heimdal/lib/libkrb5.a(codec.o): In function `krb5_decode_EncTicketPart':
/usr/local/src/heimdal-0.5.1/lib/krb5/codec.c:45: undefined reference to `decode_EncTicketPart'
/usr/heimdal/lib/libkrb5.a(codec.o): In function `krb5_encode_EncTicketPart':
/usr/local/src/heimdal-0.5.1/lib/krb5/codec.c:55: undefined reference to `encode_EncTicketPart'
/usr/heimdal/lib/libkrb5.a(codec.o): In function `krb5_decode_EncASRepPart':
/usr/local/src/heimdal-0.5.1/lib/krb5/codec.c:65: undefined reference to `decode_EncASRepPart'
/usr/heimdal/lib/libkrb5.a(codec.o): In function `krb5_encode_EncASRepPart':
/usr/local/src/heimdal-0.5.1/lib/krb5/codec.c:75: undefined reference to `encode_EncASRepPart'
/usr/heimdal/lib/libkrb5.a(codec.o): In function `krb5_decode_EncTGSRepPart':
/usr/local/src/heimdal-0.5.1/lib/krb5/codec.c:85: undefined reference to `decode_EncTGSRepPart'
/usr/heimdal/lib/libkrb5.a(codec.o): In function `krb5_encode_EncTGSRepPart':
/usr/local/src/heimdal-0.5.1/lib/krb5/codec.c:95: undefined reference to `encode_EncTGSRepPart'
/usr/heimdal/lib/libkrb5.a(codec.o): In function `krb5_decode_EncAPRepPart':
/usr/local/src/heimdal-0.5.1/lib/krb5/codec.c:105: undefined reference to `decode_EncAPRepPart'
/usr/heimdal/lib/libkrb5.a(codec.o): In function `krb5_encode_EncAPRepPart':
/usr/local/src/heimdal-0.5.1/lib/krb5/codec.c:115: undefined reference to `encode_EncAPRepPart'
/usr/heimdal/lib/libkrb5.a(codec.o): In function `krb5_decode_Authenticator':
/usr/local/src/heimdal-0.5.1/lib/krb5/codec.c:125: undefined reference to `decode_Authenticator'
/usr/heimdal/lib/libkrb5.a(codec.o): In function `krb5_encode_Authenticator':
/usr/local/src/heimdal-0.5.1/lib/krb5/codec.c:135: undefined reference to `encode_Authenticator'
/usr/heimdal/lib/libkrb5.a(codec.o): In function `krb5_decode_EncKrbCredPart':
/usr/local/src/heimdal-0.5.1/lib/krb5/codec.c:145: undefined reference to `decode_EncKrbCredPart'
/usr/heimdal/lib/libkrb5.a(codec.o): In function `krb5_encode_EncKrbCredPart':
/usr/local/src/heimdal-0.5.1/lib/krb5/codec.c:155: undefined reference to `encode_EncKrbCredPart'
/usr/heimdal/lib/libkrb5.a(codec.o): In function `krb5_decode_ETYPE_INFO':
/usr/local/src/heimdal-0.5.1/lib/krb5/codec.c:165: undefined reference to `decode_ETYPE_INFO'
/usr/heimdal/lib/libkrb5.a(codec.o): In function `krb5_encode_ETYPE_INFO':
/usr/local/src/heimdal-0.5.1/lib/krb5/codec.c:175: undefined reference to `encode_ETYPE_INFO'
/usr/heimdal/lib/libkrb5.a(get_addrs.o): In function `gethostname_fallback':
/usr/local/src/heimdal-0.5.1/lib/krb5/get_addrs.c:60: undefined reference to `roken_gethostbyname'
/usr/heimdal/lib/libkrb5.a(get_addrs.o): In function `find_all_addresses':
/usr/local/src/heimdal-0.5.1/lib/krb5/get_addrs.c:109: undefined reference to `getifaddrs'
/usr/local/src/heimdal-0.5.1/lib/krb5/get_addrs.c:122: undefined reference to `freeifaddrs'
/usr/local/src/heimdal-0.5.1/lib/krb5/get_addrs.c:138: undefined reference to `freeifaddrs'
/usr/local/src/heimdal-0.5.1/lib/krb5/get_addrs.c:215: undefined reference to `freeifaddrs'
collect2: ld returned 1 exit status
make[2]: *** [IP-authd] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive-am] Error 2