Bug 1669 - Busybox failed to compile when using an external toolchain
Summary: Busybox failed to compile when using an external toolchain
Status: RESOLVED FIXED
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: PC Linux
: P5 minor
Target Milestone: ---
Assignee: Thomas Petazzoni
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-30 14:49 UTC by Anthony Groyer
Modified: 2010-05-08 07:38 UTC (History)
1 user (show)

See Also:
Host:
Target: ARM926EJ-S
Build: 20100415 snapshot


Attachments
Buildroot configuration file (23.86 KB, text/plain)
2010-05-03 06:58 UTC, Anthony Groyer
Details

Note You need to log in before you can comment on or make changes to this bug.
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