Date: Sun, 30 Jul 2000 17:31:11 +0200
From: Marcus Brinkmann <[EMAIL PROTECTED]>
On Sat, Jul 29, 2000 at 07:05:27PM +0200, Mark Kettenis wrote:
> You'll probably need to provide alternatives for more (all) of the
> functions in oskit-0.97.20000505/dev/x86/synch.c in the oskit-mach
> synch.c.
This would be osenv_intr_save_disable(), which is the only one not defined i
oskit-mach?
Yep! Try to cook up your own version of it.
I don't understand how adding more overwrites can help, because the linker
already complains about conflicting definitions, but then I don't understand
the linker very well, so I will try to add a dummy function.
The linker only pulls in an object from an archive if it is needed to
satisfy undefined references. Since aparently some other code
references osenv_intr_save_disable() and this function can only be
found in the archive, it pulls in the entire module which also defines
the functions in oskit-mach's synch.o, hence the conflicts. However,
if you provide osenv_intr_save_disable() in oskit-mach's synch.o, the
linker won't pull in oskit's synch.o, and the conflicts disappear.
Mark