FreeBSD 9.0RC2 Samba4

Samba-JP oota ribbon at samba.gr.jp
Tue Nov 22 18:19:12 MST 2011


On Tue, Nov 22, 2011 at 12:52:46PM -0800, tms3 at tms3.com wrote:
> Git as of 12 PM pst
> 
> Build works with
> 
> ./configure.developer --without-utmp
> 
> rm /usr/include/malloc.h
> ln -s /usr/include/stdlib.h /usr/include/malloc.h
> 
> avoids a failure testing libsmbclient

How about this patch?

> diff -ur testbrowse2.c.orig testbrowse2.c
--- testbrowse2.c.orig  2011-11-23 08:46:30.000000000 +0900
+++ testbrowse2.c       2011-11-23 09:57:05.000000000 +0900
@@ -5,7 +5,9 @@

 #include <stdio.h>
 #include <stdlib.h>
+#ifndef __FreeBSD__
 #include <malloc.h>
+#endif
 #include <string.h>
 #include <libsmbclient.h>

oota



More information about the samba-technical mailing list