Re: library in kernel space
Paul Goyette <[email protected]>
| Newsgroups | gmane.os.netbsd.devel.kernel |
|---|---|
| Message-ID | <[email protected]> |
On Sun, 23 Mar 2025, Peter Skvarka wrote: > it complains: > > ...kobj_checksyms, 1036: [./module_1.kmod]: linker error: global symbol > `MyFunctionName' redefined > > Are names from all text sections put into global namespace ? Yes > How to resolve it properly ? Make a 3rd module with the shared/common routines, and make both module_1 and module_2 depend-on (require module_subr) +---------------------+--------------------------+----------------------+ | Paul Goyette (.sig) | PGP Key fingerprint: | E-mail addresses: | | (Retired) | 1B11 1849 721C 56C8 F63A | [email protected] | | Software Developer | 6E2E 05FD 15CE 9F2D 5102 | [email protected] | | & Network Engineer | | [email protected] | +---------------------+--------------------------+----------------------+