Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 May 2018 12:53:28 -0400
From:      Michael Butler <imb@protected-networks.net>
To:        Mark Johnston <markj@freebsd.org>
Cc:        FreeBSD Current <current@freebsd.org>
Subject:   Re: conflicting definitions: SVN r333283 et al
Message-ID:  <DF1EC6E5-334C-45C0-B6B1-B42380513E43@protected-networks.net>
In-Reply-To: <20180507141635.GC57279@raichu>
References:  <37efc4e0-6f47-8cf5-8287-d6cb38b00e77@protected-networks.net> <20180507141635.GC57279@raichu>

next in thread | previous in thread | raw e-mail | index | archive | help
Entirely possible - I haven=E2=80=99t focused on =E2=80=98make buildworld=E2=
=80=99 logs for a while - just concerned how many applications rely on the  a=
fnet6 definition ..

Sent from my iPhone

> On May 7, 2018, at 10:16, Mark Johnston <markj@freebsd.org> wrote:
>=20
>> On Mon, May 07, 2018 at 09:18:54AM -0400, Michael Butler wrote:
>> Recent netdump changes appear to introduced/highlighted conflicting
>> definitions ..
>=20
> The conflicting definitions in ip_compat.h already existed, and I'm not
> sure why the netdump import brought them to light. I didn't see this
> failure when doing build testing, and the CI jobs aren't reporting
> anything. Is this happening during a buildworld?
>=20
>> Building /usr/obj/usr/src/i386.i386/lib/libsysdecode/ioctl.c
>> In file included from <stdin>:70:
>> In file included from
>> /usr/obj/usr/src/i386.i386/tmp/usr/include/netinet/netdump/netdump.h:37:
>> In file included from
>> /usr/obj/usr/src/i386.i386/tmp/usr/include/net/if.h:48:
>> /usr/obj/usr/src/i386.i386/tmp/usr/include/sys/socket.h:251:9: warning:
>> 'AF_INET6' macro redefined [-Wmacro-redefined]
>> #define AF_INET6        28              /* IPv6 */
>>        ^
>> /usr/obj/usr/src/i386.i386/tmp/usr/include/netinet/ip_compat.h:1467:10:
>> note: previous definition is here
>> # define        AF_INET6        26
>>                ^
>> In file included from <stdin>:70:
>> In file included from
>> /usr/obj/usr/src/i386.i386/tmp/usr/include/netinet/netdump/netdump.h:37:
>> /usr/obj/usr/src/i386.i386/tmp/usr/include/net/if.h:58:10: warning:
>> 'IFNAMSIZ' macro redefined [-Wmacro-redefined]
>> #define         IFNAMSIZ        IF_NAMESIZE
>>                ^
>> /usr/obj/usr/src/i386.i386/tmp/usr/include/netinet/ip_compat.h:1415:9:
>> note: previous definition is here
>> #define IFNAMSIZ                16
>>        ^
>> 2 warnings generated.
>>=20
>>    imb
>>=20




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DF1EC6E5-334C-45C0-B6B1-B42380513E43>