bug-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: compilation error of 1.11.1p1 on Linux 2


From: terryh
Subject: Re: compilation error of 1.11.1p1 on Linux 2
Date: Tue, 19 Mar 2002 14:20:43 -0800 (PST)

Hi Larry,

   The undefined symbol remain with 'configure --without-gssapi". In this
mail I included two data: (1) Log of make. (2) Diff of config.cache between
'configure' and 'configure --without-gssapi':

(1) Log of make:

$ uname
Linux noric 2.2.19-6.2.12smp #1 SMP Fri Oct 26 13:31:09 EDT 2001 i686 unknown  
$ edit src/client.c             [change client_sai to sin in start_tcp_server]
$ make distclean                [clean up]
$ ./configure --without-gssapi  [typed 'gassapi' correctly this time]
$ make

gcc  -g -O2   -o cvs  add.o admin.o annotate.o buffer.o checkin.o checkout.o cla
ssify.o client.o commit.o create_adm.o cvsrc.o diff.o edit.o entries.o error.o e
xpand_path.o fileattr.o filesubr.o find_names.o hardlink.o hash.o history.o igno
re.o import.o lock.o log.o login.o logmsg.o main.o mkmodules.o modules.o myndbm.
o no_diff.o parseinfo.o patch.o rcs.o rcscmds.o recurse.o release.o remove.o rep
os.o root.o run.o scramble.o server.o status.o subr.o tag.o update.o vers_ts.o w
atch.o wrapper.o zlib.o ../diff/libdiff.a ../lib/libcvs.a ../zlib/libz.a version
.o -lcrypt  -lkrb
/usr/local/lib/libkrb.a(recvauth.o): In function `krb_recvauth':
/afs/.slac.stanford.edu/package/kth-krb4/src/krb4-1.1.1/lib/krb/recvauth.c:174:
undefined reference to `des_key_sched'
/usr/local/lib/libkrb.a(sendauth.o): In function `krb_sendauth':
/afs/.slac.stanford.edu/package/kth-krb4/src/krb4-1.1.1/lib/krb/sendauth.c:157:
undefined reference to `des_key_sched'
/usr/local/lib/libkrb.a(resolve.o): In function `parse_reply':
/afs/.slac.stanford.edu/package/kth-krb4/src/krb4-1.1.1/lib/krb/resolve.c:136: u
ndefined reference to `dn_expand'
/afs/.slac.stanford.edu/package/kth-krb4/src/krb4-1.1.1/lib/krb/resolve.c:154: u
ndefined reference to `dn_expand'
/afs/.slac.stanford.edu/package/kth-krb4/src/krb4-1.1.1/lib/krb/resolve.c:187: u
ndefined reference to `dn_expand'
/afs/.slac.stanford.edu/package/kth-krb4/src/krb4-1.1.1/lib/krb/resolve.c:200: u
ndefined reference to `dn_expand'
/afs/.slac.stanford.edu/package/kth-krb4/src/krb4-1.1.1/lib/krb/resolve.c:216: u
ndefined reference to `dn_expand'
/usr/local/lib/libkrb.a(resolve.o):/afs/.slac.stanford.edu/package/kth-krb4/src/
krb4-1.1.1/lib/krb/resolve.c:264: more undefined references to `dn_expand' follo
w
/usr/local/lib/libkrb.a(resolve.o): In function `dns_lookup_int':
/afs/.slac.stanford.edu/package/kth-krb4/src/krb4-1.1.1/lib/krb/resolve.c:339: u
ndefined reference to `res_search'
/usr/local/lib/libkrb.a(mk_priv.o): In function `krb_mk_priv':
/afs/.slac.stanford.edu/package/kth-krb4/src/krb4-1.1.1/lib/krb/mk_priv.c:116: u
ndefined reference to `des_pcbc_encrypt'
/usr/local/lib/libkrb.a(rd_priv.o): In function `krb_rd_priv':
/afs/.slac.stanford.edu/package/kth-krb4/src/krb4-1.1.1/lib/krb/rd_priv.c:86: un
defined reference to `des_pcbc_encrypt'
/usr/local/lib/libkrb.a(rd_req.o): In function `krb_set_key':
/afs/.slac.stanford.edu/package/kth-krb4/src/krb4-1.1.1/lib/krb/rd_req.c:89: und
efined reference to `des_string_to_key'
/afs/.slac.stanford.edu/package/kth-krb4/src/krb4-1.1.1/lib/krb/rd_req.c:92: und
efined reference to `des_key_sched'
/usr/local/lib/libkrb.a(decomp_ticket.o): In function `decomp_ticket':
/afs/.slac.stanford.edu/package/kth-krb4/src/krb4-1.1.1/lib/krb/decomp_ticket.c:
73: undefined reference to `des_pcbc_encrypt'
/usr/local/lib/libkrb.a(encrypt_ktext.o): In function `encrypt_ktext':
/afs/.slac.stanford.edu/package/kth-krb4/src/krb4-1.1.1/lib/krb/encrypt_ktext.c:
42: undefined reference to `des_set_key'
/afs/.slac.stanford.edu/package/kth-krb4/src/krb4-1.1.1/lib/krb/encrypt_ktext.c:
43: undefined reference to `des_pcbc_encrypt'
collect2: ld returned 1 exit status
make[3]: *** [cvs] Error 1
make[3]: Leaving directory `/afs/slac.stanford.edu/u/ec/terryh/SRT/vol1/port/cvs
-1.11.1p1/Linux/src'
make[2]: *** [all] Error 2

(2) Diff of config.cache between 'configure' and 'configure --without-gssapi':

$ diff config.cache config.cache.without-gssapi
61,63d60
< 
ac_cv_header_gssapi_gssapi_generic_h=${ac_cv_header_gssapi_gssapi_generic_h='yes'}
< ac_cv_header_gssapi_gssapi_h=${ac_cv_header_gssapi_gssapi_h='yes'}
< ac_cv_header_gssapi_h=${ac_cv_header_gssapi_h='no'}
65d61
< ac_cv_header_krb5_h=${ac_cv_header_krb5_h='yes'}
110,112d105
< ac_cv_search___dn_expand=${ac_cv_search___dn_expand='no'}
< ac_cv_search_com_err=${ac_cv_search_com_err='none required'}
< ac_cv_search_compile=${ac_cv_search_compile='no'}
115d107
< ac_cv_search_des_set_odd_parity=${ac_cv_search_des_set_odd_parity='no'}
118,122d109
< ac_cv_search_gss_import_name=${ac_cv_search_gss_import_name='-lgssapi_krb5'}
< ac_cv_search_initialize_asn1_error_table_r=${ac_cv_search_initialize_asn1_erro
r_table_r='no'}
< ac_cv_search_krb5_free_context=${ac_cv_search_krb5_free_context='-lkrb5'}
< ac_cv_search_roken_gethostbyaddr=${ac_cv_search_roken_gethostbyaddr='-lroken'}
< ac_cv_search_valid_enctype=${ac_cv_search_valid_enctype='-lk5crypto'}
132,133c119
< acx_gssapi_cv_gss_c_nt_hostbased_service=${acx_gssapi_cv_gss_c_nt_hostbased_se
rvice='gss_nt_service_name'}
< acx_gssapi_cv_gssapi=${acx_gssapi_cv_gssapi='/usr/kerberos'}
---
> acx_gssapi_cv_gssapi=${acx_gssapi_cv_gssapi='no'}

   Thanks for taking the time to help!


-- 
Terry Hung - Stanford Linear Accelerator Center
phone: 650-926-3618
e-mail: terryh@slac.stanford.edu 
 
> terryh@SLAC.Stanford.EDU writes:
> > 
> > $ uname -a
> > $ Linux noric 2.2.19-6.2.12smp #1 SMP Fri Oct 26 13:31:09 EDT 2001 i686 
> > unknown
> > $ ./configure --without-gassapi
> 
> You're still using gssapi -- you need to "make distclean" and then
> re-run configure.
> 
> -Larry Jones
> 
> I obey the letter of the law, if not the spirit. -- Calvin
> 







reply via email to

[Prev in Thread] Current Thread [Next in Thread]