Skip to contentSkip to conversation

2.5.45 -- usbaudio.c: 1882: structure has no member named `bInterfaceClass' in function `snd_usb_create_streams'

DISCUSSION Miles Lane 3 participants 4 messages Nov 1, 2002 – Nov 4, 2002

lore
Share & tools
lore

Miles Lane

author
#0 lore raw

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

#1 lore raw
Quoted 3 lines · Miles Lane

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

#2 lore raw

At Thu, 31 Oct 2002 18:03:26 -0800,

Quoted 9 lines · Greg KH
Quoted 3 lines · Miles Lane

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

Signature · 2 lines
Takashi Iwai <[email protected]>		SuSE Linux AG - www.suse.de
ALSA Developer				ALSA Project - www.alsa-project.org
#3 lore raw
Quoted 10 lines · Takashi Iwai

At Thu, 31 Oct 2002 18:03:26 -0800,

Quoted 8 lines · Greg KH
Quoted 3 lines · Miles Lane

CONFIG_SND_DEBUG=y
CONFIG_SND_DEBUG_MEMORY=y
CONFIG_SND_DEBUG_DETECT=y

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

Quoted 7 lines
Quoted 1 line

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