Subject: port-pmax/5253: kn01_intr_establish missing
To: None <gnats-bugs@gnats.netbsd.org>
From: Erik Bertelsen <erik@aarhus1.uni-c.dk>
List: netbsd-bugs
Date: 04/04/1998 21:31:22
>Number:         5253
>Category:       port-pmax
>Synopsis:       kn01_intr_establish missing
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Apr  4 11:50:00 1998
>Last-Modified:
>Originator:     Erik Bertelsen
>Organization:
	
>Release:        NetBSD-current 3 Apr 1998
>Environment:
	
System: NetBSD aarhus1.uni-c.dk 1.3E NetBSD 1.3E (AARHUS1) #45: Wed Mar 4 21:22:25 MET 1998 erik@aarhus1.uni-c.dk:/home/src/sys/arch/pmax/compile/AARHUS1 pmax


>Description:
	It is impossible to build a DS3100 kernel, at least with ethernet
	support, e.g.

ld -Ttext 0x80030000 -T ../../../../arch/mips/conf/kern.ldscript -e start -G 0 -x -o netbsd ${SYSTEM_OBJ} vers.o
if_le_ibus.o: In function `le_pmax_attach':
../../../../dev/tc/if_le_ibus.c(.text+0xd0): undefined reference to `kn01_intr_establish'
../../../../dev/tc/if_le_ibus.c(.text+0xd0): relocation truncated to fit: R_MIPS_26 kn01_intr_establish
*** Error code 1

It seems that if_le_ibus.c references kn01_intr_establish, via a declaration
in kn01var.h, but this function is apparently not included anywhere in
the arch/pmax files.

regards
Erik Bertelsen.

ps: dev/tc/if_le_ibus.c looks like it is DECstation-specific. If this is really
the case, shouldn't this file be placed within arch/pmax?
>How-To-Repeat:
>Fix:
>Audit-Trail:
>Unformatted: