Re: Spam:*********, Unresolved Symbols with Insmod

Greg Ungerer <[email protected]> Wed, 14 May 2008 10:29:51 +1000
Newsgroups gmane.comp.hardware.motorola.microcontrollers.coldfire
Message-ID <[email protected]>
Hi Fahd,

You don't mention which kernel version you are using?


Fahd Abidi wrote:
> so I built my driver with interrupt handling and got it compiled. When I 
> went to insmod I got an error from insmod saying:
>  
> Insmod: Unresolved Symbol wake_up_interruptable
                                              ^
                             wake_up_interruptible

> Insmod: Unresolved Symbol interrptible_sleep_on_timeout
                                   ^
                             interruptible_sleep_on_timeout


> I have included the following header files:
> 
> #include <linux/interrupt.h>
> 
> #include <linux/delay.h>
> 
> #include <linux/string.h>
> 
> #include <linux/slab.h>
> 
> #include <linux/wait.h>
> 
> I think maybe I need to resolve dependencies in the kernel for these 
> symbols by adding the relevant driver or enabling the relevant feature 
> in the kernel configuration. But I am not sure which one it is.
> 
> Any idea's?

You won't need any additional configuration of the kernel for
these. But they do require appropriate includes, you probably
want linux/sched.h in your include list.

Regards
Greg


------------------------------------------------------------------------
Greg Ungerer  --  Chief Software Dude       EMAIL:     [email protected]
Secure Computing Corporation                PHONE:       +61 7 3435 2888
825 Stanley St,                             FAX:         +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia         WEB: http://www.SnapGear.com
---
[email protected]              Send a post to the list.
[email protected]        Join the list.
[email protected]    Join the list in digest mode.
[email protected]     Leave the list.