Problems compiling HEAD from CVS

lars larsson mace2442 at hotmail.com
Fri Jan 4 18:29:02 GMT 2002


Hi Everyone

I am having problems compiling and installing samba 3.0 alpha on my Debian 
2.2 box.

I have been trying to follow the ADS-HOWTO from the textdocs directory

what i have done so far:

1 . download and isntallation of openldap 2.0.19 with ./configure , make 
make depend make install

2. download and install of MIT kerberos 5.1.22 with ./configure , make ,make 
install , make check

3 download of samba from cvs updated tonight

4 configure samba with ./configure

5 check that have_ldap and have_krb5 are defined. They are

6 compile samba FAILS

i get the following errors then it tries to link smbd

tiny:/export/files/samba/3.0/cvs/source# make
Using FLAGS =  -O  -I./popt -Iinclude -I./include -I./ubiqx -I./smbwrapper   
-I. -I.
      FLAGS32 =  -O  -I./popt -Iinclude -I./include -I./ubiqx -I./smbwrapper 
   -I. -I.
      LIBS = -lresolv  -ldl -lcrypt -lnsl -lcom_err -lk5crypto -lkrb5 -llber 
-lcrypt
      LDSHFLAGS = -shared
      LDFLAGS =
Compiling dynconfig.c
Linking bin/smbd
/usr/local/lib/libkrb5.a(init_ctx.o): In function 
`krb5_set_default_in_tkt_ktypes':
init_ctx.o(.text+0x43a): undefined reference to `valid_enctype'
/usr/local/lib/libkrb5.a(init_ctx.o): In function `get_profile_etype_list':
init_ctx.o(.text+0x6c2): undefined reference to `krb5_string_to_enctype'
/usr/local/lib/libkrb5.a(init_ctx.o): In function 
`krb5_set_default_tgs_ktypes':
init_ctx.o(.text+0x7da): undefined reference to `valid_enctype'
/usr/local/lib/libkrb5.a(decrypt_tk.o): In function `krb5_decrypt_tkt_part':
decrypt_tk.o(.text+0x12): undefined reference to `valid_enctype'
/usr/local/lib/libkrb5.a(gc_frm_kdc.o): In function 
`krb5_get_cred_from_kdc_opt':
gc_frm_kdc.o(.text+0x55f): undefined reference to `valid_enctype'
gc_frm_kdc.o(.text+0x838): undefined reference to `valid_enctype'
gc_frm_kdc.o(.text+0xb69): undefined reference to `valid_enctype'
/usr/local/lib/libkrb5.a(send_tgs.o)(.text+0x3ca): more undefined references 
to `valid_enctype' follow
/usr/local/lib/libkrb5.a(ktf_g_ent.o): In function `krb5_ktfile_get_entry':
ktf_g_ent.o(.text+0x9e): undefined reference to `krb5_c_enctype_compare'
collect2: ld returned 1 exit status
make: *** [bin/smbd] Error 1

Anyone knows what this is?? I guess its something wrong with my setup..






_________________________________________________________________
Kom med i världens största e-posttjänst; MSN Hotmail. 
http://www.hotmail.com/sv





More information about the samba mailing list