Subject: kern/11508: kernel compilation fails with uaudio and no audio
To: None <gnats-bugs@gnats.netbsd.org>
From: None <wiz@danbala.ifoer.tuwien.ac.at>
List: netbsd-bugs
Date: 11/16/2000 07:15:11
>Number:         11508
>Category:       kern
>Synopsis:       kernel compilation fails with uaudio and no audio
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Nov 16 07:15:00 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Thomas Klausner
>Release:        -current of 2000-11-16
>Organization:
	
>Environment:
	
System: NetBSD dmath5.geometrie.tuwien.ac.at 1.5K NetBSD 1.5K (RAFFAELO) #2: Thu Nov 16 16:53:40 CET 2000 wiz@dmath5.geometrie.tuwien.ac.at:/home/wiz/src/sys/arch/i386/compile/RAFFAELO i386


>Description:
Kernel compilation fails if you have the line:
	uaudio* at uhub? port ? configuration ?
enabled, but disabled all audio* lines.
The error shown is:

ld -Ttext c0100000 -e start -X -o netbsd ${SYSTEM_OBJ} vers.o
audio.o: In function `audioopen':
audio.o(.text+0x921): undefined reference to `audio_cd'
audio.o(.text+0x928): undefined reference to `audio_cd'
audio.o: In function `audioclose':
audio.o(.text+0xa14): undefined reference to `audio_cd'
audio.o: In function `audioread':
audio.o(.text+0xa8c): undefined reference to `audio_cd'
audio.o(.text+0xa93): undefined reference to `audio_cd'
audio.o(.text+0xb54): more undefined references to `audio_cd' follow
*** Error code 1

Stop.

>How-To-Repeat:
Enable uaudio, disable all audio*, config (no error), make depend, make.
>Fix:
Don't know.
>Release-Note:
>Audit-Trail:
>Unformatted: