[#4317] YAFFS2 compiling fails on 2.6.26 svn trunk

Document created by Aaronwu Employee on Aug 29, 2013
Version 1Show Document
  • View in full screen mode

[#4317] YAFFS2 compiling fails on 2.6.26 svn trunk

Submitted By: Bryan Wu

Open Date

2008-08-07 04:22:49     Close Date

2008-08-07 04:30:35

Priority:

Medium     Assignee:

Bryan Wu

Status:

Closed     Fixed In Release:

N/A

Found In Release:

N/A     Release:

Category:

N/A     Board:

N/A

Processor:

N/A     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Fixed

Uboot version or rev.:

    Toolchain version or rev.:

App binary format:

N/A     

Summary: YAFFS2 compiling fails on 2.6.26 svn trunk

Details:

 

  CC [M]  fs/yaffs2/yaffs_fs.o

fs/yaffs2/yaffs_fs.c:289: error: unknown field ‘read_inode’ specified in initializer

fs/yaffs2/yaffs_fs.c:289: warning: initialization from incompatible pointer type

fs/yaffs2/yaffs_fs.c:290: error: unknown field ‘put_inode’ specified in initializer

fs/yaffs2/yaffs_fs.c: In function ‘yaffs_get_inode’:

fs/yaffs2/yaffs_fs.c:851: error: implicit declaration of function ‘iget’

fs/yaffs2/yaffs_fs.c:851: warning: assignment makes pointer from integer without a cast

fs/yaffs2/yaffs_fs.c: In function ‘yaffs_file_write’:

fs/yaffs2/yaffs_fs.c:886: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘size_t’

fs/yaffs2/yaffs_fs.c:895: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘size_t’

fs/yaffs2/yaffs_fs.c: In function ‘yaffs_readdir’:

fs/yaffs2/yaffs_fs.c:972: warning: assignment from incompatible pointer type

fs/yaffs2/yaffs_fs.c:972: warning: comparison of distinct pointer types lacks a cast

fs/yaffs2/yaffs_fs.c:975: warning: initialization from incompatible pointer type

fs/yaffs2/yaffs_fs.c: In function ‘yaffs_rename’:

fs/yaffs2/yaffs_fs.c:1276: warning: passing argument 1 of ‘list_empty’ from incompatible pointer type

fs/yaffs2/yaffs_fs.c: In function ‘yaffs_put_super’:

fs/yaffs2/yaffs_fs.c:1532: warning: passing argument 1 of ‘list_del’ from incompatible pointer type

fs/yaffs2/yaffs_fs.c: In function ‘yaffs_internal_read_super’:

fs/yaffs2/yaffs_fs.c:1816: warning: assignment from incompatible pointer type

fs/yaffs2/yaffs_fs.c:1838: warning: assignment from incompatible pointer type

fs/yaffs2/yaffs_fs.c:1867: warning: passing argument 1 of ‘list_add_tail’ from incompatible pointer type

fs/yaffs2/yaffs_fs.c: In function ‘yaffs_proc_read’:

fs/yaffs2/yaffs_fs.c:2077: warning: initialization from incompatible pointer type

fs/yaffs2/yaffs_fs.c: In function ‘init_yaffs_fs’:

fs/yaffs2/yaffs_fs.c:2250: error: ‘proc_root’ undeclared (first use in this function)

fs/yaffs2/yaffs_fs.c:2250: error: (Each undeclared identifier is reported only once

fs/yaffs2/yaffs_fs.c:2250: error: for each function it appears in.)

fs/yaffs2/yaffs_fs.c: In function ‘exit_yaffs_fs’:

fs/yaffs2/yaffs_fs.c:2296: error: ‘proc_root’ undeclared (first use in this function)

make[3]: *** [fs/yaffs2/yaffs_fs.o] Error 1

make[2]: *** [fs/yaffs2] Error 2

make[1]: *** [fs] Error 2

make[1]: *** Waiting for unfinished jobs....

make[1]: Leaving directory `/svn/bf54x/linux-2.6.x'

make: *** [linux] Error 1

 

Follow-ups

 

--- Bryan Wu                                                 2008-08-07 05:30:28

Fixed by committing the latest YAFFS2 cvs code.

So close it.

 

-Bryan

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes