Subject: Re: 19990306 current kernel compile failed
To: Erik E. Fair <fair@clock.org>
From: Tom Ivar Helbekkmo <tih@nhh.no>
List: port-sparc
Date: 03/07/1999 10:45:22
"Erik E. Fair" <fair@clock.org> writes:
> ld -Ttext F0004000 -e start -N -p -X -o netbsd ${SYSTEM_OBJ} vers.o
> machine/bus.h:269: Undefined symbol `_fdchwintr' referenced from text segment
> machine/bus.h:269: Undefined symbol `_fdchwintr' referenced from text segment
> machine/bus.h:269: Undefined symbol `_amd7930_trap' referenced from text
> segment
> machine/bus.h:269: Undefined symbol `_amd7930_trap' referenced from text
> segment
That looks more than a little weird. "machine/bus.h" for all of
those? With line numbers? I got names of actual object files that
referenced the symbols in question...
In any case, fixing it is a snap. Grep for the missing symbols in the
/sys/arch/sparc/sparc/ directory, and you'll find that there is
assembly code labeled "_ENTRY(fdchwintr)" and "_ENTRY(amd7930_trap)"
in there. Adding the forgotten underscores at the start of these
names solves the problem.
A solution for your weird error message problem, however, I don't have.
-tih
--
Popularity is the hallmark of mediocrity. --Niles Crane, "Frasier"