mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] iproute2 build errors when updating to 4.6
@ 2016-05-21 23:55 Clemens Gruber
  2016-05-24  7:20 ` Alexander Aring
  2016-05-24 10:04 ` Michael Olbrich
  0 siblings, 2 replies; 12+ messages in thread
From: Clemens Gruber @ 2016-05-21 23:55 UTC (permalink / raw)
  To: ptxdist

Hi,

I need some features from the new iproute2 4.6, but there seem to be
some kernel header vs glibc header incompatibilities occuring when
building the new iproute2 4.6 for ptxdist.

Two examples of the numerous build errors on ptxdist 2016.04.0, a
toolchain with glibc 2.22 and kernel + kernel-headers version 4.6.

In file included from m_ipt.c:17:0:
../include/linux/if.h:106:19: error: redeclaration of enumerator 'IFF_UP'
 #define IFF_UP    IFF_UP
                   ^
../include/linux/if.h:79:2: note: previous definition of 'IFF_UP' was here
  IFF_UP    = 1<<0,  /* sysfs */
  ^~~~~~

In file included from ../include/xtables.h:16:0,
                 from ../include/iptables.h:5,
                 from m_ipt.c:18:
TOOLCHAIN/sysroot-arm-v7a-linux-gnueabihf/usr/include/net/if.h:111:8: error: redefinition of 'struct ifmap'
 struct ifmap
        ^~~~~
In file included from m_ipt.c:17:0:
../include/linux/if.h:189:8: note: originally defined here
 struct ifmap {
        ^~~~~

There is a commit in version 4.6 of iproute2, which should already have fixed
these build errors:
http://git.kernel.org/cgit/linux/kernel/git/shemminger/iproute2.git/commit/?id=8a781d7e2580e14f097b23a7c4731bafc800a824

But somehow the problems still occur on ptxdist.

Any ideas what's going on?

Would be great to have the new iproute2 4.6 working in the next ptxdist release :)

Thanks,
Clemens

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2016-06-16 16:19 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-21 23:55 [ptxdist] iproute2 build errors when updating to 4.6 Clemens Gruber
2016-05-24  7:20 ` Alexander Aring
2016-05-24  7:30   ` Alexander Aring
2016-05-24 13:01     ` Clemens Gruber
2016-05-24 15:24       ` Alexander Aring
2016-05-24 18:08         ` Alexander Aring
2016-05-25 17:42           ` Clemens Gruber
2016-05-29 18:31             ` Alexander Aring
2016-05-30 19:59               ` Clemens Gruber
2016-06-15 18:37                 ` Alexander Aring
2016-06-16 16:19                   ` Clemens Gruber
2016-05-24 10:04 ` Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox