Bug 581 - Busybox sources do not include somee mtd headers
Summary: Busybox sources do not include somee mtd headers
Status: RESOLVED INVALID
Alias: None
Product: Busybox
Classification: Unclassified
Component: Other (show other bugs)
Version: 1.14.x
Hardware: PC Linux
: P3 blocker
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-26 10:51 UTC by African Chief
Modified: 2009-08-26 11:23 UTC (History)
1 user (show)

See Also:
Host: mipsel-linux-gnu
Target: mipsel-linux-uclibc
Build: mipsel-linux-gnu


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description African Chief 2009-08-26 10:51:24 UTC
Busybox sources do not include some mtd headers - e.g.
mtd-abi.h
mtd-user.h
jffs2-user.h

This breaks compilation (mipsel target) if either CONFIG_FLASH_ERASEALL OR CONFIG_FLASH_UNLOCK OR CONFIG_FLASH_LOCK is enabled, because the headers cannot be found.

The problem was overcome by copying over these headers from the mtd-utils sources to the cross-compiler's system include/mtd directory. Shouldn't they be part of the busybox sources?
Comment 1 Bernhard Reutner-Fischer 2009-08-26 11:23:08 UTC
those headers come from the kernel. Disable those mtd applets if you don't have those headers and/or don't need them.