[Yaffs] Compiling error with yaffs direct

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Li, Aubrey
Date:  
To: yaffs
Subject: [Yaffs] Compiling error with yaffs direct
Hi yaffsers,

I download today's tarball of yaffs package.
When I enter folder direct under yaffs, I got an error if I build the
direct branch.
- - - -
make: *** No rule to make target `nand_ecc.c', needed by `nand_ecc.o'.
Stop.
- - - -

If I removed "nand_ecc.o" from the Makefile, some error messages showed
to me:
- - - -
/home/aubrey/temp/Development/yaffs/direct/yboot.c:269: undefined
reference to `nand_calculate_ecc'
yboot.o(.text+0x4f7):/home/aubrey/temp/Development/yaffs/direct/yboot.c:
270: undefined reference to `nand_correct_data'
yboot.o(.text+0x50b):/home/aubrey/temp/Development/yaffs/direct/yboot.c:
271: undefined reference to `nand_calculate_ecc'
yboot.o(.text+0x526):/home/aubrey/temp/Development/yaffs/direct/yboot.c:
272: undefined reference to `nand_correct_data'
- - - -

Thanks for anyone to help me out.
-Aubrey