yaffs 파일을 받아서 makefile 수정하고 컴파일 하면 오류가 나요...
makefile에서 커널링크는 삼성2440a커널로 링크를 하고
USE_RAM_FOR_TEST를 주석처리하고
maketool 을 크로서컴파일에 링크 걸고.
이렇게 했는데 오류가 떠요.....
혹시나 하는 맘에 EZ-BORAD 커널로 링크를 바꾸어서 하니깐...컴파일이 되어서..
mtd파일들을 덮어 씨우고 하니깐..역시 또 에러 뜨네요..
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:34: unknown field `eccpos' specified in initializer
yaffs_mtdif.c:34: extra brace group at end of initializer
yaffs_mtdif.c:34: (near initialization for `yaffs_oobinfo')
yaffs_mtdif.c:34: warning: excess elements in struct initializer
yaffs_mtdif.c:34: warning: (near initialization for `yaffs_oobinfo')
yaffs_mtdif.c:37: variable `yaffs_noeccinfo' has initializer but incomplete type
yaffs_mtdif.c:38: unknown field `useecc' specified in initializer
yaffs_mtdif.c:38: warning: excess elements in struct initializer
yaffs_mtdif.c:38: warning: (near initialization for `yaffs_noeccinfo')
yaffs_mtdif.c: In function `nandmtd_WriteChunkToNAND':
yaffs_mtdif.c:56: warning: passing arg 7 of pointer to function makes integer from pointer without a cast
yaffs_mtdif.c:58: warning: passing arg 7 of pointer to function makes integer from pointer without a cast
yaffs_mtdif.c: In function `nandmtd_ReadChunkFromNAND':
yaffs_mtdif.c:93: warning: passing arg 7 of pointer to function makes integer from pointer without a cast
yaffs_mtdif.c:97: warning: passing arg 7 of pointer to function makes integer from pointer without a cast
make: *** [yaffs_mtdif.o] 오류 1
고수님들 부탁합니다.