Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: syssrc/sys/arch/i386/stand/netboot



gson%netbsd.org@localhost 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





Home | Main Index | Thread Index | Old Index