Subject: Re: 1.5.1 kernel compilation error
To: Sonnie Hook <sonnie@ustc.edu>
From: Simon Burge <simonb@wasabisystems.com>
List: port-pmax
Date: 07/20/2001 11:20:47
Sonnie Hook wrote:

> hi,
> 
>   I'm trying to upgrading my 5000/260 from 1.5(GENERIC) to 1.5.1. No error was found du
ring
> `config' and `make depend', while making, it said:
> ld -Ttext 0x80030000 -T ../../../../arch/mips/conf/kern.ldscript.le -e start -G
> 0 -x -o netbsd ${SYSTEM_OBJ} vers.o
> exec_ecoff.o: In function `exec_ecoff_makecmds':
> ./../../../kern/exec_ecoff.c(.text+0x4c): undefined reference to `cpu_exec_ecof
> f_hook'
> ./../../../kern/exec_ecoff.c(.text+0x4c): relocation truncated to fit: R_MIPS_2
> 6 cpu_exec_ecoff_hook
> *** Error code 1
> 
>   Please give me a hand.

Are you using the standard GENERIC kernel? `cpu_exec_ecoff_hook' should
be in cpu_exec.o.  Does

	nm cpu_exec.o | grep cpu_exec_ecoff_hook

show anything?  Perhaps remove that file and restart your "make"
command.

Simon.
--
Simon Burge                            <simonb@wasabisystems.com>
NetBSD CDs, Support and Service:    http://www.wasabisystems.com/