NetBSD Problem Report #6615

Received: (qmail 16798 invoked from network); 19 Dec 1998 22:57:37 -0000
Message-Id: <199812192207.XAA01232@ulysses.df.lth.se>
Date: Sat, 19 Dec 1998 23:07:45 +0100 (CET)
From: Krister Walfridsson <cato@ulysses.df.lth.se>
Reply-To: cato@ulysses.df.lth.se
To: gnats-bugs@gnats.netbsd.org
Subject: Kernel must have midi enabled to compile
X-Send-Pr-Version: 3.95

>Number:         6615
>Category:       port-i386
>Synopsis:       Kernel must have midi enabled to compile
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gnats-admin
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Dec 19 15:05:00 +0000 1998
>Closed-Date:    Wed Dec 23 06:33:40 +0000 1998
>Last-Modified:  Wed Dec 23 06:37:41 +0000 1998
>Originator:     Krister Walfridsson
>Release:        NetBSD-current Dec 18
>Organization:

>Environment:

System: NetBSD ulysses 1.3I NetBSD 1.3I (NWSCONS) #0: Fri Dec 18 23:28:31 CET 1998 cato@ulysses:/dsk2/tmp/nbsd981218.i386/src/sys/arch/i386/compile/NWSCONS i386


>Description:
Compiling a kernel without midi support fails with the message

  ld -z -Ttext F0100000 -e start -X -o netbsd ${SYSTEM_OBJ} vers.o
  opl.o: Undefined symbol `_midi_attach_mi' referenced from text segment


>How-To-Repeat:
Try to compile a kernel without midi support, i.e

--- GENERIC.orig        Sat Dec 19 20:35:35 1998
+++ GENERIC     Sat Dec 19 20:57:18 1998
@@ -518,9 +518,9 @@
 audio* at ym?

 # MIDI support
-midi*  at pcppi?               # MIDI interface to the PC speaker
-midi*  at sb?                  # SB MPU401 port
-midi*  at opl?                 # OPL FM synth
+#midi* at pcppi?               # MIDI interface to the PC speaker
+#midi* at sb?                  # SB MPU401 port
+#midi* at opl?                 # OPL FM synth

 # The spkr driver provides a simple tone interface to the built in speaker.
 #spkr0 at pcppi?               # PC speaker

and notice that you cannot do it.

>Fix:

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: kristerw 
State-Changed-When: Tue Dec 22 22:33:40 PST 1998 
State-Changed-Why:  
Matthias Drochner has added the necessary #if statements 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.