Solved samba 4 issue

Hello,
i use FreeBSD 11.1 on laptop atom i386.
I am trained to compile samba 4 but I have errors that I do not understand. I have an error on ... / samba-4.4.15 / third_party /, where can it come from?

This is my output :
Code:
_ip_dummy_module_proto(void) -MD -Idefault/source4/lib/socket -I../source4/lib/socket -Idefault/include/public -I../include/public -Idefault/source4 -I../source4 -Idefault/lib -I../lib -Idefault/source4/lib -I../source4/lib -Idefault/source4/include -I../source4/include -Idefault/include -I../include -Idefault/lib/replace -I../lib/replace -Idefault -I.. -Idefault/libcli/util -I../libcli/util -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -D_SAMBA_BUILD_=4 -DHAVE_CONFIG_H=1 -D_GNU_SOURCE=1 -D_XOPEN_SOURCE_EXTENDED=1 ../source4/lib/socket/socket_ip.c -c -o default/source4/lib/socket/socket_ip_5.o
../source4/lib/socket/socket_ip.c:864:12: error: comparison of array
      'addr.__u6_addr.__u6_addr8' equal to a null pointer is always false
      [-Werror,-Wtautological-pointer-compare]
                if (addr.s6_addr == 0) {
                    ~~~~~^~~~~~~    ~
/usr/include/netinet6/in6.h:103:29: note: expanded from macro 's6_addr'
#define s6_addr   __u6_addr.__u6_addr8
                            ^
1 error generated.
Waf: Leaving directory `/usr/ports/net/samba44/work/samba-4.4.15/bin'
Build failed:  -> task failed (err #1):
   {task: cc socket_ip.c -> socket_ip_5.o}
  File "buildtools/bin/waf", line 76, in <module>
   Scripting.prepare(t, cwd, VERSION, wafdir)
  File "/usr/ports/net/samba44/work/samba-4.4.15/third_party/waf/wafadmin/Scripting.py", line 147, in prepare
   error(str(e))
*** Error code 1

Stop.
make[2]: stopped in /usr/ports/net/samba44
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/net/samba44
*** Error code 1

Stop.
make: stopped in /usr/ports/net/samba44
root@sta-iris:/usr/ports/net/samba44 # cd work
root@sta-iris:/usr/ports/net/samba44/work # cd third_party
third_party: No such file or directory.
root@sta-iris:/usr/ports/net/samba44/work # make MAKE_JOBS_UNSAFE=yes reinstall clean
make: don't know how to make reinstall. Stop

make: stopped in /usr/ports/net/samba44/work
root@sta-iris:/usr/ports/net/samba44/work # ls
.configure_done.samba44._usr_local   .license_done.samba44._usr_local
.extract_done.samba44._usr_local   .patch_done.samba44._usr_local
.license-catalog.mk           samba-4.4.15
.license-report
root@sta-iris:/usr/ports/net/samba44/work #

Regards
Philippe
 
Back
Top