The Samba-Bugzilla – Bug 1454
Can't compile 3.0.4
Last modified: 2004-07-22 23:29:29 UTC
Trying to compile 3.0.4 - it dies at the following point:
Source was downloaded from us1.samba.org this morning. Also downloaded this
morning was latest kerberos and OpenLDAP. OS is Slackware 9.1
More details are always nice....
Here is the exact error set from the compile...
smbd/sesssetup.c: In function `reply_spnego_kerberos':
smbd/sesssetup.c:216: storage size of `wb_result' isn't known
smbd/sesssetup.c:226: invalid use of incomplete typedef `NSS_STATUS'
smbd/sesssetup.c:228: `NSS_STATUS_SUCCESS' undeclared (first use in this function)
smbd/sesssetup.c:228: (Each undeclared identifier is reported only once
smbd/sesssetup.c:228: for each function it appears in.)
make: *** [smbd/sesssetup.o] Error 1
Here is how I tried to compile Samba...
root@port2:~/samba/samba-3.0.4/source# ./configure --prefix=/usr
--sysconfdir=/etc/samba --with-privatedir=/etc/samba/private --with-ldap
--with-ads --with-msdfs --with-krb5=/usr --with-smbmount --without-sys-quotas
Eliminating the --with-msdfs allows Samba to compile but (obviously) I loose DFS
Also note that the --with-msdfs option is not mentioned in the configure --help
text (but IS mentioned in John Terpstra's reference docs online).
The --with-msdfs option was removed quite a while ago. DFS is always on all the
time - I've updated the documentation in svn.
Can you provide some more info about your Linux distro?
Closing after no activity.