[Buildroot] [git commit] busybox: add 1.19.x branch and cleanup

Gustavo Zacarias gustavo at zacarias.com.ar
Thu Sep 8 12:04:17 UTC 2011


On Thu, 08 Sep 2011 10:16:50 +0200, Sven Neumann wrote:

> I've updated buildroot from git today and changed the config to use
> busybox 1.19.2. Now compilation fails with the following error:
>
> In file included from miscutils/ubi_tools.c:63:
> 
> /home/sven/git/buildroot/output/toolchain/linux/include/mtd/ubi-user.h:329:
> error: conflicting types for ‘__packed’
> 
> /home/sven/git/buildroot/output/toolchain/linux/include/mtd/ubi-user.h:313:
> error: previous declaration of ‘__packed’ was here
> 
> /home/sven/git/buildroot/output/toolchain/linux/include/mtd/ubi-user.h:371:
> error: conflicting types for ‘__packed’
> 
> /home/sven/git/buildroot/output/toolchain/linux/include/mtd/ubi-user.h:313:
> error: previous declaration of ‘__packed’ was here
> 
> /home/sven/git/buildroot/output/toolchain/linux/include/mtd/ubi-user.h:386:
> error: conflicting types for ‘__packed’
> 
> /home/sven/git/buildroot/output/toolchain/linux/include/mtd/ubi-user.h:313:
> error: previous declaration of ‘__packed’ was here
> 
> /home/sven/git/buildroot/output/toolchain/linux/include/mtd/ubi-user.h:398:
> error: conflicting types for ‘__packed’
> 
> /home/sven/git/buildroot/output/toolchain/linux/include/mtd/ubi-user.h:313:
> error: previous declaration of ‘__packed’ was here
> 
> /home/sven/git/buildroot/output/toolchain/linux/include/mtd/ubi-user.h:412:
> error: conflicting types for ‘__packed’
> 
> /home/sven/git/buildroot/output/toolchain/linux/include/mtd/ubi-user.h:313:
> error: previous declaration of ‘__packed’ was here
> make[2]: *** [miscutils/ubi_tools.o] Error 1
> make[1]: *** [miscutils] Error 2
>
>
> Sven

I'm assuming you're using a custom busybox config and that you've 
enabled UBI tools.
With that in mind it's a linux 3.0 headers issue already reported in 
the busybox ML.
Regards.



More information about the buildroot mailing list