当在sysTffs.c中只要定义
#define INCLUDE_TL_FTL /* FTL translation layer */
出现以下错误:
partialImage.o: In function `sysEpicInit':
c:264: undefined reference to `mountFTL'
c:264: undefined reference to `formatFTL'
make: *** [vxWorks] Error 0x1
而在sysTffs.c中定义
#define INCLUDE_TL_NFTL /* NFTL translation layer */
#undef INCLUDE_TL_FTL /* FTL translation layer */
工程编译通过
我检查了头文件,如下:
在tffsConfig.c中包括了#include "tffs/stdcomp.h"
而在tffs/stdcomp.h中又包括了:
FLStatus mountFTL (FLFlash *flash, TL *tl, FLFlash **volForCallback);
FLStatus formatFTL (FLFlash *flash, FormatParams FAR1 *formatParams);
FLStatus mountNFTL (FLFlash *flash, TL *tl, FLFlash **volForCallback);
FLStatus formatNFTL (FLFlash *flash, FormatParams FAR1 *formatParams);
FLStatus mountSSFDC (FLFlash *flash, TL *tl, FLFlash **volForCallback);
FLStatus formatSSFDC (FLFlash *flash, FormatParams FAR1 *formatParams);
奇怪啊,请问该如何解决,我的FLASH是AM29LV160D的.
3X
关键词:
关于
问题