Pccom Frank
2013-Nov-28 00:37 UTC
[Samba] Samba4 git (11/27/2013) won't compile on FreeBSD 9.2 Stable
... [2798/3801] Compiling source3/librpc/rpc/dcerpc_ep.c [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 hq:/usr/local/samba-master # root at hq:/usr/local/samba-master # uname -a FreeBSD hq.pccom.ca 9.2-STABLE FreeBSD 9.2-STABLE #7: Fri Oct 4 19:00:49 EDT 2013 root at pccom.ca:/usr/obj/usr/src/sys/frank amd64 root at hq:/usr/local/samba-master # root at hq:/usr/local/samba-master # gcc -v Using built-in specs. Target: amd64-undermydesk-freebsd Configured with: FreeBSD/amd64 system compiler Thread model: posix gcc version 4.2.1 20070831 patched [FreeBSD] root at hq:/usr/local/samba-master # Samba4.0.12 in port works.