Subject: Re: asc_ioasic compilation
To: None <port-pmax@netbsd.org>
From: Toru Nishimura <nisimura@itc.aist-nara.ac.jp>
List: port-pmax
Date: 02/09/2000 13:57:33
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.

Your kernel is built with no RASTERCONSOLE support, right?  There is
missing #if NRASTERCONSOLE > 0 clause around scc_lk201_cnattach()
definition in tc/scc.c.

Tohru Nishimura