[Buildroot] [autobuild.buildroot.net] Build results for 2015-11-26

Jörg Krause joerg.krause at embedded.rocks
Fri Nov 27 19:14:39 UTC 2015


On Fr, 2015-11-27 at 16:20 +0100, Thomas Petazzoni wrote:
> Dear Jörg Krause,
> 
> On Fri, 27 Nov 2015 14:03:09 +0100, Jörg Krause wrote:
> 
> > >          arm |                arptables-0.0.4 | NOK | http://auto
> > > buil
> > > d.buildroot.net/results/b721e4fa24a0728c20fd2ec0663c2b5981387642/
> > 
> > I had a look at this. Build fails because of namespace collision
> > between netinet and linux headers, e.g IPPROTO_IP is both defined
> > in
> > linux/in.h and netinet/in.h.
> > 
> > Unfortunatly, I am not sure how to fix this properly.
> 
> That's a typical case of issue exhibited by musl. You can probably
> just
> remove the <linux/in.h> include completely.
> 

Unfortunatly it is not so easy: 'libarptc.h' includes 'netinit/in.h'
through the local header file 'libarptc/arpt_kernel_headers.h' directly
and indirectly, e.g. through 'netinet/ip.h'. On the other hand it
includes 'linux/in.h' indirectly through the system header file
'linux/netfilter_arp/arp_tables.h'. The declarations from
'linux/netfilter_arp/arp_tables.h' are required, so this header cannot
be removed easily.

Any idea?

Best regards
Jörg Krause




More information about the buildroot mailing list