Bug 1454 - Can't compile 3.0.4
Summary: Can't compile 3.0.4
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: Build environment (show other bugs)
Version: 3.0.4
Hardware: x86 Linux
: P3 regression
Target Milestone: none
Assignee: Tim Potter
QA Contact: Samba QA Contact
Depends on:
Reported: 2004-06-10 07:00 UTC by Ron Gage
Modified: 2004-07-22 23:29 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Ron Gage 2004-06-10 07:00:38 UTC
Trying to compile 3.0.4 - it dies at the following point:

Compiling sesssetup.c
in reply_spnego_kerberos

Source was downloaded from us1.samba.org this morning.  Also downloaded this
morning was latest kerberos and OpenLDAP.  OS is Slackware 9.1
Comment 1 Ron Gage 2004-06-10 16:10:06 UTC
More details are always nice....

Here is the exact error set from the compile...

Compiling smbd/sesssetup.c
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
support then.

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).
Comment 2 Tim Potter 2004-06-10 17:38:37 UTC
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?
Comment 3 Tim Potter 2004-07-22 23:29:29 UTC
Closing after no activity.