Subject: Re: CVS commit: syssrc/sys/arch/i386/stand/netboot
To: None <gson@netbsd.org>
From: Matthias Drochner <M.Drochner@fz-juelich.de>
List: source-changes
Date: 01/24/2002 11:33:43
gson@netbsd.org said:
> Modified Files:
> 	syssrc/sys/arch/i386/stand/netboot: dev_net.c
> Log Message: Remove duplicate definition of global variable bcea which
> caused linking to fail, along with other globals already defined in
> lib/sa/globals.c 


This is the wrong way. lib/sa/globals.c should not be linked in
at all - it is questionable from the design POV and a waste
of memory in general.
You'll find out why it was linked in in the netboot.list linker
log file, and you should solve the conflict by defining the
variable which caused globals.o being pulled in in an appropriate
local file (or avoid its use).

best regards
Matthias