samba4 won't compile on FreeBSD 8.2/amd64

Hugo Silva hugo at barafranca.com
Tue May 17 10:49:24 MDT 2011


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
> 
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: troubleshooting_samba4.tar.gz
Type: application/gzip
Size: 392210 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20110517/45a05128/attachment-0001.bin>


More information about the samba-technical mailing list