[#4860] Linux kernel build fail

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

[#4860] Linux kernel build fail

Submitted By: Jie Zhang

Open Date

2009-02-05 05:05:09     Close Date

2009-02-08 23:04:15

Priority:

Medium     Assignee:

Jie Zhang

Status:

Closed     Fixed In Release:

N/A

Found In Release:

snaps     Release:

Category:

N/A     Board:

N/A

Processor:

BF537     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Fixed

Uboot version or rev.:

    Toolchain version or rev.:

Latest SVN

App binary format:

N/A     

Summary: Linux kernel build fail

Details:

 

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

fs/yaffs2/yaffs_fs.c:748: error: implicit declaration of function ‘__grab_cache_page’

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

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

fs/yaffs2/yaffs_fs.c:808: warning: unused variable ‘index’

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

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

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

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

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

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

 

Follow-ups

 

--- Jie Zhang                                                2009-02-05 05:39:21

It seems like a typo. I have committed a patch to change __grab_cache_page to

grab_cache_page. The kernel compiles now.

 

--- Mingquan Pan                                             2009-02-08 23:04:15

Yes,close.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes