samba4-git build fails

Andrew Bartlett abartlet at samba.org
Mon Oct 24 04:25:36 MDT 2011


On Sat, 2011-10-22 at 01:49 +0200, Jelmer Vernooij wrote:
> On 21/10/11 17:51, Jeff Sadowski wrote:
> > I did a git pull this morning and get the following message.
> >
> > In file included from ../libcli/smb/smb_common.h:31,
> > from ../lib/util/charset/charcnv.c:25:
> > ../libcli/smb/smb_seal.h:24:27: error: gssapi/gssapi.h: No such file
> > or directory
> > In file included from ../libcli/smb/smb_common.h:31,
> > from ../lib/util/charset/charcnv.c:25:
> > ../libcli/smb/smb_seal.h:41: error: expected specifier-qualifier-list
> > before âgss_ctx_id_tâ
> > Waf: Leaving directory `/root/samba-master/bin'
> > Build failed: -> task failed (err #1):
> > {task: cc charcnv.c -> charcnv_2.o}
> > make: *** [all] Error 1
> >
> The issue here appears to be that one of the charcnv libraries includes
> a smb protocol header file, but doesn't have a matching dependency in
> the build system.
> 
> I'm a bit surprised it includes a smb header. Is that really necessary?

I had thought there was a reason, but I was able to remove it in the
patches I just proposed.  I've fixed the waf build on systems such as
this one in the patches in my master-devel branch.

Andrew Bartlett

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org



More information about the samba-technical mailing list