[Yaffs] YAFFS Compilation problem

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: hariharan veerappan
Date:  
To: yaffs
Subject: [Yaffs] YAFFS Compilation problem
Hi,
When i tried to compile the YAFFS latest CVS downloads,
The error i obtained are,

/usr/local/arm/2.95.3/bin/arm-linux-gcc -c -D__KERNEL__ -DMODULE 
-DCONFIG_YAFFS_RAM_ENABLED -DCONFIG_YAFFS_MTD_ENABLED
-DCONFIG_YAFFS_USE_GENERIC_RW    -DCONFIG_SHORT_NAMES_IN_RAM
-DCONFIG_YAFFS_USE_NANDECC    -I
/home/hariharan/CVS-PHONE/Software/Kernel//include -O2 -Wall
yaffs_mtdif.c -o yaffs_mtdif.o


yaffs_mtdif.c:32: variable `yaffs_oobinfo' has initializer but incomplete type
yaffs_mtdif.c:33: unknown field `useecc' specified in initializer
yaffs_mtdif.c:33: warning: excess elements in struct initializer
yaffs_mtdif.c:33: warning: (near initialization for `yaffs_oobinfo')
yaffs_mtdif.c:38: unknown field `eccpos' specified in initializer
yaffs_mtdif.c:38: extra brace group at end of initializer
yaffs_mtdif.c:38: (near initialization for `yaffs_oobinfo')
yaffs_mtdif.c:38: warning: excess elements in struct initializer
yaffs_mtdif.c:38: warning: (near initialization for `yaffs_oobinfo')
yaffs_mtdif.c:41: variable `yaffs_noeccinfo' has initializer but incomplete type
yaffs_mtdif.c:42: unknown field `useecc' specified in initializer
yaffs_mtdif.c:42: warning: excess elements in struct initializer
yaffs_mtdif.c:42: warning: (near initialization for `yaffs_noeccinfo')
yaffs_mtdif.c: In function `nandmtd_WriteChunkToNAND':
yaffs_mtdif.c:60: too many arguments to function
yaffs_mtdif.c:62: too many arguments to function
yaffs_mtdif.c: In function `nandmtd_ReadChunkFromNAND':
yaffs_mtdif.c:97: too many arguments to function
yaffs_mtdif.c:101: too many arguments to function

When i try to compile the Direct Yaffs, i am getting the errors of

/usr/local/arm/2.95.3/arm-linux/bin/ld: yaffs_ecc.o: Relocations in
generic ELF (EM: 3)
yaffs_ecc.o: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make: *** [directtest] Error 1

Advise me to proceed further

Hariharan.v.