[Yaffs] Compiling problems

Bernhard Priewasser bernhard at prie.de
Wed Aug 10 14:52:53 BST 2005


Hi all,

I tried both the kernel and the "module" (outside the kernel) way on a 
today's YAFFS snapshot.

linux-module:
When running make in yaffs/linux-module (Linux src path properly 
entered) I get lots of errors. Some of them: 
/usr/src/linux/include/asm/irq.h:16:25: irq_vectors.h: No such file or 
directory
/usr/src/linux/include/asm/hw_irq.h:28: error: `NR_IRQ_VECTORS' 
undeclared here (not in a function)
/usr/src/linux/include/asm/hw_irq.h:32: error: `NR_IRQS' undeclared here 
(not in a function)
yaffs_fs.c: In function `yaffs_internal_read_super':
yaffs_fs.c:1317: error: structure has no member named `u'
yaffs_fs.c: At top level:
yaffs_fs.c:1542: error: redefinition of `yaffs_fs_type'
yaffs_fs.c:1512: error: `yaffs_fs_type' previously defined here
yaffs_fs.c:1548: error: `FS_SINGLE' undeclared here (not in a function)
yaffs_fs.c:1548: error: initializer element is not constant
yaffs_fs.c:1548: error: (near initialization for `yaffs_fs_type.fs_flags')
yaffs_fs.c: In function `init_yaffs_fs':
yaffs_fs.c:1683: error: `yaffs_ram_fs_type' undeclared (first use in 
this function)
yaffs_fs.c:1683: error: (Each undeclared identifier is reported only once
yaffs_fs.c:1683: error: for each function it appears in.)
yaffs_fs.c: In function `exit_yaffs_fs':
yaffs_fs.c:1710: error: `yaffs_ram_fs_type' undeclared (first use in 
this function)

linux-kernel:
Applied the patch; seems to work, I can configure YAFFS with xconfig. 
But when running make modules YAFFS simply is ignored... no CC, no LD.

Strange things... would be grateful for some help.

Regards,
Bernhard



More information about the yaffs mailing list