Subject: port-pmax/2897: Kernel build fails on DS3100
To: None <>
From: Erik Bertelsen <>
List: netbsd-bugs
Date: 10/28/1996 08:35:59
>Number:         2897
>Category:       port-pmax
>Synopsis:       Kernel build fails on DS3100 (dc_ioasic_consinit)
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Oct 27 23:20:00 1996
>Originator:     Erik Bertelsen
>Release:        NetBSD-current 27 oct. 1996
System: NetBSD 1.2A NetBSD 1.2A (AARHUS1) #9: Thu Oct 24 12:00:37 MET DST 1996 pmax

	kernel build fails during link phase when configuring kernels
	for a DS3100:

sh ../../../../conf/
ld -N -Ttext 80030000 -e start -x -o netbsd ${SYSTEM_OBJ} vers.o
cpu_cons.o: In function `consinit':
../../../../arch/pmax/pmax/cpu_cons.c(.text+0x2a0): undefined reference to `dc_ioasic_consinit'
*** Error code 1

	This happens both with my custom kernel configuration file, but
	also with the distributed DS3100 configuration.
	config DS3100 + make
	After config, I can fix the problem temporarily by adding the source
	files arch/pmax/tc/asic.c and arch/pmax/dev/dc_ioasic.c to the 
	compilation. Of course this is not a solution, it has to be done
	in the parameter files used by config(8), but I leave that to 
	someone more knowledgeable about these files.
	Another possibility is that these files are not really needed, but
	then the code pulling them in should be conditionalised appropriately.