Bug 581

Summary: Busybox sources do not include somee mtd headers
Product: Busybox Reporter: African Chief <chief>
Component: OtherAssignee: unassigned
Status: RESOLVED INVALID    
Severity: blocker CC: busybox-cvs
Priority: P3    
Version: 1.14.x   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Host: mipsel-linux-gnu Target: mipsel-linux-uclibc
Build: mipsel-linux-gnu

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.