http://qa.mandrakesoft.com/show_bug.cgi?id=1149
------- Additional Comments From [EMAIL PROTECTED] 2003-12-09 01:41 ------- Created an attachment (id=803) --> (http://qa.mandrakesoft.com/attachment.cgi?id=803&action=view) patch to fix ALSA make menuconfig crash. This bug is still valid for 2.4.22-7mdk. Here is a patch to fix this problem. The 'source sound/usb/Config.in' is called earlier in the file, so we don't lose anything by removing this. Make xconfig is more forgiving, showing two usb menus. With this patch, make xconfig will show only one, and make menuconfig will work. This patch was made against 2.4.22-7mdk. Steven --- linux-2.4.22-7mdk/sound/Config.in.original 2003-09-11 09:00:34.000000000 -0600 +++ linux-2.4.22-7mdk/sound/Config.in 2003-09-11 09:58:27.000000000 -0600 @@ -25,11 +25,6 @@ if [ "$CONFIG_SND" != "n" ]; then source sound/pcmcia/Config.in fi -# the following will depenend on the order of config. -# here assuming USB is defined before ALSA -if [ "$CONFIG_SND" != "n" -a "$CONFIG_USB" != "n" ]; then - source sound/usb/Config.in -fi if [ "$CONFIG_SND" != "n" ]; then if [ "$CONFIG_SPARC32" = "y" -o "$CONFIG_SPARC64" = "y" ]; then source sound/sparc/Config.in -- Configure bugmail: http://qa.mandrakesoft.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. ------- Reminder: ------- assigned_to: [EMAIL PROTECTED] status: NEW creation_date: description: Running 'make menuconfig' and navigating to the ALSA configuration results in a crash. the patch below fixes this. diff -Nuarp linux-2.4.21-0.pre3.1mdk/arch/i386/config.in linux-2.4.21- 0.pre3.1mdk.new/arch/i386/config.in --- linux-2.4.21-0.pre3.1mdk/arch/i386/config.in 2003-01-16 18:18:19.000000000 +0200 +++ linux-2.4.21-0.pre3.1mdk.new/arch/i386/config.in 2003-01-19 14:03:57.000000000 +0200 @@ -451,6 +451,8 @@ if [ "$CONFIG_VT" = "y" ]; then endmenu fi +source drivers/usb/Config.in + mainmenu_option next_comment comment 'Sound' @@ -460,8 +462,6 @@ if [ "$CONFIG_SOUND" != "n" ]; then fi endmenu -source drivers/usb/Config.in - source net/bluetooth/Config.in mainmenu_option next_comment diff -Nuarp linux-2.4.21-0.pre3.1mdk/sound/Config.in linux-2.4.21- 0.pre3.1mdk.new/sound/Config.in --- linux-2.4.21-0.pre3.1mdk/sound/Config.in 2003-01-16 18:18:14.000000000 +0200 +++ linux-2.4.21-0.pre3.1mdk.new/sound/Config.in 2003-01-19 14:04:36.000000000 +0200 @@ -8,7 +8,6 @@ dep_tristate 'Advanced Linux Sound Archi if [ "$CONFIG_SND" != "n" ]; then source sound/core/Config.in source sound/drivers/Config.in - source sound/usb/Config.in fi if [ "$CONFIG_SND" != "n" -a "$CONFIG_ISA" = "y" ]; then source sound/isa/Config.in