fetchmail-friends
[Top] [All Lists]

[fetchmail]compiling with kerberos

2001-10-04 09:08:35
I downloaded and compiled the latest version of sendmail on a sol7
box with gcc and it worked fine. However, I'd ultimately like to build/use
it with kerberos (ie I envision our users doing a 
fetchmail -A kerberos mailhost. Is that correct? What would the contents of
their .fetchmailrc file be)

To build with kerberos, I did a 
./configure --with-kerberos5=/usr/local/stow/krb5-1.2.1-nokrb4
but the make complained about many undefined references eg:
.....
gcc -L/usr/local/stow/krb5-1.2.1-nokrb4/lib -s rcfile_y.o rcfile_l.o socket.o ge
tpass.o pop2.o pop3.o imap.o etrn.o fetchmail.o env.o options.o daemon.o driver.
o sink.o rfc822.o smtp.o xmalloc.o uid.o mxget.o md5c.o md5ify.o rpa.o interface
.o netrc.o base64.o error.o unmime.o conf.o checkalias.o smbdes.o smbencrypt.o s
mbmd4.o smbutil.o  getopt.o getopt1.o -lcrypt -lsocket  -lresolv -lkrb5 -lcrypto
 -lcom_err -lfl  -o fetchmail
/usr/local/stow/krb5-1.2.1-nokrb4/lib/libkrb5.a(auth_con.o): In function `krb5_a
uth_con_initivector':
auth_con.o(.text+0x920): undefined reference to `krb5_c_block_size'
/usr/local/stow/krb5-1.2.1-nokrb4/lib/libkrb5.a(init_ctx.o): In function `init_c
ommon':
init_ctx.o(.text+0x1b0): undefined reference to `krb5_c_random_seed'
/usr/local/stow/krb5-1.2.1-nokrb4/lib/libkrb5.a(init_ctx.o): In function `krb5_s
et_default_in_tkt_ktypes':
init_ctx.o(.text+0x52c): undefined reference to `valid_enctype'
/usr/local/stow/krb5-1.2.1-nokrb4/lib/libkrb5.a(init_ctx.o): In function `get_pr
ofile_etype_list':
init_ctx.o(.text+0x8f8): undefined reference to `krb5_string_to_enctype'
/usr/local/stow/krb5-1.2.1-nokrb4/lib/libkrb5.a(init_ctx.o): In function `krb5_s
et_default_tgs_ktypes':
init_ctx.o(.text+0xaec): undefined reference to `valid_enctype'
/usr/local/stow/krb5-1.2.1-nokrb4/lib/libkrb5.a(sendauth.o): In function `krb5_s
endauth':
sendauth.o(.text+0x430): undefined reference to `krb5_c_random_seed'
sendauth.o(.text+0x474): undefined reference to `krb5_c_random_seed'
/usr/local/stow/krb5-1.2.1-nokrb4/lib/libkrb5.a(mk_req_ext.o): In function `krb5
_mk_req_extended':
mk_req_ext.o(.text+0x244): undefined reference to `krb5_c_random_seed'
mk_req_ext.o(.text+0x30c): undefined reference to `krb5_c_make_checksum'
/usr/local/stow/krb5-1.2.1-nokrb4/lib/libkrb5.a(rd_rep.o): In function `krb5_rd_
rep':
rd_rep.o(.text+0x130): undefined reference to `krb5_c_decrypt'
/usr/local/stow/krb5-1.2.1-nokrb4/lib/libkrb5.a(enc_helper.o): In function `krb5
_encrypt_helper':
enc_helper.o(.text+0x30): undefined reference to `krb5_c_encrypt_length'
enc_helper.o(.text+0xb4): undefined reference to `krb5_c_encrypt'
/usr/local/stow/krb5-1.2.1-nokrb4/lib/libkrb5.a(gc_frm_kdc.o): In function `krb5
_get_cred_from_kdc_opt':
gc_frm_kdc.o(.text+0x5c8): undefined reference to `valid_enctype'
gc_frm_kdc.o(.text+0x898): undefined reference to `valid_enctype'
gc_frm_kdc.o(.text+0xc48): undefined reference to `valid_enctype'
/usr/local/stow/krb5-1.2.1-nokrb4/lib/libkrb5.a(gen_seqnum.o): In function `krb5
_generate_seq_number':
gen_seqnum.o(.text+0x30): undefined reference to `krb5_c_random_seed'
gen_seqnum.o(.text+0x74): undefined reference to `krb5_c_random_make_octets'
/usr/local/stow/krb5-1.2.1-nokrb4/lib/libkrb5.a(gen_subkey.o): In function `krb5
_generate_subkey':
gen_subkey.o(.text+0x30): undefined reference to `krb5_c_random_seed'
gen_subkey.o(.text+0xa0): undefined reference to `krb5_c_make_random_key'
/usr/local/stow/krb5-1.2.1-nokrb4/lib/libkrb5.a(send_tgs.o): In function `krb5_s
end_tgs_basic':
send_tgs.o(.text+0x34): undefined reference to `krb5_c_make_checksum'
/usr/local/stow/krb5-1.2.1-nokrb4/lib/libkrb5.a(send_tgs.o): In function `krb5_s
end_tgs':
send_tgs.o(.text+0x488): undefined reference to `valid_enctype'
/usr/local/stow/krb5-1.2.1-nokrb4/lib/libkrb5.a(kdc_rep_dc.o): In function `krb5
_kdc_rep_decrypt_proc':
kdc_rep_dc.o(.text+0x9c): undefined reference to `krb5_c_decrypt'
collect2: ld returned 1 exit status
make: *** [fetchmail] Error 1



Am I missing another switch in the config? 

TIA


 =-=-=-=-=-=-=-=-=-=-=-=-  generated by /dev/dave -=-=-=-=-=-=-=-=-=-=-=-=-=-=
 David Stern                                            University of Maryland 
                Institute for Advanced Computer Studies   



<Prev in Thread] Current Thread [Next in Thread>
  • [fetchmail]compiling with kerberos, David Stern <=