From owner-freebsd-bugs Mon Nov 6 8:50: 5 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 99A4837B4D7 for ; Mon, 6 Nov 2000 08:50:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id IAA14919; Mon, 6 Nov 2000 08:50:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: by hub.freebsd.org (Postfix, from userid 32767) id F045A37B479; Mon, 6 Nov 2000 08:40:23 -0800 (PST) Message-Id: <20001106164023.F045A37B479@hub.freebsd.org> Date: Mon, 6 Nov 2000 08:40:23 -0800 (PST) From: esbjerg@ehp.dk To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: kern/22643: Cannot compile kernel with support for Gravis Ultrasound soundcard. Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 22643 >Category: kern >Synopsis: Cannot compile kernel with support for Gravis Ultrasound soundcard. >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Nov 06 08:50:01 PST 2000 >Closed-Date: >Last-Modified: >Originator: Sven Esbjerg >Release: 4.1.1 or 4.2-BETA >Organization: None >Environment: FreeBSD neumann.gnix.dk 4.2-BETA FreeBSD 4.2-BETA #14: Sat Nov 4 00:35:34 CET 2000 root@neumann.gnix.dk:/usr/src/sys/compile/NEUMANN i386 >Description: If the following is included in the kernel config file: device gus0 at isa? port 0x220 irq 12 drq 1 I get these errors: isa_compat.o: In function `isa_compat_nextid': /usr/src/sys/compile/NEUMANN/../../i386/isa/isa_compat.c:61: undefined reference to `gusdriver' midi_synth.o: In function `midi_outc': /usr/src/sys/compile/NEUMANN/../../i386/isa/sound/midi_synth.c(.text+0x4d): undefined reference to `midi_devs' midi_synth.o: In function `prefix_cmd': /usr/src/sys/compile/NEUMANN/../../i386/isa/sound/midi_synth.c:133: undefined reference to `midi_devs' midi_synth.o: In function `midi_synth_input': /usr/src/sys/compile/NEUMANN/../../i386/isa/sound/midi_synth.c(.text+0xdd): undefined reference to `num_midis' /usr/src/sys/compile/NEUMANN/../../i386/isa/sound/midi_synth.c(.text+0xff): undefined reference to `midi_devs' midi_synth.o: In function `leave_sysex': /usr/src/sys/compile/NEUMANN/../../i386/isa/sound/midi_synth.c(.text+0x2c6): undefined reference to `synth_devs' /usr/src/sys/compile/NEUMANN/../../i386/isa/sound/midi_synth.c(.text+0x2ef): undefined reference to `midi_devs' midi_synth.o: In function `midi_synth_ioctl': /usr/src/sys/compile/NEUMANN/../../i386/isa/sound/midi_synth.c:272: undefined reference to `synth_devs' midi_synth.o: In function `midi_synth_kill_note': /usr/src/sys/compile/NEUMANN/../../i386/isa/sound/midi_synth.c(.text+0x383): undefined reference to `synth_devs' midi_synth.o: In function `midi_synth_set_instr': /usr/src/sys/compile/NEUMANN/../../i386/isa/sound/midi_synth.c:333: undefined reference to `synth_devs' midi_synth.o: In function `midi_synth_start_note': /usr/src/sys/compile/NEUMANN/../../i386/isa/sound/midi_synth.c(.text+0x512): undefined reference to `synth_devs' midi_synth.o: In function `midi_synth_open': /usr/src/sys/compile/NEUMANN/../../i386/isa/sound/midi_synth.c(.text+0x5f3): undefined reference to `synth_devs' /usr/src/sys/compile/NEUMANN/../../i386/isa/sound/midi_synth.c(.text+0x600): undefined reference to `num_midis' /usr/src/sys/compile/NEUMANN/../../i386/isa/sound/midi_synth.c(.text+0x630): undefined reference to `midi_devs' midi_synth.o: In function `midi_synth_close': /usr/src/sys/compile/NEUMANN/../../i386/isa/sound/midi_synth.c:426: undefined reference to `synth_devs' /usr/src/sys/compile/NEUMANN/../../i386/isa/sound/midi_synth.c:433: undefined reference to `midi_devs' midi_synth.o: In function `midi_synth_load_patch': /usr/src/sys/compile/NEUMANN/../../i386/isa/sound/midi_synth.c:447: undefined reference to `synth_devs' /usr/src/sys/compile/NEUMANN/../../i386/isa/sound/midi_synth.c:509: undefined reference to `midi_devs' midi_synth.o: In function `midi_synth_aftertouch': /usr/src/sys/compile/NEUMANN/../../i386/isa/sound/midi_synth.c(.text+0x912): undefined reference to `synth_devs' midi_synth.o: In function `midi_synth_controller': /usr/src/sys/compile/NEUMANN/../../i386/isa/sound/midi_synth.c(.text+0x9aa): undefined reference to `synth_devs' midi_synth.o: In function `midi_synth_bender': /usr/src/sys/compile/NEUMANN/../../i386/isa/sound/midi_synth.c(.text+0xa66): undefined reference to `synth_devs' midi_synth.o: In function `midi_synth_send_sysex': /usr/src/sys/compile/NEUMANN/../../i386/isa/sound/midi_synth.c(.text+0xb23): undefined reference to `synth_devs' /usr/src/sys/compile/NEUMANN/../../i386/isa/sound/midi_synth.c(.text+0xbc9): undefined reference to `midi_devs' /usr/src/sys/compile/NEUMANN/../../i386/isa/sound/midi_synth.c(.text+0xc12): undefined reference to `midi_devs' *** Error code 1 >How-To-Repeat: Include the mentioned gus0 in kernel. >Fix: I have been looking at the source and I'm not able to locate the reference problem betweene the header files and the c-source. I believe it has to do with of the general sound or isa code. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message