DragonFly bugs List (threaded) for 2008-02
Re: can not load kernel module with dependencies
Nicolas Thery wrote:
"kldload foo" fails if foo depends on other modules that have not yet
The kernel includes code to automatically loads dependencies but it
seems designed for an older ABI (cf load_dependancies()).
there are two dependency systems in place:
1. the "old" one, using the DL_NEEDED entry in the ELF headers.
2. the "new" one, using linker sets.
loader does (2), the kernel does (1). required modules specified in the
source set (2), Makefile sets (1).
I personally think that (1) is the correct choice, but I'm open for
discussion. Maybe the nicest thing would be to use the sources and (2) to
Serve - BSD +++ RENT this banner advert +++ ASCII Ribbon /"\
Work - Mac +++ space for low €€€ NOW!1 +++ Campaign \ /
Party Enjoy Relax | http://dragonflybsd.org Against HTML \
Dude 2c 2 the max ! http://golden-apple.biz Mail + News / \