samba4 won't compile on FreeBSD 8.2/amd64

Hugo Silva hugo at barafranca.com
Tue May 17 14:40:07 MDT 2011


Original message appears to have been blocked due to size limits.

You can download the requested files from
www.debuginc.com/troubleshooting_samba4.tar.gz

Regards,

Hugo

On 05/17/11 17:49, Hugo Silva wrote:
> Hi,
> 
> Requested files attached.
> 
> Regards,
> 
> Hugo
> 
> 
> On 05/17/11 17:20, Matthieu Patou wrote:
>> 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
>>
>>
> 



More information about the samba-technical mailing list