谁移植过yaffs2文件系统。

内核编译和嵌入式产品的设计与开发
回复
snikeguo
帖子: 1
注册时间: 2014-12-20 16:27
系统: ubuntu14.04

谁移植过yaffs2文件系统。

#1

帖子 snikeguo » 2014-12-20 16:32

移植内核在3.X朝上的,有木有?
我在移植最新内核3.18的时候。结果yaffs2 源码编译不通过?
附上编译情况
root@david-virtual-machine:/home/david/linux-3.18# make zImage
scripts/kconfig/conf --silentoldconfig Kconfig
warning: (MACH_RX3715 && MACH_RX1950) selects PM_H1940 which has unmet direct dependencies (ARCH_S3C24XX && CPU_S3C2410)
warning: (MACH_RX3715 && MACH_RX1950) selects PM_H1940 which has unmet direct dependencies (ARCH_S3C24XX && CPU_S3C2410)
CHK include/config/kernel.release
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
make[1]: 'include/generated/mach-types.h' is up to date.
CALL scripts/checksyscalls.sh
CHK include/generated/compile.h
CC fs/yaffs2/yaffs_ecc.o
CC fs/yaffs2/yaffs_vfs.o
fs/yaffs2/yaffs_vfs.c: In function 'yaffs_file_flush':
fs/yaffs2/yaffs_vfs.c:741: error: too few arguments to function 'yaffs_flush_file'
fs/yaffs2/yaffs_vfs.c: In function 'yaffs_sync_object':
fs/yaffs2/yaffs_vfs.c:771: error: too few arguments to function 'yaffs_flush_file'
fs/yaffs2/yaffs_vfs.c: At top level:
fs/yaffs2/yaffs_vfs.c:781: error: 'generic_file_aio_read' undeclared here (not in a function)
fs/yaffs2/yaffs_vfs.c:782: error: 'generic_file_aio_write' undeclared here (not in a function)
fs/yaffs2/yaffs_vfs.c:787: error: 'generic_file_splice_write' undeclared here (not in a function)
fs/yaffs2/yaffs_vfs.c: In function 'yaffs_flush_inodes':
fs/yaffs2/yaffs_vfs.c:2190: error: too few arguments to function 'yaffs_flush_file'
fs/yaffs2/yaffs_vfs.c: In function 'yaffs_flush_super':
fs/yaffs2/yaffs_vfs.c:2203: error: too few arguments to function 'yaffs_flush_whole_cache'
scripts/Makefile.build:257: recipe for target 'fs/yaffs2/yaffs_vfs.o' failed
make[2]: *** [fs/yaffs2/yaffs_vfs.o] Error 1
scripts/Makefile.build:402: recipe for target 'fs/yaffs2' failed
make[1]: *** [fs/yaffs2] Error 2
Makefile:937: recipe for target 'fs' failed
make: *** [fs] Error 2

root@david-virtual-machine:/home/david/linux-3.18#
回复