On 2/23/06, Avishay Traeger <atraeger@xxxxxxxxxxxxx> wrote: > On Thu, 2006-02-23 at 00:36 +0800, James Yu wrote: > > However, I gave it a try and receive the following error while doing > > "make zImage": > > /home/cyu021/linux/init/main.c:384: undefined reference to `kthread_create' > > make: *** [vmlinux] Error 1 > > Any help would be appreciated. > > #include <linux/kthread.h> > > > Avishay Traeger > http://www.fsl.cs.sunysb.edu/~avishay/ > > > -- > Kernelnewbies: Help each other learn about the Linux kernel. > Archive: http://mail.nl.linux.org/kernelnewbies/ > FAQ: http://kernelnewbies.org/faq/ > > Check this page out, you will understand why even after calling do_exit(0) task_struct remains. Well, Even after you use do_exit(0), the process remains, but in Zombie state. http://www.informit.com/articles/article.asp?p=370047&seqNum=4&rl=1 -- Cheers, Sandeep A man with one watch knows what time it is; a man with two watches is never quite sure. -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/