RE: Unresolved external init_tasks

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

 



On 16-Dec-2003 S P wrote:
> Hi,
> I have been trying to write code for SMP support and
> am having problems with exported symbols. The error
> that I get is while doing insmod "unresolved external
> init_tasks."
> 
> Here is what I am doing:
> 
> 1. I make external reference to the symbol in my
> module.
> 2. In the kernel I export the name with
> EXPORT_SYMBOL(symbol). There are 3 places where this
> can be done. 
> a) in the file where the symbol is originally defined
> b) in the file kernel/ksyms.c (this is the recomended
> place for platform-independent symbols)
> c) in the file arch/i386/kernel/i386_ksym.c (this is
> the recomended place for platform-dependent symbols)
> I have tried all 3 individually and together. However
> nothing seems to work. 

Did you make sure the .o file is listed in the export-objs
variable in the Makefile?


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           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