samba4 won't compile on FreeBSD 8.2/amd64

Matthieu Patou mat at samba.org
Tue May 17 10:20:49 MDT 2011


Hello,

try first make V=1

Also can you provide
* bin/c4che/default.cache.py
* bin/config.log


Post the full output of make V=1

Matthieu.
On 17/05/2011 18:47, Hugo Silva wrote:
> 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


-- 
Matthieu Patou
Samba Team        http://samba.org
Private repo      http://git.samba.org/?p=mat/samba.git;a=summary




More information about the samba-technical mailing list