[lfs-dev] IPRoute2-3.9.0 build failure

Bruce Dubbs bruce.dubbs at gmail.com
Mon May 6 11:00:59 PDT 2013


Armin K. wrote:
> Just use this patch, don't remove -Werror.
>
> https://git.kernel.org/cgit/linux/kernel/git/shemminger/iproute2.git/commit/?id=824c843556a80cd3b4003d1e9e583cfdf632d0c0
>


Looks like the following will do it:

sed -i -e 's/sizeof(th.*)/HDR_LINE_LENGTH)/' misc/lnstat.c

Note that the regex gets an extra ), so it's added back in the substitution.

Builds clean for me.

   -- Bruce



More information about the lfs-dev mailing list