[oe] mtd-utils-native compile failed

Denys Dmytriyenko denis at denix.org
Wed Oct 7 07:05:35 UTC 2009


On Wed, Oct 07, 2009 at 08:21:49AM +0200, Enrico Castro wrote:
> I built the console-image, but I encountered in this error:
>
> -Wp,-MD,/home/*****/oe/tmp/work/i686-linux/mtd-utils-native-1.2.0+git-r3/git/mkfs.ubifs/.mkfs.ubifs.c.dep
> mkfs.ubifs.c: In function 'add_inode_with_data':
> mkfs.ubifs.c:944: error: 'FS_COMPR_FL' undeclared (first use in this 
> function)
> mkfs.ubifs.c:944: error: (Each undeclared identifier is reported only once
> mkfs.ubifs.c:944: error: for each function it appears in.)
> mkfs.ubifs.c:946: error: 'FS_SYNC_FL' undeclared (first use in this 
> function)
> mkfs.ubifs.c:948: error: 'FS_IMMUTABLE_FL' undeclared (first use in this 
> function)
> mkfs.ubifs.c:950: error: 'FS_APPEND_FL' undeclared (first use in this 
> function)
> mkfs.ubifs.c:952: error: 'FS_DIRSYNC_FL' undeclared (first use in this 
> function)
> mkfs.ubifs.c: In function 'add_dir_inode':
> mkfs.ubifs.c:1025: error: 'FS_IOC_GETFLAGS' undeclared (first use in this 
> function)
> mkfs.ubifs.c: In function 'add_file':
> mkfs.ubifs.c:1211: error: 'FS_COMPR_FL' undeclared (first use in this 
> function)
> mkfs.ubifs.c: In function 'add_non_dir':
> mkfs.ubifs.c:1255: error: 'FS_IOC_GETFLAGS' undeclared (first use in this 
> function)
> make[1]: *** 

Your host linux-libc-headers are too old for UBIFS. Either upgrade your host, 
set PREFERRED_VERSION to 1.1.0 or disable UBI altogether[1].

[1] http://arago-project.org/git/?p=arago.git;a=commitdiff;h=8771cb4b44b8ba776d8e0aef1b7790e68b3358da

-- 
Denys




More information about the Openembedded-devel mailing list