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

David Disseldorp ddiss at suse.de
Thu Nov 28 09:36:23 MST 2013


[cc'ing samba-technical]

Hi,

On Thu, 28 Nov 2013 11:17:23 -0500
Pccom Frank <pccom.frank at gmail.com> wrote:

> [2799/3801] Compiling source3/locking/locking.c
> [2800/3801] 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 t60:/usr/local/samba-master #

I expect you're compiling against an old libtalloc that doesn't
provide talloc_pooled_object().
You should be able to compile against the libtalloc bundled with Samba
by removing the libtalloc-devel from your system, or configuring with
--bundled-libraries=talloc.

Cheers, David


More information about the samba mailing list