dear all,
when I make mkyaffsimgae with arm-linux-gcc
the follow error occours,
can you give me some suggestions? thanks

mkyaffsimage.c:117: warning: 'yaffs_CalcNameSum' defined but not used
arm-linux-gcc -o mkyaffsimage yaffs_ecc.o mkyaffsimage.o
mkyaffsimage.o: In function `process_directory':
mkyaffsimage.c:(.text+0xaac): undefined reference to `__lxstat'
mkyaffsimage.o: In function `main':
mkyaffsimage.c:(.text+0xeb4): undefined reference to `__xstat'
collect2: ld returned 1 exit status
make: *** [mkyaffsimage] Error 1