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>

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

--y5yQnZmVlpWlTeDv
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

+ hrs@
On 01/04/17 at 12:43P, Oleg V. Nauman wrote:
> =3D=3D=3D> usr.sbin/inetd (all)
> cc -target x86_64-unknown-freebsd12.0 --sysroot=3D/usr/obj/usr/src/tmp -
> B/usr/obj/usr/src/tmp/usr/bin  -O2 -pipe -march=3Dnehalem  -DLOGIN_CAP -D=
IPSEC -
> g -MD  -MF.depend.inetd.o -MTinetd.o -std=3Dgnu99 -fstack-protector-stron=
g -
> Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -
> Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialize=
d -
> Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-
> variable -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equ=
ality=20
> -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef  -Qun=
used-
> 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=20
> 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=20
> 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 fro=
m=20
> macro
>       'IN6_IS_ADDR_V4MAPPED'
>         ((a)->__u6_addr.__u6_addr32[0] =3D=3D 0 &&  \
>           ^
> /usr/src/usr.sbin/inetd/inetd.c:319:42: error: member reference type 'int=
' is=20
> 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 fro=
m=20
> macro
>       'IN6_IS_ADDR_V4MAPPED'
>          (a)->__u6_addr.__u6_addr32[1] =3D=3D 0 &&  \
>           ^
> /usr/src/usr.sbin/inetd/inetd.c:319:42: error: member reference type 'int=
' is=20
> 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 fro=
m=20
> macro
>       'IN6_IS_ADDR_V4MAPPED'
>          (a)->__u6_addr.__u6_addr32[2] =3D=3D ntohl(0x0000ffff))
>           ^
> 4 errors generated.
> *** Error code 1
>=20
>=20
>=20
> root@asus:/usr/src # svnlite info|grep Rev:
> Last Changed Rev: 311250
>=20
> My current system revision is r310560
>=20
>  It possible that it is due to WITHOUT_INET6 defined in /etc/src.conf

r310921 could be it.

Cheers,
Hiren

--y5yQnZmVlpWlTeDv
Content-Type: application/pgp-signature

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

--y5yQnZmVlpWlTeDv--



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