[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAM0EoMnNAFXSAVe0yodvrBcn6bEfV0=fKknOcHDgL7mOZ1BE0w@mail.gmail.com>
Date: Mon, 4 Jul 2022 12:04:14 -0400
From: Jamal Hadi Salim <jhs@...atatu.com>
To: Petr Machata <petrm@...dia.com>
Cc: David Ahern <dsahern@...il.com>,
Stephen Hemminger <stephen@...workplumber.org>,
Linux Kernel Network Developers <netdev@...r.kernel.org>
Subject: Re: Report: iproute2 build broken?
Should have said this is a really old system, but shouldnt really matter, yes?
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.7 LTS
Release: 16.04
Codename: xenial
hadi@...daloo:~/sample-iproute2-p4tc$ uname -a
Linux vindaloo 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56
UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
cheers,
jamal
On Mon, Jul 4, 2022 at 11:51 AM Jamal Hadi Salim <jhs@...atatu.com> wrote:
>
> I have to admit i am being lazy here digging into the
> root cause but normally iproute2 should just build
> standalone regardless especially when it is a stable
> version:
>
> $ cat include/version.h
> static const char version[] = "5.18.0";
>
> $make
> ..
> ....
> .....
> CC iplink_bond.o
> iplink_bond.c:935:10: error: initializer element is not constant
> .desc = ipstats_stat_desc_bond_tmpl_lacp,
> ^
> iplink_bond.c:935:10: note: (near initialization for
> ‘ipstats_stat_desc_xstats_bond_lacp.desc’)
> iplink_bond.c:957:10: error: initializer element is not constant
> .desc = ipstats_stat_desc_bond_tmpl_lacp,
> ^
> iplink_bond.c:957:10: note: (near initialization for
> ‘ipstats_stat_desc_xstats_slave_bond_lacp.desc’)
> ../config.mk:40: recipe for target 'iplink_bond.o' failed
> make[1]: *** [iplink_bond.o] Error 1
> Makefile:77: recipe for target 'all' failed
> make: *** [all] Error 2
>
> There's more if you fix that one given a whole lot
> of dependencies
>
> cheers,
> jamal
Powered by blists - more mailing lists