[PATCH] waf: Fix the build on openbsd

Volker Lendecke Volker.Lendecke at SerNet.DE
Fri Mar 6 03:39:31 MST 2015


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.

Volker

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de


More information about the samba-technical mailing list