Building busybox against nptl branch failed.

Rob Landley rob at landley.net
Wed Nov 25 08:13:22 UTC 2009


On Tuesday 24 November 2009 03:40:38 Rob Landley wrote:
> On Tuesday 24 November 2009 03:37:11 Rob Landley wrote:
> > libbb/udp_io.c: In function 'send_to_from':
> > libbb/udp_io.c:42: error: invalid application of 'sizeof' to incomplete
> > type 'struct in6_pktinfo'
> > libbb/udp_io.c:87: error: invalid application of 'sizeof' to incomplete
> > type 'struct in6_pktinfo'
> > libbb/udp_io.c:90: error: dereferencing pointer to incomplete type
> > libbb/udp_io.c: In function 'recv_from_to':
> > libbb/udp_io.c:116: error: invalid application of 'sizeof' to incomplete
> > type 'struct in6_pktinfo'
> > libbb/udp_io.c:159: error: dereferencing pointer to incomplete type
> > make[1]: *** [libbb/udp_io.o] Error 1
> > make[1]: *** Waiting for unfinished jobs....
> >
> > Busybox 1.15.2, more or less defconfig, same config worked fine against
> > glibc and uClibc 0.9.30.1, failed with uClibc git 4d55daf5468b61c9 with
> > the above error.
> >
> > Rob
>
> Oh, the uClibc config in question is attached.
>
> I'm trying to get the non-nptl configs I have working before tackling nptl.
> This was an i686 build.

So git bisect was useless (general wailing about the state of the tree is in 
another message), but visual inspection and "git blame" turned up commit 
a9e4475b stick "#if 0" guards around struct in6_pktinfo in 
include/netinet/in.h.

I dunno if the relevant code used to actually work (I have no ipv6 test 
cases), but it did used to compile.  That commit stopped it from doing so.

Rob
-- 
Latency is more important than throughput. It's that simple. - Linus Torvalds


More information about the uClibc mailing list