Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-20-2006, 07:19 PM   #1
Registered: Sep 2003
Location: USA
Distribution: Ubuntu Linux
Posts: 103

Rep: Reputation: 15
Alsa-driver does not make on Mandrake 9.2 with kernel 2.4.22

I have had some trouble getting the latest alsa 1.0.11 to compile and with the kernel 2.4.22-10mdk on Mandrake Linux 9.2.

I am upgrading alsa so bmpx works. Has anyone gotten that to work on Mandrake 9.2?

The problem I have is that alsa-driver does not make. Scroll down to see where the error occurs.

[root@localhost alsa-driver-1.0.11rc5]# ./configure --with-sequencer=yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for ranlib... ranlib
checking for a BSD-compatible install... /usr/bin/install -c
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether time.h and sys/time.h may both be included... yes
checking whether gcc needs -traditional... no
checking for current directory... /tmp/gnome-vfs-2.13.92/GConf-2.14.0/libglade-2.5.1/bmpx-0.14.4/alsa-driver-1.0.11rc5
checking cross compile...
checking for directory with kernel source... /lib/modules/2.4.22-6mdk/build
checking for directory with kernel build...
checking for kernel linux/version.h... yes
checking for kernel linux/autoconf.h... yes
checking for kernel version... 2.4.22-6mdkcustom
checking for GCC version... Kernel compiler: gcc 3.3.1 (Mandrake Linux 9.2 3.3.1-2mdk) Used compiler: gcc (GCC) 3.3.1 (Mandrake Linux 9.2 3.3.1-2mdk)
checking for built-in ALSA... no
checking for existing ALSA module... yes
checking for Red Hat kernel... auto
checking for Red Hat kernel... no
checking for SUSE kernel... auto
checking for SUSE kernel... no
checking to modify of kernel linux/kmod.h... no
checking for kernel linux/compiler.h... yes
checking for kernel linux/pm.h... yes
checking for kernel linux/spinlock.h... yes
checking for kernel linux/irq.h... yes
checking for kernel linux/threads.h... yes
checking for kernel linux/rwsem.h... yes
checking for kernel linux/gameport.h... yes
checking for kernel linux/devfs_fs_kernel.h... yes
checking for kernel linux/highmem.h... yes
checking for kernel linux/workqueue.h... no
Creating a dummy <linux/workqueue.h>...
checking for kernel linux/dma-mapping.h... no
Creating a dummy <linux/dma-mapping.h>...
checking for kernel asm/hw_irq.h... yes
checking for kernel linux/device.h... no
Creating <linux/device.h>...
checking for kernel linux/platform_device.h... no
Creating <linux/platform_device.h>...
checking for kernel linux/jiffies.h... no
Creating <linux/jiffies.h>...
checking for kernel linux/compat.h... no
Creating <linux/compat.h>...
checking for kernel linux/adb.h... yes
checking for kernel linux/cuda.h... yes
checking for kernel linux/pmu.h... yes
checking for kernel linux/moduleparam.h... no
Creating a dummy <linux/moduleparam.h>...
checking for kernel linux/syscalls.h... no
Creating <linux/syscalls.h>...
checking for kernel linux/firmware.h... yes
checking for kernel linux/err.h... no
Creating <linux/err.h>...
checking for kernel linux/bitmap.h... no
Creating <linux/bitmap.h>...
checking for kernel linux/mutex.h... no
Creating <linux/mutex.h>...
checking for exported symbol dump_stack... yes
checking for kernel module symbol versions... yes
checking for PCI support in kernel... yes
checking for I2C driver in kernel... module
checking for firmware loader... module
checking for input subsystem in kernel... module
checking for directory to store kernel modules... /lib/modules/2.4.22-6mdkcustom/kernel/sound
checking for verbose procfs... on
checking for verbose printk... on
checking for debug level... none
checking for ISA support in kernel... yes
checking for processor type... i586
checking for SMP... no
checking for Video device support in kernel... yes
checking for ISA PnP driver in kernel... yes
checking for PnP driver in kernel... yes
checking for Kernel ISA-PnP support... yes
checking for strlcpy... no
checking for snprintf... yes
checking for vsnprintf... yes
checking for scnprintf... no
checking for sscanf... yes
checking for vmalloc_to_page... yes
checking for old kmod... yes
checking for PDE... no
checking for pci_set_consistent_dma_mask... no
checking for pci_dev_present... no
checking for msleep... no
checking for msecs_to_jiffies... no
checking for tty->count is the atomic type... no
checking for video_get_drvdata... no
checking for io_remap_pfn_range... no
checking for new io_remap_page_range... no
checking for kcalloc... no
checking for kstrdup... no
checking for kzalloc... no
checking for create_workqueue with flags... no
checking for saved_config_space in pci_dev... no
checking for register_sound_special_device... no
checking for driver version... 1.0.11rc5
checking for sequencer support... yes
checking for OSS/Free emulation... yes
checking for OSS PCM plugin system inclusion... yes
checking for RTC callback support in kernel... may be buggy, skipped
checking for HPET support... no
checking for dynamic minor numbers... no
checking for support of old API... yes
checking for Procfs support... yes
checking for USB support... yes
checking for PnP suspend/resume... no
checking for PC-Speaker hook... no
checking for kernel PCMCIA
checking for PCMCIA support... yes
checking for PC9800 support in kernel... no
checking for parallel port support... yes
checking for which soundcards to compile driver for... all
configure: creating ./config.status
config.status: creating version
config.status: creating Makefile.conf
config.status: creating snddevices
config.status: creating utils/alsa-driver.spec
config.status: creating utils/buildrpm
config.status: creating toplevel.config
config.status: creating utils/alsasound
config.status: creating utils/alsasound.posix
config.status: creating include/pci_ids_compat.h
config.status: creating include/config.h
config.status: creating include/config1.h
config.status: include/config1.h is unchanged
config.status: creating include/version.h
config.status: include/version.h is unchanged
config.status: creating include/autoconf-extra.h
config.status: include/autoconf-extra.h is unchanged
Hacking autoconf.h...
[root@localhost alsa-driver-1.0.11rc5]# make
The error is here.

