On Tue, 19 Jan 1999, Julian Elischer wrote: > > If I load a module A > then try load a module B that requires a function in A > it fails because it cannot find the symbol.. > is this a known problem? > > (A real bummer if so)
The module B needs to have A as a dependancy. Use KMODDEPS to do this. Something like this should work in the Makefile: KMOD= modB SRCS= ... KMODDEPS= modA KLDMOD=t NOMAN=t .include <bsd.kmod.mk> The linker will only resolve symbols against the files in the dependancy list (and the kernel). -- Doug Rabson Mail: d...@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 442 9037 To Unsubscribe: send mail to majord...@freebsd.org with "unsubscribe freebsd-current" in the body of the message