Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Jan 2017 10:09:54 -0800
From:      hiren panchasara <hiren@strugglingcoder.info>
To:        "Oleg V. Nauman" <oleg@opentransfer.com>, hrs@FreeBSD.org
Cc:        freebsd-current@freebsd.org
Subject:   Re: 'make buildworld' failure
Message-ID:  <20170104180954.GV17818@strugglingcoder.info>
In-Reply-To: <11418322.t0J11AyFVV@asus.theweb.org.ua>
References:  <11418322.t0J11AyFVV@asus.theweb.org.ua>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
+ hrs@
On 01/04/17 at 12:43P, Oleg V. Nauman wrote:
> ===> usr.sbin/inetd (all)
> cc -target x86_64-unknown-freebsd12.0 --sysroot=/usr/obj/usr/src/tmp -
> B/usr/obj/usr/src/tmp/usr/bin  -O2 -pipe -march=nehalem  -DLOGIN_CAP -DIPSEC -
> g -MD  -MF.depend.inetd.o -MTinetd.o -std=gnu99 -fstack-protector-strong -
> Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -
> Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -
> Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-
> variable -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality 
> -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef  -Qunused-
> arguments  -c /usr/src/usr.sbin/inetd/inetd.c -o inetd.o
> /usr/src/usr.sbin/inetd/inetd.c:319:28: error: implicit declaration of 
> function 'satosin6' is
>       invalid in C99 [-Werror,-Wimplicit-function-declaration]
>             IN6_IS_ADDR_V4MAPPED(&satosin6(sa)->sin6_addr))
>                                   ^
> /usr/src/usr.sbin/inetd/inetd.c:319:42: error: member reference type 'int' is 
> not a pointer
>             IN6_IS_ADDR_V4MAPPED(&satosin6(sa)->sin6_addr))
>                                   ~~~~~~~~~~~~  ^
> /usr/obj/usr/src/tmp/usr/include/netinet6/in6.h:266:4: note: expanded from 
> macro
>       'IN6_IS_ADDR_V4MAPPED'
>         ((a)->__u6_addr.__u6_addr32[0] == 0 &&  \
>           ^
> /usr/src/usr.sbin/inetd/inetd.c:319:42: error: member reference type 'int' is 
> not a pointer
>             IN6_IS_ADDR_V4MAPPED(&satosin6(sa)->sin6_addr))
>                                   ~~~~~~~~~~~~  ^
> /usr/obj/usr/src/tmp/usr/include/netinet6/in6.h:267:4: note: expanded from 
> macro
>       'IN6_IS_ADDR_V4MAPPED'
>          (a)->__u6_addr.__u6_addr32[1] == 0 &&  \
>           ^
> /usr/src/usr.sbin/inetd/inetd.c:319:42: error: member reference type 'int' is 
> not a pointer
>             IN6_IS_ADDR_V4MAPPED(&satosin6(sa)->sin6_addr))
>                                   ~~~~~~~~~~~~  ^
> /usr/obj/usr/src/tmp/usr/include/netinet6/in6.h:268:4: note: expanded from 
> macro
>       'IN6_IS_ADDR_V4MAPPED'
>          (a)->__u6_addr.__u6_addr32[2] == ntohl(0x0000ffff))
>           ^
> 4 errors generated.
> *** Error code 1
> 
> 
> 
> root@asus:/usr/src # svnlite info|grep Rev:
> Last Changed Rev: 311250
> 
> My current system revision is r310560
> 
>  It possible that it is due to WITHOUT_INET6 defined in /etc/src.conf

r310921 could be it.

Cheers,
Hiren

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQF8BAABCgBmBQJYbTpuXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRBNEUyMEZBMUQ4Nzg4RjNGMTdFNjZGMDI4
QjkyNTBFMTU2M0VERkU1AAoJEIuSUOFWPt/ljh0H/iJYXPPQMLBvZmygY4FQRCT+
leoOG3f/BnLApL9a8CuWaRvcbc+qZtKbpT5C9iNnABN4d+McfYHLQt0q8vAuqhg0
0G4TcHsTkDWLw9LkUXSGtGHMifMGAJR++0yUHhftmKWwb+3vvoDvqbyxG78QvaiL
a1337x5iZTOZTeys/4ZEggO8Hcb6ojVxVgNrvPJGBQj5tqgEmAzNgvA+wg6gyegz
jrPQ+Lx4RSkx8mfVN9UngIAZ5iVluKlbm+kdxwT3ErZ9M70YJ72reboUn4O/rO9d
D++pOn4ZjVbEA8IYycchUHBhhJHeecc9tDq0KmsOLR7MYYQck4pwIY8Qt2qee0w=
=Z6f9
-----END PGP SIGNATURE-----
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170104180954.GV17818>