On Mon, Jul 24, 2017 at 9:48 AM, Roland Knall <rkn...@gmail.com> wrote:

> Hi
>
> This is not an issue with wireshark code, but rather with the version of
> flex used by the compiler. See https://github.com/westes/flex/commit/
> 8c098febc9a599397921e9b6938b7fb85e38cc7e for a commit fixing this issue,
> but so far Ubuntu does not ship the right version of flex to fix the
> warning.
>
It is no the warning the problem
but the final error
"In file included from /tmp/wireshark-master/caputils/iface_monitor.c:55:0:
",
        "/_usr/include/net/if.h:129:0: error: \"IFNAMSIZ\" redefined
[-Werror]",
        " # define IFNAMSIZ IF_NAMESIZE",
        " ",
        "In file included from /usr/include/libnl3/netlink/netlink.h:24:0,",
        "                 from /usr/include/libnl3/netlink/msg.h:15,",
        "                 from /tmp/wireshark-master/
caputils/iface_monitor.c:40:",
        "/usr/include/libnl3/netlink/netlink-compat.h:21:0: note: this is
the location of the previous definition",
        " #define IFNAMSIZ 16",



>
> cheers
> Roland
>
> On Wed, Jul 5, 2017 at 4:44 AM, Guy Harris <g...@alum.mit.edu> wrote:
>
>> On Jul 4, 2017, at 5:19 AM, Pascal Quantin <pascal.quan...@gmail.com>
>> wrote:
>>
>> > Guy, do you remember because of which libnl version you moved net/if.h
>> inclusion after libnl ones in 592a0fcf04c3f7f9f23476525877763303a1a87d?
>> > Should we include net/if.h first when compiling with libnl3 to cope
>> with this (newly introduced?) redefinition?
>>
>> It compiles just fine, as is, with libnl3 on my Ubuntu 16.04 VM.
>>
>> ____________________________________________________________
>> _______________
>> Sent via:    Wireshark-dev mailing list <wireshark-dev@wireshark.org>
>> Archives:    https://www.wireshark.org/lists/wireshark-dev
>> Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
>>              mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscr
>> ibe
>>
>
>
> ____________________________________________________________
> _______________
> Sent via:    Wireshark-dev mailing list <wireshark-dev@wireshark.org>
> Archives:    https://www.wireshark.org/lists/wireshark-dev
> Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
>              mailto:wireshark-dev-requ...@wireshark.org?subject=
> unsubscribe
>
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@wireshark.org>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe

Reply via email to