2002-11-01 01:16:28

by Miles Lane

[permalink] [raw]
Subject: 2.5.45 -- usbaudio.c: 1882: structure has no member named `bInterfaceClass' in function `snd_usb_create_streams'

gcc -Wp,-MD,sound/usb/.usbaudio.o.d -D__KERNEL__ -Iinclude -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer
-fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2
-march=athlon -Iarch/i386/mach-generic -nostdinc -iwithprefix include
-DKBUILD_BASENAME=usbaudio -c -o sound/usb/usbaudio.o
sound/usb/usbaudio.c
sound/usb/usbaudio.c: In function `snd_usb_create_streams':
sound/usb/usbaudio.c:1882: structure has no member named `bInterfaceClass'
make[2]: *** [sound/usb/usbaudio.o] Error 1

#
# Sound
#
CONFIG_SOUND=y

#
# Advanced Linux Sound Architecture
#
CONFIG_SND=y
CONFIG_SND_SEQUENCER=y
CONFIG_SND_SEQ_DUMMY=y
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=y
CONFIG_SND_PCM_OSS=y
CONFIG_SND_SEQUENCER_OSS=y
CONFIG_SND_RTCTIMER=y
CONFIG_SND_VERBOSE_PRINTK=y
CONFIG_SND_DEBUG=y
CONFIG_SND_DEBUG_MEMORY=y
CONFIG_SND_DEBUG_DETECT=y

#
# Generic devices
#
CONFIG_SND_DUMMY=y
CONFIG_SND_VIRMIDI=y
CONFIG_SND_MTPAV=y
CONFIG_SND_SERIAL_U16550=y
CONFIG_SND_MPU401=y

#
# PCI devices
#
CONFIG_SND_EMU10K1=y

#
# ALSA USB devices
#
CONFIG_SND_USB_AUDIO=y



2002-11-01 02:00:00

by Greg KH

[permalink] [raw]
Subject: Re: 2.5.45 -- usbaudio.c: 1882: structure has no member named `bInterfaceClass' in function `snd_usb_create_streams'

On Thu, Oct 31, 2002 at 05:22:48PM -0800, Miles Lane wrote:
> CONFIG_SND_DEBUG=y
> CONFIG_SND_DEBUG_MEMORY=y
> CONFIG_SND_DEBUG_DETECT=y

Turn these off, and the error should go away :)

Sorry, my fault, I'll fix them up.

thanks,

greg k-h

2002-11-04 09:46:36

by Takashi Iwai

[permalink] [raw]
Subject: Re: 2.5.45 -- usbaudio.c: 1882: structure has no member named `bInterfaceClass' in function `snd_usb_create_streams'

At Thu, 31 Oct 2002 18:03:26 -0800,
Greg KH wrote:
>
> On Thu, Oct 31, 2002 at 05:22:48PM -0800, Miles Lane wrote:
> > CONFIG_SND_DEBUG=y
> > CONFIG_SND_DEBUG_MEMORY=y
> > CONFIG_SND_DEBUG_DETECT=y
>
> Turn these off, and the error should go away :)
>
> Sorry, my fault, I'll fix them up.

i already changed the code on ALSA cvs to use some macros for
retrieving descriptors from host_* struct, so that it can be compiled
still on 2.4 kernel with a wrapper header, and fixed the relevant
part, too.
hence, you don't need to waste your precious time :)

hope Jaroslav will submit the patches soon...

--
Takashi Iwai <[email protected]> SuSE Linux AG - http://www.suse.de
ALSA Developer ALSA Project - http://www.alsa-project.org

2002-11-04 18:04:59

by Greg KH

[permalink] [raw]
Subject: Re: 2.5.45 -- usbaudio.c: 1882: structure has no member named `bInterfaceClass' in function `snd_usb_create_streams'

On Mon, Nov 04, 2002 at 10:53:09AM +0100, Takashi Iwai wrote:
> At Thu, 31 Oct 2002 18:03:26 -0800,
> Greg KH wrote:
> >
> > On Thu, Oct 31, 2002 at 05:22:48PM -0800, Miles Lane wrote:
> > > CONFIG_SND_DEBUG=y
> > > CONFIG_SND_DEBUG_MEMORY=y
> > > CONFIG_SND_DEBUG_DETECT=y
> >
> > Turn these off, and the error should go away :)
> >
> > Sorry, my fault, I'll fix them up.
>
> i already changed the code on ALSA cvs to use some macros for
> retrieving descriptors from host_* struct, so that it can be compiled
> still on 2.4 kernel with a wrapper header, and fixed the relevant
> part, too.
> hence, you don't need to waste your precious time :)

Thanks for letting me know.

greg k-h