Skip to contentSkip to conversation

JFFS compile error

DISCUSSION regigao 2 participants 2 messages Dec 21, 2001 Memory technology devices (MTD)

lore
Share & tools
lore

regigao

author
#0 lore raw

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

#1 lore raw
Quoted 2 lines · [email protected] said:

I know the completion.h is 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