Re: unresolved symbol Problem

2008-02-19 Thread Thomas Petazzoni
Le Tue, 19 Feb 2008 09:06:56 +0100, Thomas Petazzoni <[EMAIL PROTECTED]> a écrit : > It's a program, it's a kernel module. Of course, read: « It's *NOT* a program, it's a kernel module » Sorry for the confusion, Thomas -- Thomas Petazzoni, Free Electrons Free Embedded Linux Training Material

Re: unresolved symbol Problem

2008-02-19 Thread Thomas Petazzoni
Le Tue, 19 Feb 2008 11:06:14 +0800 (CST), lina_zhao7 <[EMAIL PROTECTED]> a écrit : > I write a simple program ,it works wrong!!! It's a program, it's a kernel module. > problem:unresolved symbol wait_event_timeout How do you compile it ? (Hint: because you used the word "program", I suspect

Re: unresolved symbol Problem

2008-02-18 Thread Mulyadi Santosa
Hi... 2008/2/19 lina_zhao7 <[EMAIL PROTECTED]>: > > I write a simple program ,it works wrong!!! > program: > #include > #include > #include > #include > MODULE_LICENSE("GPL"); > > static int tms9914_init_module(void) > { > wait_queue_head_t wait; > int con=1; > init_waitqueue_head(&wait);

unresolved symbol Problem

2008-02-18 Thread lina_zhao7
I write a simple program ,it works wrong!!! program: #include #include #include #include MODULE_LICENSE("GPL"); static int tms9914_init_module(void) { wait_queue_head_t wait; int con=1; init_waitqueue_head(&wait); if(wait_event_timeout(wait,con,100)==0) { printk("gpib command wait