Bug 1669

Summary: Busybox failed to compile when using an external toolchain
Product: buildroot Reporter: Anthony Groyer <anthony.groyer>
Component: OtherAssignee: Thomas Petazzoni <thomas.petazzoni>
Status: RESOLVED FIXED    
Severity: minor CC: buildroot
Priority: P5    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Host: Target: ARM926EJ-S
Build: 20100415 snapshot
Attachments: Buildroot configuration file

Description Anthony Groyer 2010-04-30 14:49:37 UTC
I used buildroot-20100415 and when using an external toolchain, busybox fails to compile and complains that mtd/mtd-user.h and mtd/mtd-abi.h are missing.

I solve this issue by compiling manually:
make zlib
make lzo
make mtd
then copying the files mtd-user.h and mtd-abi.h:
mkdir staging/usr/include/mtd/
cp build/mtd-1.3.1/include/mtd/mtd-user.h staging/usr/include/mtd/
cp build/mtd-1.3.1/include/mtd/mtd-abi.h staging/usr/include/mtd/
Comment 1 Thomas Petazzoni 2010-04-30 15:46:42 UTC
Do you have a specific Busybox configuration file or are you using Buildroot's default one ?

What is your Buildroot .config file ?
Comment 2 Anthony Groyer 2010-05-03 06:58:35 UTC
Created attachment 1621 [details]
Buildroot configuration file
Comment 3 Anthony Groyer 2010-05-03 06:59:54 UTC
(In reply to comment #1)
> Do you have a specific Busybox configuration file or are you using Buildroot's
> default one ?
> 
> What is your Buildroot .config file ?

I use the Buildroot's default busybox configuration file.
I have added my Buildroot .config file as an attachment.
Comment 4 Thomas Petazzoni 2010-05-04 20:20:12 UTC
I will soon send a patch fixing this bug.
Comment 5 Peter Korsgaard 2010-05-08 07:38:50 UTC
Fixed in git, thanks