[Buildroot] [PATCH 2/2] package/dhcpcd: Fix ipv6-related build error

Bernd Kuhls bernd.kuhls at t-online.de
Wed Apr 22 21:04:40 UTC 2015


Thomas Petazzoni <thomas.petazzoni-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8
@public.gmane.org> wrote in news:20150420225837.02ddde6b at free-electrons.com:

> Do you have an explanation of why this build failure happens with
> certain uClibc toolchains and not others?

Hi Thomas,

sorry, I have no idea.

"struct in6_pktinfo" is encapsulated in include/netinet/in.h by

#ifdef __USE_GNU

It looked weird for me that dhcpcd want to add -D_BSD_SOURCE to cflags on 
linux*, so I tried to change it, and voila, the code compiled.

Regards, Bernd




More information about the buildroot mailing list