gcc -D__KERNEL__ -DMODULE=1 -I/tmp/gnome-vfs-2.13.92/GConf-2.14.0/libglade-2.5.1/bmpx-0.14.4/alsa-driver-1.0.11rc5/include  -I/lib/modules/2.4.22-6mdk/build/include -O2 -mpreferred-stack-boundary=2 -march=i586 -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD -nostdinc -iwithprefix include -DMODVERSIONS -include /lib/modules/2.4.22-6mdk/build/include/linux/modversions.h  -DKBUILD_BASENAME=als100   -c -o als100.o als100.c
In file included from als100.c:1:
../alsa-kernel/isa/als100.c:344: error: unknown field `suspend' specified in initializer
../alsa-kernel/isa/als100.c:344: warning: missing braces around initializer
../alsa-kernel/isa/als100.c:344: warning: (near initialization for `')
../alsa-kernel/isa/als100.c:344: warning: initialization from incompatible pointer type
../alsa-kernel/isa/als100.c:345: error: unknown field `resume' specified in initializer
../alsa-kernel/isa/als100.c:345: warning: excess elements in struct initializer
../alsa-kernel/isa/als100.c:345: warning: (near initialization for `als100_pnpc_driver')
make[1]: *** [als100.o] Error 1
make[1]: Leaving directory `/tmp/gnome-vfs-2.13.92/GConf-2.14.0/libglade-2.5.1/bmpx-0.14.4/alsa-driver-1.0.11rc5/isa'
make: *** [compile] Error 1
[root@localhost alsa-driver-1.0.11rc5]# uname -a
Linux localhost 2.4.22-6mdk #1 Sun Sep 7 18:11:19 EDT 2003 i686 unknown unknown GNU/Linux
[root@localhost alsa-driver-1.0.11rc5]#
Any help would be appreciated.
Old 06-21-2006, 02:03 PM   #2
Senior Member
Registered: Jun 2002
Location: UK .
Distribution: *buntu (usually Kubuntu)
Posts: 2,682
Blog Entries: 9

Rep: Reputation: 45
Moved away from mandrake/mandriva a while ago now, so I can only suggest the obvious i.e. 9.2 is now rather elderly, is it not worth the effort of updating the entire distro to Mandriva 2006 and a 2.6 kernel as I believe that ALSA support is included in the 2.6 series kernels???

Sorry if that is "stating the bleeding obvious", but I'd guess that support for mandy 9.2 is pretty much finished.

Good luck with your quest.


Old 06-21-2006, 05:28 PM   #3
Registered: Sep 2003
Location: USA
Distribution: Ubuntu Linux
Posts: 103

Original Poster
Rep: Reputation: 15
Thanks for your response. You may be right that Mandrake (even that word itself) is quite aged. I just wanted to maintain the machine that I spent months to fully understand and configure the way I wanted.

You are absolutely right that 2.6+ kernels come with alsa support already. That is certainly a benefit and I will look into getting a new distro. My Linux needs have changed to be more server-related, so I might try SuSE or Debian.
Old 06-21-2006, 08:15 PM   #4
Registered: Sep 2003
Location: USA
Distribution: Ubuntu Linux
Posts: 103

Original Poster
Rep: Reputation: 15
At first I found posting this topic in the newbie section an injustice to my fond experience with Linux, but from this "quest" I realize an important lesson for all newbies:

Don't always go for the latest and greatest.

BMPx is still under development and is not released with any major distribution yet. Until it is stable, BMP 0.9 is just fine. It's XMMS-compatible too, so what's wrong with that?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
'make' error compiling alsa driver rickh Debian 3 05-14-2005 12:28 AM
Help,how can I install alsa driver and make it work? LittlesnowLinux Debian 2 11-25-2004 08:36 AM
Fc2 How To Make Alsa Driver Woking . vashistvishal Fedora - Installation 2 08-01-2004 07:49 AM
alsa-driver-1.0.5.tar.gz or kernel alsa? shanenin Linux - Software 2 05-29-2004 01:47 PM
How to make Alsa driver loading? Waldi Slackware 16 04-18-2003 03:33 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:38 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration