Yes, every grep on SLEEP in .config is =y .<br>The problem still persists. have no clue about possible direction.<br>( I have full source to compile eith  etc..)<br><br><div class="gmail_quote">On Feb 20, 2008 12:12 AM, Kyle McMartin <<a href="mailto:kyle@mcmartin.ca">kyle@mcmartin.ca</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">On Tue, Feb 19, 2008 at 06:43:16PM +0200, Eugene Goubine wrote:<br>> Kyle, thanks for reffering,but it seems like GPL is not the case.<br>
> I want to write a module to track netdevices present.<br>> Sort of a protocol sitting there. It is GPL'ed, but register_pm_notifier<br>> usage ( as you can see in sources)<br>> gives linker warning "pm_chain_head undefined",since register_pm_notifier is<br>
> "static inline" and expanded<br>> to blocking_notifier_chain_unregister(&pm_chain_head, nb).<br>> Why do you say pm_chain_head is static there ? Is it because it is not<br>> exported by EXPORT_SYMBOL ?<br>
<br></div>What kernel are you building against? Do you have CONFIG_PM_SLEEP=y?<br><br>cheers, Kyle<br><div class="Ih2E3d"><br><br>> So what does it have to do with the license ( which is already GPL, but I<br>> just do not understand ).<br>
<br></div>nothing in particular, it's just a linking restriction that might have<br>bitten you if you didn't know while writing your own module. (that there<br>are two different kinds of export, i mean.)<br></blockquote>
</div><br>