Re: unresolved symbol Problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi...

2008/2/19 lina_zhao7 <lina_zhao7@xxxxxxx>:
>
>  I write a simple program ,it works wrong!!!
> program:
> #include <linux/module.h>
> #include <linux/wait.h>
> #include <linux/init.h>
> #include <linux/sched.h>
> 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 interrupted\n");
>
>   }
>  return 0;
> }

1. Check any compilation warning/error messages

2. check if wait_event_timeout is exported symbol or still exist.

regards,

Mulyadi.

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux