* JFFS compile error
@ 2001-12-21 7:29 regigao
2001-12-21 8:55 ` David Woodhouse
0 siblings, 1 reply; 3+ messages in thread
From: regigao @ 2001-12-21 7:29 UTC (permalink / raw)
To: linux-mtd
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: JFFS compile error
2001-12-21 7:29 JFFS compile error regigao
@ 2001-12-21 8:55 ` David Woodhouse
0 siblings, 0 replies; 3+ messages in thread
From: David Woodhouse @ 2001-12-21 8:55 UTC (permalink / raw)
To: regigao; +Cc: linux-mtd, Steve_Chen
regigao@sinamail.com 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
^ permalink raw reply [flat|nested] 3+ messages in thread
* JFFS compile error
@ 2001-12-21 9:31 regigao
0 siblings, 0 replies; 3+ messages in thread
From: regigao @ 2001-12-21 9:31 UTC (permalink / raw)
To: linux-mtd
> 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.
I am sure I've got the latest code from CVS .
After I create an empty file called include/linux/completion.h
I still get an error message like this
/include/linux/jffs.h:191: field `gc_thread_comp' has incomplete type
And my kernel is 2.4.2
Thanks !
==================================================================
新浪網.免費電子信箱 http://www.sinamail.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-12-21 9:36 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-12-21 7:29 JFFS compile error regigao
2001-12-21 8:55 ` David Woodhouse
-- strict thread matches above, loose matches on Subject: below --
2001-12-21 9:31 regigao
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox