[Bug 918] New: yaffs2-utils-native fails to build

bugzilla-daemon at bugzilla.openmoko.org bugzilla-daemon at bugzilla.openmoko.org
Wed Oct 10 07:13:47 CEST 2007


http://bugzilla.openmoko.org/cgi-bin/bugzilla/show_bug.cgi?id=918

           Summary: yaffs2-utils-native fails to build
           Product: OpenMoko
           Version: current svn head
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: OE bitbake recipes  / build system
        AssignedTo: mickey at vanille-media.de
        ReportedBy: roh at openmoko.org
                CC: buglog at lists.openmoko.org


yaffs2-utils-native is needed for gta02, but fails to build:

NOTE: package yaffs2-utils-native-0.0.0+cvs20071010: started
NOTE: package yaffs2-utils-native-0.0.0+cvs20071010-r0: task do_compile: started
ERROR: function do_compile failed
ERROR: log data follows
(/files/openmoko-gta02/build/tmp/work/i686-linux/yaffs2-utils-native-0.0.0+cvs20071010-r0/temp/log.do_compile.32229)
| NOTE: make -j 4 -e MAKEFLAGS=
| ln -s ../yaffs_ecc.c yaffs_ecc.c
| ccache gcc -c
-isystem/files/openmoko-gta02/build/tmp/staging/i686-linux/include -Os -I..
-DCONFIG_YAFFS_UTIL mkyaffsimage.c -o mkyaffsimage.o
| ccache gcc -c
-isystem/files/openmoko-gta02/build/tmp/staging/i686-linux/include -Os -I..
-DCONFIG_YAFFS_UTIL mkyaffs2image.c -o mkyaffs2image.o
| ln -s ../yaffs_packedtags2.c yaffs_packedtags2.c
| ln -s ../yaffs_tagsvalidity.c yaffs_tagsvalidity.c
| ccache gcc -c
-isystem/files/openmoko-gta02/build/tmp/staging/i686-linux/include -Os -I..
-DCONFIG_YAFFS_UTIL yaffs_ecc.c -o yaffs_ecc.o
| ccache gcc -c
-isystem/files/openmoko-gta02/build/tmp/staging/i686-linux/include -Os -I..
-DCONFIG_YAFFS_UTIL yaffs_packedtags2.c -o yaffs_packedtags2.o
| In file included from ../yaffs_guts.h:19,
|                  from mkyaffsimage.c:31:
| ../devextras.h:205:1: warning: "DT_UNKNOWN" redefined
| In file included from mkyaffsimage.c:27:
| /usr/include/dirent.h:101:1: warning: this is the location of the previous
definition
| In file included from ../yaffs_guts.h:19,
|                  from mkyaffsimage.c:31:
| ../devextras.h:206:1: warning: "DT_FIFO" redefined
| In file included from mkyaffsimage.c:27:
| /usr/include/dirent.h:103:1: warning: this is the location of the previous
definition
| In file included from ../yaffs_guts.h:19,
|                  from mkyaffsimage.c:31:
| ../devextras.h:207:1: warning: "DT_CHR" redefined
| In file included from mkyaffsimage.c:27:
| /usr/include/dirent.h:105:1: warning: this is the location of the previous
definition
| In file included from ../yaffs_guts.h:19,
|                  from mkyaffsimage.c:31:
| ../devextras.h:208:1: warning: "DT_DIR" redefined
| In file included from mkyaffsimage.c:27:
| /usr/include/dirent.h:107:1: warning: this is the location of the previous
definition
| In file included from ../yaffs_guts.h:19,
|                  from mkyaffsimage.c:31:
| ../devextras.h:209:1: warning: "DT_BLK" redefined
| In file included from mkyaffsimage.c:27:
| /usr/include/dirent.h:109:1: warning: this is the location of the previous
definition
| In file included from ../yaffs_guts.h:19,
|                  from mkyaffsimage.c:31:
| ../devextras.h:210:1: warning: "DT_REG" redefined
| In file included from mkyaffsimage.c:27:
| /usr/include/dirent.h:111:1: warning: this is the location of the previous
definition
| In file included from ../yaffs_guts.h:19,
|                  from mkyaffsimage.c:31:
| ../devextras.h:211:1: warning: "DT_LNK" redefined
| In file included from mkyaffsimage.c:27:
| /usr/include/dirent.h:113:1: warning: this is the location of the previous
definition
| In file included from ../yaffs_guts.h:19,
|                  from mkyaffsimage.c:31:
| ../devextras.h:212:1: warning: "DT_SOCK" redefined
| In file included from mkyaffsimage.c:27:
| /usr/include/dirent.h:115:1: warning: this is the location of the previous
definition
| In file included from ../yaffs_guts.h:19,
|                  from mkyaffsimage.c:31:
| ../devextras.h:213:1: warning: "DT_WHT" redefined
| In file included from mkyaffsimage.c:27:
| /usr/include/dirent.h:117:1: warning: this is the location of the previous
definition
| ccache gcc -c
-isystem/files/openmoko-gta02/build/tmp/staging/i686-linux/include -Os -I..
-DCONFIG_YAFFS_UTIL yaffs_tagsvalidity.c -o yaffs_tagsvalidity.o
| ccache gcc -o mkyaffsimage yaffs_ecc.o mkyaffsimage.o
| mkyaffs2image.c:32:26: error: mtd/mtd-user.h: No such file or directory
| In file included from ../yaffs_guts.h:19,
|                  from mkyaffs2image.c:34:
| ../devextras.h:205:1: warning: "DT_UNKNOWN" redefined
| In file included from mkyaffs2image.c:29:
| /usr/include/dirent.h:101:1: warning: this is the location of the previous
definition
| In file included from ../yaffs_guts.h:19,
|                  from mkyaffs2image.c:34:
| ../devextras.h:206:1: warning: "DT_FIFO" redefined
| In file included from mkyaffs2image.c:29:
| /usr/include/dirent.h:103:1: warning: this is the location of the previous
definition
| In file included from ../yaffs_guts.h:19,
|                  from mkyaffs2image.c:34:
| ../devextras.h:207:1: warning: "DT_CHR" redefined
| In file included from mkyaffs2image.c:29:
| /usr/include/dirent.h:105:1: warning: this is the location of the previous
definition
| In file included from ../yaffs_guts.h:19,
|                  from mkyaffs2image.c:34:
| ../devextras.h:208:1: warning: "DT_DIR" redefined
| In file included from mkyaffs2image.c:29:
| /usr/include/dirent.h:107:1: warning: this is the location of the previous
definition
| In file included from ../yaffs_guts.h:19,
|                  from mkyaffs2image.c:34:
| ../devextras.h:209:1: warning: "DT_BLK" redefined
| In file included from mkyaffs2image.c:29:
| /usr/include/dirent.h:109:1: warning: this is the location of the previous
definition
| In file included from ../yaffs_guts.h:19,
|                  from mkyaffs2image.c:34:
| ../devextras.h:210:1: warning: "DT_REG" redefined
| In file included from mkyaffs2image.c:29:
| /usr/include/dirent.h:111:1: warning: this is the location of the previous
definition
| In file included from ../yaffs_guts.h:19,
|                  from mkyaffs2image.c:34:
| ../devextras.h:211:1: warning: "DT_LNK" redefined
| In file included from mkyaffs2image.c:29:
| /usr/include/dirent.h:113:1: warning: this is the location of the previous
definition
| In file included from ../yaffs_guts.h:19,
|                  from mkyaffs2image.c:34:
| ../devextras.h:212:1: warning: "DT_SOCK" redefined
| In file included from mkyaffs2image.c:29:
| /usr/include/dirent.h:115:1: warning: this is the location of the previous
definition
| In file included from ../yaffs_guts.h:19,
|                  from mkyaffs2image.c:34:
| ../devextras.h:213:1: warning: "DT_WHT" redefined
| In file included from mkyaffs2image.c:29:
| /usr/include/dirent.h:117:1: warning: this is the location of the previous
definition
| mkyaffs2image.c:50: error: array type has incomplete element type
| mkyaffs2image.c:57: error: field name not in record or union initializer
| mkyaffs2image.c:57: error: (near initialization for 'oob_layout')
| mkyaffs2image.c:57: error: 'MTD_NANDECC_AUTOPLACE' undeclared here (not in a
function)
| mkyaffs2image.c:58: error: field name not in record or union initializer
| mkyaffs2image.c:58: error: (near initialization for 'oob_layout')
| mkyaffs2image.c:59: error: field name not in record or union initializer
| mkyaffs2image.c:59: error: (near initialization for 'oob_layout')
| mkyaffs2image.c:60: error: field name not in record or union initializer
| mkyaffs2image.c:60: error: (near initialization for 'oob_layout')
| mkyaffs2image.c:70: error: field name not in record or union initializer
| mkyaffs2image.c:70: error: (near initialization for 'oob_layout')
| mkyaffs2image.c:71: error: field name not in record or union initializer
| mkyaffs2image.c:71: error: (near initialization for 'oob_layout')
| mkyaffs2image.c:72: error: field name not in record or union initializer
| mkyaffs2image.c:72: error: (near initialization for 'oob_layout')
| mkyaffs2image.c:76: error: field name not in record or union initializer
| mkyaffs2image.c:76: error: (near initialization for 'oob_layout')
| mkyaffs2image.c:80: error: field name not in record or union initializer
| mkyaffs2image.c:80: error: (near initialization for 'oob_layout')
| make: *** [mkyaffs2image.o] Error 1
| make: *** Waiting for unfinished jobs....
| FATAL: oe_runmake failed
NOTE: Task failed:
/files/openmoko-gta02/build/tmp/work/i686-linux/yaffs2-utils-native-0.0.0+cvs20071010-r0/temp/log.do_compile.32229
NOTE: package yaffs2-utils-native-0.0.0+cvs20071010-r0: task do_compile: failed
ERROR: TaskFailed event exception, aborting
NOTE: package yaffs2-utils-native-0.0.0+cvs20071010: failed

the reciepe says 'pretty recent mtd-utils are needed' but building
mtd-utils-native manually does not fix the problem.



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




More information about the buglog mailing list