mtd-utils-native compile failed
I built the console-image, but I encountered in this error:
NOTE: Running task 1615 of 2199 (ID: 103,/home/*****/oe/openembedded/recipes/mtd/mtd-utils-native_1.2.0+git.bb, do_compile)
ERROR: function do_compile failed
ERROR: see log in /home/*****/oe/tmp/work/i686-linux/mtd-utils-native-1.2.0+git-r3/temp/log.do_compile.16985
NOTE: Task failed: /home/*****/oe/tmp/work/i686-linux/mtd-utils-native-1.2.0+git-r3/temp/log.do_compile.16985
ERROR: TaskFailed event exception, aborting
ERROR: Build of /home/*****/oe/openembedded/recipes/mtd/mtd-utils-native_1.2.0+git.bb do_compile failed
ERROR: Task 103 (/home/*****/oe/openembedded/recipes/mtd/mtd-utils-native_1.2.0+git.bb, do_compile) failed
NOTE: Tasks Summary: Attempted 1614 tasks of which 1614 didn't need to be rerun and 1 failed.
ERROR: '/home/*****/oe/openembedded/recipes/mtd/mtd-utils-native_1.2.0+git.bb' failed
The log file is:
NOTE: make CC=ccache gcc CFLAGS=-isystem/home/*****/oe/tmp/staging/i686-linux/usr/include -O2 -g -I/home/*****/oe/tmp/work/i686-linux/mtd-utils-native-1.2.0+git-r3/git//include -DWITHOUT_XATTR
d=mkfs.ubifs_all; \ t=`echo $d | sed s:.*_::` d=`echo $d | sed s:_.*::`; \ make BUILDDIR=/home/*****/oe/tmp/work/i686-linux/mtd-utils-native-1.2.0+git-r3/git/$d -C $d $t
make[1]: Entering directory `/home/*****/oe/tmp/work/i686-linux/mtd-utils-native-1.2.0+git-r3/git/mkfs.ubifs'
ccache gcc -isystem/home/*****/oe/tmp/staging/i686-linux/usr/include -I./include -isystem/home/*****/oe/tmp/staging/i686-linux/usr/include -O2 -g -I/home/*****/oe/tmp/work/i686-linux/mtd-utils-native-1.2.0+git-r3/git//include -DWITHOUT_XATTR -c -o /home/*****/oe/tmp/work/i686-linux/mtd-utils-native-1.2.0+git-r3/git/mkfs.ubifs/mkfs.ubifs.o mkfs.ubifs.c -g -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]: *** [/home/*****/oe/tmp/work/i686-linux/mtd-utils-native-1.2.0+git-r3/git/mkfs.ubifs/mkfs.ubifs.o] Error 1
make[1]: Leaving directory `/home/*****/oe/tmp/work/i686-linux/mtd-utils-native-1.2.0+git-r3/git/mkfs.ubifs'
make: *** [subdirs_mkfs.ubifs_all] Error 2
FATAL: oe_runmake failed
Thanks in advance to the reply.
Regards,
Enrico
Quoted 18 lines · Enrico Castro
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
Quoted 8 lines
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
Signature · 1 line
Denys