Subject: port-next68k/7257: next68k kernel build fails w/o DDB
To: None <gnats-bugs@gnats.netbsd.org>
From: None <deberg@MIT.EDU>
List: netbsd-bugs
Date: 03/27/1999 01:16:17
>Number:         7257
>Category:       port-next68k
>Synopsis:       kernels w/o DDB or KGDB configured do not build
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    port-next68k-maintainer (NetBSD/next68k Portmaster)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Mar 26 22:20:00 1999
>Last-Modified:
>Originator:     matt debergalis
>Organization:
matt debergalis <deberg@mit.edu> KB1CTH
finger deberg@ai.mit.edu for PGP key
>Release:        NetBSD 1.3K
>Environment:
System: NetBSD sunrise.ne.mediaone.net 1.3I NetBSD 1.3I (SUNRISE) #15: Sat Feb 20 16:34:59 EST 1999 deberg@sunrise.ne.mediaone.net:/src/netbsd/src/sys/arch/i386/compile/SUNRISE i386


>Description:
if a kernel isn't configured with DDB or KGDB, the build fails.

/usr/local/bin/m68k-unknown-netbsd1.3E-ld -n -Ttext 0 -e start -X -o netbsd ${SYSTEM_OBJ} vers.o
zs.o: In function `zs_abort':
/src/netbsd/src/sys/arch/next68k/compile/GENERIC/../../../../arch/next68k/dev/zs.c:590: undefined reference to `callrom'
*** Error code 1
>How-To-Repeat:
>Fix:
short term, get rid of callrom() which is a sparc-specific thing.  long
term, jump into NeXT rom monitor, but probably not before the 'c'
command from there works.
>Audit-Trail:
>Unformatted: