Subject: Re: kernel compile 1.4.2 failed
To: Anders Andersson <anders@sanyusan.se>
From: Simon Burge <simonb@netbsd.org>
List: port-pmax
Date: 04/12/2000 22:36:01
Anders Andersson wrote:

> Now kernel compile got almost done:
> 
> cc  -O2 -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes
> -Wno-uninitialized -Wpointer-arith -Wno-main -G 0  -mno-abicalls
> -mno-half-pic -I. -I../../../../arch -I../../../.. -nostdinc -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
> cfb.o: In function `cfbinit':
> ../../../../arch/pmax/dev/cfb.c(.text+0x204): undefined reference to
> `init_pmaxfbu'
>
> [[ and so on ]]

Ok, the problem here is that tc.options is including support for various
frame buffers but there's other glue code missing because you've deleted
some stuff from your kernel config file.  Delete the

	include "arch/pmax/conf/tc.std"

lines from your config file and you should be right.  If you've got any
turbochannel SCSI or ethernet cards, you'll then need to add:

	# TurboChannel bus support
	tc*     at      mainbus0

	le*     at tc? #slot ?  offset ?                # TC ether option
	asc*    at tc?                                  # PMAZ SCSI option

into your config file.


This is easier in -current and what will be 1.5 since the twisty maze of
include config files isn't there any more.

Simon.