Date: Tue, 27 Jan 2009 12:49:06 -0800 (PST) From: Barney Cordoba <barney_cordoba@yahoo.com> To: current@freebsd.org Subject: Exporting from a preloaded module Message-ID: <20296.17088.qm@web63907.mail.re1.yahoo.com>
index | next in thread | raw e-mail
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
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20296.17088.qm>
