Subject: one LKM using symbols from another - cluebat, please
To: None <tech-kern@netbsd.org>
From: Jeff Rizzo <riz@boogers.sf.ca.us>
List: tech-kern
Date: 10/19/2004 14:24:44
I'm currently in the process of porting a set of drivers from FreeBSD 
5.2.1 which are "modules" in the FreeBSD sense, and I've made them 
(well, the first two, so far) into LKMs on NetBSD.   One of the drivers 
requires access to functions in the other, but when I load the second 
module, I get 'undefined reference' errors for the functions in the 
first module it calls.

Obviously, I'm forgetting to do something here.  I don't work with LKMs 
(or the kernel, for that matter) very much, so I'm feeling a bit 
clueless...  Also, if it matters, this is on NetBSD 2.0_RC4, the i386 port.

Thanks for any suggestions. 
+j