samba4 won't compile on FreeBSD 8.2/amd64

tms3 at tms3.com tms3 at tms3.com
Tue May 17 15:07:27 MDT 2011


I am getting a build failure as well.

Waf: Leaving directory `/usr/ports/distfiles/samba4/samba-master/bin'
Build failed:  -> task failed (err #1):
        {task: cc util_cmdline.c -> util_cmdline_40.o}
gmake: *** [all] Error 1
prism# uname -a
FreeBSD prism.tms3.com 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Mon Feb 28 
22:02:35 PST 2011 prism.tms3.com:/usr/obj/usr/src/sys/PRISM  amd64
>
> Original message appears to have been blocked due to size limits.
>
> You can download the requested files from
> http://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