Subject: 5000/260 kernel compile error
To: netbsd-pmax <port-pmax@netbsd.org>
From: Sonnie Hook <sonnie@ustc.edu>
List: port-pmax
Date: 04/30/2001 22:30:55
When compiling NetBSD-1.5/pmax on a 5000/260, I got this error message:

dec_sh:/usr/src/sys/arch/pmax/compile/sonnie# make
making sure the kern library is up to date...
`libkern.a' is up to date.
making sure the compat library is up to date...
`libcompat.a' is up to date.
sh ../../../../conf/newvers.sh
cc  -O2 -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes  -Wpointer-arith
-Wno-uninitialized -Wno-main -G 0  -mno-abicalls -mno-half-pic -I. -I../../../..
/arch -I../../../.. -nostdinc -DMIPS3 -DLKM -DHZ=256 -DMAXUSERS=64 -D_KERNEL -Dp
max  -c vers.c
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

Stop.


Please help me

Best regards,

     .--------------------------------------.
     |   Sonnie  Hook   |  sonnie@ustc.edu  |
     |--------------------------------------|
     |  State Key Lab. of Fire Sci. (SKLFS) |
     | Uni. of Sci. & Tech. of China (USTC) |
     `--------------------------------------'