"make bin/smbtorture4" fails on FreeBSD 9

Volker Lendecke Volker.Lendecke at SerNet.DE
Tue May 15 05:08:52 MDT 2012


Hello, Rusty!

The attached patch from metze fixes the issue for me. If you
think it is okay and worth it, could you please push it?

Thanks,

Volker

On Tue, May 15, 2012 at 12:35:04PM +0200, Volker Lendecke wrote:
> Hi!
> 
> From the autoconf based build within source3 I am trying to
> build smbtorture4. This fails with:
> 
> [root at freebsdvl ~/git/s3/source3]# make bin/smbtorture4
> make -f Makefile-smbtorture4 bin/smbtorture4
> Waf: Entering directory root/git/s3/bin'
>         Selected embedded Heimdal build
> 'reconfigure' finished successfully (6.551s)
> cd .. && WAF_MAKE=1 buildtools/bin/waf --targets=smbtorture
>         Selected embedded Heimdal build
> Waf: Entering directory root/git/s3/bin'
>         Selected embedded Heimdal build
> [ 125/3551] Generating VERSION
> [ 161/3551] Generating smbd/build_options.c
> [3275/3551] Linking default/lib/ccan/libccan.so
> default/lib/ccan/failtest/failtest_1.o: In function et_backtrace':
> /root/git/s3/bin/../lib/ccan/failtest/failtest.c:144:
> undefined reference to `backtrace'
> Waf: Leaving directory root/git/s3/bin'
> Build failed:  -> task failed (err #1): 
>         {task: cc_link
> failtest_1.o,hash_1.o,htable_1.o,ilog_1.o,likely_1.o,list_1.o,read_write_all_1.o,debug_1.o,str_1.o,tally_1.o,time_1.o
> -> libccan.so}
> *** Error code 1
> 
> Stop in /root/git/s3/source3.
> *** Error code 1
> 
> Stop in /root/git/s3/source3.
> 
> How can I approach this?
> 
> Thanks,
> 
> 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

-- 
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ccan-Fix-the-build-on-FreeBSD9.patch
Type: text/x-diff
Size: 735 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20120515/f8aae3a3/attachment.patch>


More information about the samba-technical mailing list