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

RE: problems for making kernel module



I'm working with kernel 2.6.18-4-686

I checked out the symbol is exported in file /lib/modules/2.6.18-4-686/build/include/linux/sched.h.

What warning?? About the above symbol? Actually NO!

Thanks a lot for your help~ :-)

-----Original Message-----
From: Tzafrir Cohen [mailto:tzafrir@cohens.org.il] 
Sent: Monday, April 28, 2008 5:32 PM
To: debian-user@lists.debian.org
Subject: Re: problems for making kernel module

On Mon, Apr 28, 2008 at 09:20:32AM +0900, ��û�� wrote:
> I got this message during compiling module.
> 
>  
> 
> Building modules, stage 2.
> 
> MODPOST
> 
> WARNING: "tasklist_lock" [ /Red/src/Red.ko] undefined!
> 
> make[1]: Leaving directory `/usr/src/linux-headers-2.6.18-4-686'

(There's 2.6.18-6-686 , BTW.)

> 
>  
> 
> Actually, Red.ko had made but can not load the module due to the unknown symbol (tasklist_lock).


Are there any warnings at build time? 
(Where exactly is that symbol exported in 2.6.18?)

> 
>  
> 
> Whats the problem?? I can see the symbol is exported in the linux-header-2.6.18-4-686/include/linux/sched.h.
> 
> I couldnt understand why it is shown undefined??
> 
>  
> 
> Also during searching about this problem, I read this - for linux kernel 2.6.18, the symbol does NOT export any more . Is this right???
> 
> If it is, is there any way to use the symbol tasklist_lock?
> 
>  
> 
> There is my only guess, it is needed the license to use this symbol.
> 
>  
> 
>  
> 
>  
> 
> Thanks a lot for any suggestion.
> 
>  
> 

-- 
Tzafrir Cohen         | tzafrir@jabber.org | VIM is
http://tzafrir.org.il |                    | a Mutt's
tzafrir@cohens.org.il |                    |  best
ICQ# 16849754         |                    | friend

Reply to: