NetBSD Problem Report #15845

Received: (qmail 26213 invoked from network); 9 Mar 2002 12:22:47 -0000
Message-Id: <Pine.SOL.4.33.0203091212310.16948-100000@draco.cus.cam.ac.uk>
Date: Sat, 9 Mar 2002 12:22:45 +0000 (GMT)
From: Ben Harris <bjh21@netbsd.org>
Sender: Ben Harris <bjh21@cus.cam.ac.uk>
To: <gnats-bugs@gnats.netbsd.org>
Subject: audio drivers without auconv attribute won't link

>Number:         15845
>Category:       kern
>Synopsis:       audio drivers without auconv attribute won't link
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    kent
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Mar 09 12:23:00 +0000 2002
>Closed-Date:    Sun Mar 10 07:18:57 +0000 2002
>Last-Modified:  Thu Aug 27 04:51:28 +0000 2009
>Originator:     Ben Harris
>Release:        2002-03-07
>Organization:
>Environment:
NetBSD-current/acorn32

>Description:
Trying to build an acorn32 kernel which contains the vidcaudio driver, I
get:

ld -Ttext 0xF0000000 -e start -x -o netbsd ${SYSTEM_OBJ} vers.o
audio.o: Undefined symbol `_auconv_init_context' referenced from text segment
audio.o: Undefined symbol `_auconv_init_context' referenced from text segment
audio.o: Undefined symbol `_auconv_record' referenced from text segment
audio.o: Undefined symbol `_auconv_play' referenced from text segment
audio.o: Undefined symbol `_auconv_check_params' referenced from text segment
audio.o: Undefined symbol `_auconv_check_params' referenced from text segment
*** Error code 1

The vidcaudio driver is declared like this:

device  vidcaudio: audio
attach  vidcaudio at vidc

Since it doesn't have the "auconv" attribute, dev/auconv.c doesn't get
included in the kernel, and hence the auconv_* functions aren't defined.

Presumably audio devices without auconv are meant to work, or there
wouldn't be any point in making it a separate attribute.

>How-To-Repeat:

Try to build a NetBSD/acorn32 GENERIC kernel.

>Fix:


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->analyzed 
State-Changed-By: kent 
State-Changed-When: Sat Mar 9 11:48:59 PST 2002 
State-Changed-Why:  
The reason is obvious 


Responsible-Changed-From-To: kern-bug-people->kent 
Responsible-Changed-By: kent 
Responsible-Changed-When: Sat Mar 9 11:48:59 PST 2002 
Responsible-Changed-Why:  
Kent brought the problem. 
State-Changed-From-To: analyzed->feedback 
State-Changed-By: kent 
State-Changed-When: Sat Mar 9 12:48:34 PST 2002 
State-Changed-Why:  
I have committed a solution. 

From: Ben Harris <bjh21@netbsd.org>
To: <kent@netbsd.org>
Cc: <gnats-bugs@gnats.netbsd.org>
Subject: Re: kern/15845
Date: Sat, 9 Mar 2002 23:20:05 +0000 (GMT)

 On 9 Mar 2002 kent@netbsd.org wrote:

 > Synopsis: audio drivers without auconv attribute won't link
 >
 > State-Changed-From-To: analyzed->feedback
 > State-Changed-By: kent
 > State-Changed-When: Sat Mar 9 12:48:34 PST 2002
 > State-Changed-Why:
 > I have committed a solution.

 That seems to solve the problem, thanks.

 -- 
 Ben Harris                                                   <bjh21@netbsd.org>
 Portmaster, NetBSD/arm26               <URL:http://www.netbsd.org/Ports/arm26/>

State-Changed-From-To: feedback->closed 
State-Changed-By: kent 
State-Changed-When: Sat Mar 9 23:17:54 PST 2002 
State-Changed-Why:  
Confirmed it was fied. 


>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.