undefined symbols (how to export symobls)
M. Warner Losh
imp at bsdimp.com
Mon Dec 19 20:58:06 PST 2005
In message: <43A76FF9.5020402 at endace.com>
sashan <sashan at endace.com> writes:
: Hi
:
: I'm trying get kernel module B to find a function/symbol S defined in
: kernel module A. Currently whenever B trys to use S it fails with
:
: link_elf: symbol <S> undefined
:
: I've tried adding EXPORT_SYMS = S to the Makefile.
:
: A is loaded.
:
: I'm using 5.4-RELEASE.
MODULE_DEPEND is what you need:
MODULE_DEPEND(ed, miibus, 1, 1, 1);
Warner
More information about the freebsd-drivers
mailing list