Re: library in kernel space

Mouse <[email protected]>
Newsgroups gmane.os.netbsd.devel.kernel
Message-ID <[email protected]>
> Ok, my problem is now different than I described:
> module_1 and module_2 (dependency is that module_1 needs module_2)
> used some shared source files with functions.

> [...] modload ./module_2.kmod and then modload ./module_1.kmod [...]

> ...kobj_checksyms, 1036: [./module_1.kmod]: linker error: global symbol
> `MyFunctionName' redefined

Well, I don't use kernel modules, so this is just a guess.  But maybe
create module_3 which defines MyFunctionName and make module_1 and
module_2 each depend on it?

/~\ The ASCII				  Mouse
\ / Ribbon Campaign
 X  Against HTML		[email protected]
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.