Samba3, freeBSD 5.3 & kerberos -- error on compiling

Playnet playnet at mail333.com
Thu Jun 9 11:17:29 GMT 2005


Hello freebsd-questions,

subj.
I must setting up PDC: unix server and win-clients. But samba not
compiling =(

Samba 3.0.14a (and trying with 3.0.13)
krb5-1.3.4_2
openldap-2.2.15 with sasl

uname -a
FreeBSD freebsd53.localdomain 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri Nov  5 04:19:18 UTC 2004
root at harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

make >makesmb.log
===>  Building for samba-3.0.14a,1
Using FLAGS =  -O -pipe -I/usr/local/include  -Iinclude -I/usr/ports/net/samba3/work/samba-3.0.14a/source/include -I/usr/ports/net/samba3/work/samba-3.0.14a/source/ubiqx -I/usr/ports/net/samba3/work/samba-3.0.14a/source/smbwrapper  -I. -I/usr/local/include -I/usr/local/include -I/usr/ports/net/samba3/work/samba-3.0.14a/source   
      LIBS = -lcrypt -liconv
      LDSHFLAGS = -shared  -L/usr/local/lib -Wl,-R/usr/local/lib -L/usr/local/lib -L/usr/local/lib
      LDFLAGS = -L/usr/local/lib -Wl,-R/usr/local/lib -L/usr/local/lib -L/usr/local/lib
Linking bin/smbd
*** Error code 1

Stop in /usr/ports/net/samba3/work/samba-3.0.14a/source.
*** Error code 1

Stop in /usr/ports/net/samba3.


And error (not logging.. agrh)
...
Linking /bin/smbd
...skip...
libads/kerberos_keytab.o(.text+0x7b4): In function `ads_keytab_add_entry':
libads/kerberos_keytab.c:169: undefined reference to `krb5_kt_compare'
/user/lib/libgssapi.so: undefined reference to `krb5_rd_cred2'
/user/lib/libgssapi.so: undefined reference to `krb5_crypto_destroy'
..... (skip)
***Error code 1

-- 
Best regards,
Playnet                          mailto:playnet<@>mail333.com



More information about the freebsd-questions mailing list