Hi there,

I've done a search on google and found that others have had very similar problems to this - but unfortunately I wasn't able to find a solution.

I'm trying to compile the resin servlet engine (the problem happened with different programs for others) and get these errors:

gcc -o resin resin.o ../common/common.o std.o memory.o ssl.o -lpthread /usr/lib/libssl.a /usr/lib/libcrypto.a -ldl
/usr/lib/libssl.a(kssl.o)(.text+0x12a): In function `populate_cksumlens':
: undefined reference to `valid_cksumtype'
/usr/lib/libssl.a(kssl.o)(.text+0x154): In function `populate_cksumlens':
: undefined reference to `krb5_checksum_size'
/usr/lib/libssl.a(kssl.o)(.text+0x18d): In function `populate_cksumlens':
: undefined reference to `krb5_checksum_size'
/usr/lib/libssl.a(kssl.o)(.text+0x7bb): In function `kssl_keytab_is_available':
: undefined reference to `krb5_init_context'
/usr/lib/libssl.a(kssl.o)(.text+0x7e6): In function `kssl_keytab_is_available':
: undefined reference to `krb5_kt_resolve'
/usr/lib/libssl.a(kssl.o)(.text+0x81a): In function `kssl_keytab_is_available':
: undefined reference to `krb5_sname_to_principal'
/usr/lib/libssl.a(kssl.o)(.text+0x84a): In function `kssl_keytab_is_available':
: undefined reference to `krb5_kt_get_entry'
/usr/lib/libssl.a(kssl.o)(.text+0x872): In function `kssl_keytab_is_available':
: undefined reference to `krb5_kt_close'
/usr/lib/libssl.a(kssl.o)(.text+0x888): In function `kssl_keytab_is_available':
: undefined reference to `krb5_free_principal'
/usr/lib/libssl.a(kssl.o)(.text+0x897): In function `kssl_keytab_is_available':
: undefined reference to `krb5_free_context'
/usr/lib/libssl.a(kssl.o)(.text+0x8b0): In function `kssl_keytab_is_available':
: undefined reference to `krb5_kt_free_entry'
/usr/lib/libssl.a(kssl.o)(.text+0x8c4): In function `kssl_keytab_is_available':
: undefined reference to `krb5_kt_default'
/usr/lib/libssl.a(kssl.o)(.text+0x8fd): In function `kssl_krb5_free_data_contents':
: undefined reference to `krb5_free_data_contents'
/usr/lib/libssl.a(kssl.o)(.text+0x928): In function `get_rc_clockskew':
: undefined reference to `krb5_rc_default'
/usr/lib/libssl.a(kssl.o)(.text+0x943): In function `get_rc_clockskew':
: undefined reference to `krb5_rc_initialize'
/usr/lib/libssl.a(kssl.o)(.text+0x969): In function `get_rc_clockskew':
: undefined reference to `krb5_rc_get_lifespan'
/usr/lib/libssl.a(kssl.o)(.text+0x983): In function `get_rc_clockskew':
: undefined reference to `krb5_rc_destroy'
/usr/lib/libssl.a(kssl.o)(.text+0x9af): In function `kssl_validate_times':
: undefined reference to `krb5_init_context'
/usr/lib/libssl.a(kssl.o)(.text+0x9d2): In function `kssl_validate_times':
: undefined reference to `krb5_timeofday'
/usr/lib/libssl.a(kssl.o)(.text+0x9f0): In function `kssl_validate_times':
: undefined reference to `krb5_free_context'
/usr/lib/libssl.a(kssl.o)(.text+0xf2b): In function `kssl_cget_tkt':
: undefined reference to `krb5_init_context'
/usr/lib/libssl.a(kssl.o)(.text+0xf67): In function `kssl_cget_tkt':
: undefined reference to `krb5_sname_to_principal'
/usr/lib/libssl.a(kssl.o)(.text+0xfc8): In function `kssl_cget_tkt':
: undefined reference to `krb5_free_principal'
/usr/lib/libssl.a(kssl.o)(.text+0xfe1): In function `kssl_cget_tkt':
: undefined reference to `krb5_free_principal'
/usr/lib/libssl.a(kssl.o)(.text+0xff7): In function `kssl_cget_tkt':
: undefined reference to `krb5_auth_con_free'
/usr/lib/libssl.a(kssl.o)(.text+0x1006): In function `kssl_cget_tkt':
: undefined reference to `krb5_free_context'
/usr/lib/libssl.a(kssl.o)(.text+0x1025): In function `kssl_cget_tkt':
: undefined reference to `krb5_cc_default'
/usr/lib/libssl.a(kssl.o)(.text+0x1047): In function `kssl_cget_tkt':
: undefined reference to `krb5_cc_get_principal'
/usr/lib/libssl.a(kssl.o)(.text+0x1108): In function `kssl_cget_tkt':
: undefined reference to `krb5_get_credentials'
/usr/lib/libssl.a(kssl.o)(.text+0x1184): In function `kssl_cget_tkt':
: undefined reference to `krb5_mk_req_extended'
/usr/lib/libssl.a(kssl.o)(.text+0x1363): In function `kssl_tgt_is_available':
: undefined reference to `krb5_init_context'
/usr/lib/libssl.a(kssl.o)(.text+0x137f): In function `kssl_tgt_is_available':
: undefined reference to `krb5_free_principal'
/usr/lib/libssl.a(kssl.o)(.text+0x1395): In function `kssl_tgt_is_available':
: undefined reference to `krb5_free_principal'
/usr/lib/libssl.a(kssl.o)(.text+0x13a4): In function `kssl_tgt_is_available':
: undefined reference to `krb5_free_context'
/usr/lib/libssl.a(kssl.o)(.text+0x13dd): In function `kssl_tgt_is_available':
: undefined reference to `krb5_sname_to_principal'
/usr/lib/libssl.a(kssl.o)(.text+0x13f3): In function `kssl_tgt_is_available':
: undefined reference to `krb5_cc_default'
/usr/lib/libssl.a(kssl.o)(.text+0x1414): In function `kssl_tgt_is_available':
: undefined reference to `krb5_cc_get_principal'
/usr/lib/libssl.a(kssl.o)(.text+0x1441): In function `kssl_tgt_is_available':
: undefined reference to `krb5_get_credentials'
/usr/lib/libssl.a(kssl.o)(.text+0x1649): In function `kssl_sget_tkt':
: undefined reference to `krb5_auth_con_free'
/usr/lib/libssl.a(kssl.o)(.text+0x1675): In function `kssl_sget_tkt':
: undefined reference to `krb5_auth_con_init'
/usr/lib/libssl.a(kssl.o)(.text+0x16ae): In function `kssl_sget_tkt':
: undefined reference to `krb5_kt_close'
/usr/lib/libssl.a(kssl.o)(.text+0x16c7): In function `kssl_sget_tkt':
: undefined reference to `krb5_free_ticket'
/usr/lib/libssl.a(kssl.o)(.text+0x16e0): In function `kssl_sget_tkt':
: undefined reference to `krb5_free_principal'
/usr/lib/libssl.a(kssl.o)(.text+0x170c): In function `kssl_sget_tkt':
: undefined reference to `krb5_auth_con_getrcache'
/usr/lib/libssl.a(kssl.o)(.text+0x174c): In function `kssl_sget_tkt':
: undefined reference to `krb5_sname_to_principal'
/usr/lib/libssl.a(kssl.o)(.text+0x177d): In function `kssl_sget_tkt':
: undefined reference to `krb5_auth_con_setrcache'
/usr/lib/libssl.a(kssl.o)(.text+0x17ae): In function `kssl_sget_tkt':
: undefined reference to `krb5_kt_resolve'
/usr/lib/libssl.a(kssl.o)(.text+0x18ae): In function `kssl_sget_tkt':
: undefined reference to `krb5_init_context'
/usr/lib/libssl.a(kssl.o)(.text+0x18eb): In function `kssl_sget_tkt':
: undefined reference to `krb5_get_server_rcache'
/usr/lib/libssl.a(kssl.o)(.text+0x1918): In function `kssl_sget_tkt':
: undefined reference to `krb5_principal_compare'
/usr/lib/libssl.a(kssl.o)(.text+0x19e9): In function `kssl_sget_tkt':
: undefined reference to `krb5_kt_default'
/usr/lib/libssl.a(kssl.o)(.text+0x1a49): In function `kssl_sget_tkt':
: undefined reference to `krb5_kt_get_entry'
/usr/lib/libssl.a(kssl.o)(.text+0x1abf): In function `kssl_sget_tkt':
: undefined reference to `krb5_decrypt_tkt_part'
/usr/lib/libssl.a(kssl.o)(.text+0x1b09): In function `kssl_sget_tkt':
: undefined reference to `krb5_kt_free_entry'
collect2: ld returned 1 exit status
make[2]: *** [resin] Error 1
make[2]: Leaving directory `/usr/resin/src/c/plugin/resin'
make[1]: *** [plugins] Error 2
make[1]: Leaving directory `/usr/resin/src/c/plugin'
make: *** [all] Error 2

Any ideas what to do appreciated?

Many thanks