[Samba] Samba4 git pull (11/28/2013) won't compile on FreeBSD 9.2

David Disseldorp ddiss at suse.de
Thu Nov 28 10:44:03 MST 2013


On Thu, 28 Nov 2013 12:34:58 -0500
Pccom Frank <pccom.frank at gmail.com> wrote:

> Hi, David!
> I did a ./configure --bundled-libraries=talloc
> Then gmake. Still errors as following:

Hmm, someone with better Waf skills should be able to point out the
right argument.

> 
> ......
> [2852/3880] Compiling source3/locking/brlock.c
> ../source3/locking/brlock.c: In function 'brl_get_locks_readonly_parser':
> ../source3/locking/brlock.c:2071: error: expected expression before 'struct'
> ../source3/locking/brlock.c:2071: warning: assignment makes pointer from
> integer without a cast
> ../source3/locking/brlock.c: In function 'brl_get_locks_readonly':
> ../source3/locking/brlock.c:2127: error: expected expression before 'struct'
> ../source3/locking/brlock.c:2127: warning: assignment makes pointer from
> integer without a cast
> Waf: Leaving directory `/usr/local/samba-master/bin'
> Build failed:  -> task failed (err #1):
>         {task: cc brlock.c -> brlock_91.o}
> gmake: *** [all] Error 1
> root at hq:/usr/local/samba-master #
> 
> my talloc is:
> talloc-2.0.8        Hierarchical pool based memory allocator

Yes, that's too old. talloc_pooled_object() went in with 2.1.0.
I'd suggest simply removing talloc for now.

Cheers, David


More information about the samba mailing list