JFFS compile error
Hi !
I have downloaded the latest mtd code from CVS.
And I patch it into my kernel source ( 2.4.2 )
Whenever I try to compile the kernel , I get the error message /include/linux/jffs.h:24:30: linux/completion.h: No such file or directory /include/linux/jffs.h:191: field `gc_thread_comp' has incomplete type make[3]: *** [jffs_fm.o] Error 1
I know the completion.h is not included until kernel 2.4.8. How do I resolve the question ?
Thanks !
==================================================================
新浪網.免費電子信箱 http://www.sinamail.com
Quoted 2 lines · [email protected] said:
I know the
completion.his not included until kernel 2.4.8. How do I resolve the question ?
Make an empty file called include/linux/completion.h and make sure you've got the latest version from CVS of include/linux/mtd/compatmac.h, which should define it for you.
--
dwmw2