On 24/12/2018 10:54, Alexander Sharabanov wrote:

Hi All,

Alexander

I am an adminstrator on Yaffs; I am not at all technical.

Your question about Linux has appeared on an email list which is LIMITED TO THE YAFFS Flash File System we own.

I am sure there are other email lists where you will be able to get help with your problems, but I do not think the Yaffs List is a suitable place to ask about them.

Good Luck!

LvS


Currently I am upgrading kernel on my embedded system. I would like to use the linux kernel version v3.16.61. I uplouded linux kernel from kernel.org and added the yaffs from:

git clone git://www.aleph1.co.uk/yaffs2

During compiling I have got the following errors.


List of output:

CHK include/generated/compile.h
CALL arch/powerpc/kernel/systbl_chk.sh
CC fs/yaffs2/yaffs_vfs.o
fs/yaffs2/yaffs_vfs.c:270:19: error: static declaration of 'setattr_prepare' follows non-static declaration
include/linux/fs.h:2636:12: note: previous declaration of 'setattr_prepare' was here
fs/yaffs2/yaffs_vfs.c: In function 'setattr_prepare':
fs/yaffs2/yaffs_vfs.c:272:2: error: implicit declaration of function 'inode_change_ok' [-Werror=implicit-function-declaration]
fs/yaffs2/yaffs_vfs.c: At top level:
fs/yaffs2/yaffs_vfs.c:1063:2: warning: initialization from incompatible pointer type [enabled by default]
fs/yaffs2/yaffs_vfs.c:1063:2: warning: (near initialization for 'yaffs_file_inode_operations.getxattr') [enabled by default]
fs/yaffs2/yaffs_vfs.c:1192:2: warning: initialization from incompatible pointer type [enabled by default]
fs/yaffs2/yaffs_vfs.c:1192:2: warning: (near initialization for 'yaffs_symlink_inode_operations.getxattr') [enabled by default]
fs/yaffs2/yaffs_vfs.c:1674:2: warning: initialization from incompatible pointer type [enabled by default]
fs/yaffs2/yaffs_vfs.c:1674:2: warning: (near initialization for 'yaffs_dir_inode_operations.getxattr') [enabled by default]
cc1: some warnings being treated as errors

make[2]: *** [fs/yaffs2/yaffs_vfs.o] Ошибка 1
make[1]: *** [fs/yaffs2]
Ошибка 2
make: *** [fs]
Ошибка 2
root@debian:/opt/eldk-5.1/powerpc-4xx/Builds/linux-3.16.61#


Could you please help me to resolve these issues.


Thanks,
Alexander

 


N�n�r����)em�h�yhiם�w^���

LvS

--
Laurie van Someren, Aleph One Ltd, 123 High Street, Bottisham, CAMBRIDGE CB25 9BA UK T: +44 (0)1 223 811 679 www.aleph1.co.uk & www.yaffs.net . . . . Lentius in Omnibus Progrediens