Subject: Re: asc_ioasic compilation
To: Anders Andersson <anders@sanyusan.se>
From: Anders Andersson <anders@sanyusan.se>
List: port-pmax
Date: 02/08/2000 11:31:05
On Tis, Feb 08, 2000 at 08:30:05am +0100, Anders Andersson wrote:
> > 
> > Sure...  Fixed ascvar.h 1.6.  Thank you.
> 
> Can anyony please send me a diff between rev 1.5 and 1.6 og this file
> please.

Thanks, with this patch I almost got the kernel to compile:

cc  -O2 -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith -Wno-main -G 0  -mno-abicalls -mno-half-pic -I.
-I../../../../arch -I../../../.. -nostdinc -I../../../../../gnu/sys
-DMIPS1 -DLKM -DNKMEMCLUSTERS=1024 -DHZ=256 -DMAXUSERS=64 -D_KERNEL
-Dpmax  -c vers.c
ld -Ttext 0x80030000 -T ../../../../arch/mips/conf/kern.ldscript -e
start -G 0 -x -o netbsd ${SYSTEM_OBJ} vers.o
scc.o: In function `scc_lk201_cnattach':
../../../../arch/pmax/tc/scc.c(.text+0xf8): undefined reference to
`lk_divert'
../../../../arch/pmax/tc/scc.c(.text+0xf8): relocation truncated to fit:
R_MIPS_26 lk_divert
../../../../arch/pmax/tc/scc.c(.text+0x110): undefined reference to
`lk_getc'
../../../../arch/pmax/tc/scc.c(.text+0x114): undefined reference to
`lk_getc'
../../../../arch/pmax/tc/scc.c(.text+0x124): undefined reference to
`rcons_indev'
../../../../arch/pmax/tc/scc.c(.text+0x124): relocation truncated to
fit: R_MIPS_26 rcons_indev
*** Error code 1

Stop.
-- 
Anders Andersson		anders@sanyusan.se
Sanyusan International AB	http://www.sanyusan.se/