Exporting from a preloaded module

From: Barney Cordoba <barney_cordoba_at_yahoo.com>
Date: Tue, 27 Jan 2009 12:49:06 -0800 (PST)
I have a module foo that depends on bar.  If I load the module bar normally,
I can access the function I need in foo with no problem. However if I preload
foo in loader.conf, I have a problem:

1) bar can't be loaded because it says foo isn't available if I keep the 
MODULE_DEPEND declaration.
2) If I remove the dependence, bar gets unresolved externals.

It seems that the dependence is broken, as bar is loaded and shows in the
module list.

Barney


      
Received on Tue Jan 27 2009 - 19:49:07 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:41 UTC