New: usbaudio does not compile
http://bugme.osdl.org/show_bug.cgi?id=770
Summary: usbaudio does not compile
Kernel Version: 2.5.70-bk8
Status: NEW
Severity: normal
Owner: [email protected]
Submitter: [email protected]
Distribution: SuSE 8.2
Hardware Environment: Acer Travelmate 800 LCi
Software Environment: gcc 3.3
Problem Description: usbaudio does not compile on 2.5.70-bk8
(I've skipped a few snapshots, so it might have been introduced at > 2.5.70-bk5) It used to compile before.
Error-log:
In file included from sound/usb/usbaudio.c:35:include/linux/usb.h: In function `usb_make_path':include/linux/usb.h:327: warning: comparison between signed and unsigned sound/usb/usbaudio.c: In function `parse_audio_format_i_type':sound/usb/usbaudio.c:1947: error: `iface_no' undeclared (first use in this function) sound/usb/usbaudio.c:1947: error: (Each undeclared identifier is reported only once sound/usb/usbaudio.c:1947: error: for each function it appears in.) sound/usb/usbaudio.c:1947: error: altno' undeclared (first use in this function) sound/usb/usbaudio.c: In function parse_audio_endpoints':sound/usb/usbaudio.c:2172: warning: comparison between signed and unsigned sound/usb/usbaudio.c: In function `snd_usb_audio_create':sound/usb/usbaudio.c:2582: warning: comparison between signed and unsigned make[2]: *** [sound/usb/usbaudio.o] Error 1
make[1]: *** [sound/usb] Error 2
make: *** [sound] Error 2
Steps to reproduce:
Pentium M + Centrino / ACPI / usb
CONFIG_SOUND=m
CONFIG_SND=mCONFIG_SND_SEQUENCER=mCONFIG_SND_SEQ_DUMMY=mCONFIG_SND_OSSEMUL=yCONFIG_SND_MIXER_OSS=mCONFIG_SND_PCM_OSS=mCONFIG_SND_SEQUENCER_OSS=yCONFIG_SND_RTCTIMER=mCONFIG_SND_VERBOSE_PRINTK=yCONFIG_SND_DEBUG=yCONFIG_SND_DEBUG_DETECT=y
CONFIG_SND_DUMMY=mCONFIG_SND_VIRMIDI=mCONFIG_SND_MTPAV=mCONFIG_SND_SERIAL_U16550=mCONFIG_SND_MPU401=m
CONFIG_SND_ALI5451=mCONFIG_SND_EMU10K1=mCONFIG_SND_YMFPCI=mCONFIG_SND_ENS1370=mCONFIG_SND_ENS1371=mCONFIG_SND_INTEL8X0=mCONFIG_SND_SONICVIBES=mCONFIG_SND_VIA82XX=m
CONFIG_SND_USB_AUDIO=m
CONFIG_SOUND_PRIME=mCONFIG_SOUND_BT878=mCONFIG_SOUND_ICH=mCONFIG_SOUND_VIA82CXXX=mCONFIG_SOUND_OSS=mCONFIG_SOUND_TRACEINIT=yCONFIG_SOUND_DMAP=y
CONFIG_USB=m
CONFIG_USB_DEVICEFS=yCONFIG_USB_BANDWIDTH=y
CONFIG_USB_EHCI_HCD=mCONFIG_USB_OHCI_HCD=mCONFIG_USB_UHCI_HCD=m
CONFIG_USB_AUDIO=mCONFIG_USB_MIDI=mCONFIG_USB_ACM=mCONFIG_USB_PRINTER=mCONFIG_USB_STORAGE=mCONFIG_USB_STORAGE_DATAFAB=yCONFIG_USB_STORAGE_FREECOM=yCONFIG_USB_STORAGE_ISD200=yCONFIG_USB_STORAGE_DPCM=yCONFIG_USB_STORAGE_SDDR09=yCONFIG_USB_STORAGE_SDDR55=yCONFIG_USB_STORAGE_JUMPSHOT=y
CONFIG_USB_HID=mCONFIG_USB_HIDINPUT=yCONFIG_USB_HIDDEV=y
CONFIG_USB_AIPTEK=mCONFIG_USB_WACOM=mCONFIG_USB_KBTAB=m
Hi,
At Tue, 03 Jun 2003 09:49:58 -0700,
Quoted 11 lines · Martin J. Bligh
http://bugme.osdl.org/show_bug.cgi?id=770
Summary: usbaudio does not compile
Kernel Version: 2.5.70-bk8
Status: NEW
Severity: normal
Owner: [email protected]
Submitter: [email protected]
Quoted 8 lines
Distribution: SuSE 8.2
Hardware Environment: Acer Travelmate 800 LCi
Software Environment: gcc 3.3
Problem Description: usbaudio does not compile on 2.5.70-bk8
(I've skipped a few snapshots, so it might have been introduced at > 2.5.70-bk5) It used to compile before.Error-log:
(snip)
this bug appears only when CONFIG_SND_DEBUG_DETECT is set, so i didn't notice that.
please apply the patch below, or simply turn off CONFIG_SND_DEBUG_DETECT (it's anyway redundant).
Signature · 2 lines
Takashi Iwai <[email protected]> SuSE Linux AG - www.suse.de ALSA Developer ALSA Project - www.alsa-project.org