Re: linking problem

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

 



On Fri, Apr 20, 2007 at 03:57:50PM +0400, igor pavlenko wrote:
> hello,
> i'm using
> pm_set_ops(&my_pm_ops);
> function to register custom hw-dependent suspend routines, but when I try 
> to
> compile this code as module it warns, that symbol pm_set_ops undefined, but
> when compiling as built-in there is not any problem.
> The questions is
> 1) is it stupid to try implement such kind of things as module?
> 2) how i can figure out if it is not?

There's no EXPORT_SYMBOL for it, and it's therefore not available for 
modules.

What are you doing that you want to use it from modules?

> Игорь Павленко

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


--
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