Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: snookertb <snookertb@comcast.net>
To: Clemens Ladisch <clemens@ladisch.de>
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: Compile errors with latest alsa releases
Date: Mon, 23 Feb 2004 13:59:53 -0500	[thread overview]
Message-ID: <403A4DA9.8010408@comcast.net> (raw)
In-Reply-To: <Pine.HPX.4.33n.0402231847520.18260-100000@studcom.urz.uni-halle.de>

Thanks for responding. I had just about given up ...

Clemens Ladisch wrote:
> snookertb wrote:
> 
>>I am attempting to update the Sun JDS distro from alsa version 0.9.0 to
>>a later version which supports newer Intel sound chips. I get the
>>following errors in these two compiles.
>>
>>/home/tarpon/downloads/alsa-driver-1.0.2c/include/adriver.h:295:
>>redefinition of `usb_make_path'
> 
> 
> This is a function which doesn't exist in older 2.4 kernels, so ALSA
> defines its own version.  It seems Sun backported some USB stuff from
> a newer kernel.
> 
> Try to uncomment this function in adriver.h.

I commented out the function definition of usb_make_path() in the alsa-driver-xxx adriver.h file and now it compiles without errors. Since usb_make_path() is wrapped in a kernel version it probably is true that Sun back ported some of the usb functionality.

SND_CTL_READONLY does not appear to be declared anywhere. I assume that this is also a function of new kernels, or Sun's implementation, and if I added the declaration to the alsa-utils-xxx somewhere it would be proper. Where should the declaration go? Any idea how to get the proper values?

Are you part of the alsa development team?

tb



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click

  reply	other threads:[~2004-02-23 18:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-20 16:15 Compile errors with latest alsa releases snookertb
2004-02-23 17:49 ` Clemens Ladisch
2004-02-23 18:59   ` snookertb [this message]
2004-02-24 17:59     ` Clemens Ladisch

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=403A4DA9.8010408@comcast.net \
    --to=snookertb@comcast.net \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=clemens@ladisch.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox