samba4 won't compile on FreeBSD 8.2/amd64
Hugo Silva
hugo at barafranca.com
Tue May 17 08:47:36 MDT 2011
Hello,
Because the FreeBSD port is very old (alpha11) and (it seems) unusable:
22026 initial thread STRU struct sockaddr { AF_INET, 192.168.251.3:389 }
22026 initial thread RET bind -1 errno 22 Invalid argument
22026 initial thread CALL close(0x30)
22026 initial thread RET close 0
22026 initial thread CALL write(0x1,0x8029c9000,0x47)
22026 initial thread GIO fd 1 wrote 71 bytes
"Failed to bind to ipv4:192.168.1.1:389 - NT_STATUS_INVALID_PARAMETER
I am trying to compile the latest git version. Unfortunately, it's
giving me some trouble:
[ 636/3328] Compiling source4/lib/ldb/pyldb_util.c
[ 637/3328] Compiling source4/lib/ldb/tools/ldbutil.c
../source4/lib/ldb/tools/ldbutil.c:33:24: error: ldb_module.h: No such
file or directory
../source4/lib/ldb/tools/ldbutil.c: In function 'ldb_do_autotransaction':
../source4/lib/ldb/tools/ldbutil.c:60: error: implicit declaration of
function 'ldb_asprintf_errstring'
../source4/lib/ldb/tools/ldbutil.c: In function 'ldb_search_ctrl':
../source4/lib/ldb/tools/ldbutil.c:198: error: implicit declaration of
function 'ldb_req_set_location'
Waf: Leaving directory `/usr/local/samba-master/bin'
Build failed: -> task failed (err #1):
{task: cc ldbutil.c -> ldbutil_5.o}
gmake: *** [all] Error 1
I followed the docs @ http://wiki.samba.org/index.php/Samba4/HOWTO
What could be the problem?
Regards,
Hugo
More information about the samba-technical
mailing list