[PATCH] waf: Fix the build on openbsd

Andrew Bartlett abartlet at samba.org
Fri Mar 6 03:44:19 MST 2015


On Fri, 2015-03-06 at 11:39 +0100, Volker Lendecke wrote:
> On Fri, Mar 06, 2015 at 11:33:13PM +1300, Andrew Bartlett wrote:
> > On Mon, 2015-02-02 at 21:11 +0100, Volker Lendecke wrote:
> > > Hi!
> > > 
> > > Review&push appreciated!
> > > 
> > > Thanks,
> > > 
> > > Volker
> > 
> > Volker,
> > 
> > With current master, I can't build on OpenBSD.  I get
> > /usr/bin/ld: cannot find -lsmbconf
> > collect2: ld returned 1 exit status
> > Waf: Leaving directory `/home/abartlet/samba/bin'
> > Build failed:  -> task failed (err #1): 
> >         {task: cc_link version_test_213.o -> versiontest}
> > *** Error 1 in /home/abartlet/samba (Makefile:8 'all')
> > 
> > Is that the error you got when you built with this fix, or is this
> > something else?
> > 
> > (My background here is that I've been asked to review the patch to
> > migrate us to waf 1.8, and I certainly wouldn't want to be party to a
> > regression in this area)
> 
> There's quite some more fixes required for building on
> OpenBSD. That's one of them. The patch I submitted was low
> hanging fruit for me.

Thanks! 

Andrew Bartlett

-- 
Andrew Bartlett                       http://samba.org/~abartlet/
Authentication Developer, Samba Team  http://samba.org
Samba Developer, Catalyst IT          http://catalyst.net.nz/services/samba




More information about the samba-technical mailing list