Error building ALSA drivers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I'm new to ALSA and not experienced at doing any kind of Linux admin
work, so I'm hoping I can get some help from this list.

I'm trying to upgrade the ALSA driver, libs and utils to the 1.0.13
versions so that I can get the new drivers for my SB Live! 24-bit PCI
card, which is based on the ca0106 driver.  I downloaded the tar files
from the ALSA site, copied them into /usr/src/alsa, extracted them and
followed the directions from Quick Install from the ALSA wiki.

When I run the configure utility from the driver directory, during the
build, I get this error (full output from the build is shown at the end
of this message).  What have I done wrong?

make[1]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.13'
make -C /lib/modules/2.6.9-42.0.3.ELsmp/source
SUBDIRS=/usr/src/alsa/alsa-driver-1.0.13
O=/lib/modules/2.6.9-42.0.3.ELsmp/build CPP="gcc -E" CC="gcc" modules
make[1]: Entering directory `/usr/src/kernels/2.6.9-42.0.3.EL-smp-i686'
  CC [M]  /usr/src/alsa/alsa-driver-1.0.13/acore/memalloc.o
In file included from
/usr/src/alsa/alsa-driver-1.0.13/acore/memalloc.inc:13,
                 from
/usr/src/alsa/alsa-driver-1.0.13/acore/memalloc.c:1:
/usr/src/alsa/alsa-driver-1.0.13/include/adriver.h:251: error:
redefinition of typedef 'gfp_t'
include/linux/gfp.h:133: error: previous declaration of 'gfp_t' was here
make[4]: *** [/usr/src/alsa/alsa-driver-1.0.13/acore/memalloc.o] Error 1
make[3]: *** [/usr/src/alsa/alsa-driver-1.0.13/acore] Error 2
make[2]: *** [_module_/usr/src/alsa/alsa-driver-1.0.13] Error 2
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.9-42.0.3.EL-smp-i686'
make: *** [compile] Error 2

Here are some details on my setup:

- Redhat version:  Red Hat Enterprise Linux ES release 4 (Nahant Update
4)

- Redhat kernel version:  2.6.9-42.0.3.Elsmp

- Current ALSA versions:
    [root@engdev1 aklein]# rpm -qa | grep -I alsa
    alsa-lib-1.0.6-5.RHEL4
    alsa-utils-1.0.6-5

- The /proc/asound directory doesn't exist. 

- Output of modinfo soundcore:
    [root@engdev1 aklein]# modinfo soundcore
    filename:
/lib/modules/2.6.9-42.0.3.ELsmp/kernel/sound/soundcore.ko
    description:    Core sound module
    author:         Alan Cox
    license:        GPL
    alias:          char-major-14-*
    vermagic:       2.6.9-42.0.3.ELsmp SMP 686 REGPARM 4KSTACKS gcc-3.4
    depends:

Thanks for your help.

Anna Klein
aklein@xxxxxxxxxxxxxxxxxxxx


Here's the entire output from the ALSA driver build:

[root@engdev1 alsa-driver-1.0.13]# ./configure --with-cards=ca0106
--with-sequencer=yes && make
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... /usr/src/alsa/alsa-driver-1.0.13
checking cross compile...
checking for directory with kernel source...
/lib/modules/2.6.9-42.0.3.ELsmp/source
checking for directory with kernel build...
/lib/modules/2.6.9-42.0.3.ELsmp/build
checking for kernel linux/version.h... yes
checking for kernel linux/autoconf.h... yes
checking for kernel version... 2.6.9-42.0.3.ELsmp
checking for GCC version... Kernel compiler: gcc 3.4.6 20060404 (Red Hat
3.4.6-3) Used compiler: gcc (GCC) 3.4.6 20060404 (Red Hat 3.4.6-3)
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 for CONFIG_EXPERIMENTAL... yes
checking to modify of kernel linux/kmod.h... no
checking for kernel linux/utsrelease.h... no
Creating a dummy <linux/utsrelease.h>...
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 media/v4l2-dev.h... no
checking for kernel linux/devfs_fs_kernel.h... yes
checking for kernel linux/highmem.h... yes
checking for kernel linux/workqueue.h... yes
checking for kernel linux/dma-mapping.h... yes
checking for kernel asm/hw_irq.h... yes
checking for kernel linux/device.h... yes
checking for kernel linux/platform_device.h... no
Creating <linux/platform_device.h>...
checking for kernel linux/jiffies.h... yes
checking for kernel linux/compat.h... yes
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... yes
checking for kernel linux/syscalls.h... yes
checking for kernel linux/firmware.h... yes
checking for kernel linux/err.h... yes
checking for kernel linux/bitmap.h... yes
checking for kernel linux/mutex.h... yes
checking for kernel module symbol versions... yes
checking for PCI support in kernel... yes
checking for I2C driver in kernel... module
checking for I2C_POWERMAC in kernel... unknown
checking for firmware loader... yes
checking for input subsystem in kernel... yes
checking for directory to store kernel modules...
/lib/modules/2.6.9-42.0.3.ELsmp/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... i686
checking for i386 machine type... default
checking for SMP... yes
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... no
checking for Kernel ISA-PnP module support... no
checking for strlcpy... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for scnprintf... yes
checking for sscanf... yes
checking for vmalloc_to_page... yes
checking for old kmod... no
checking for PDE... yes
checking for pci_set_consistent_dma_mask... yes
checking for pci_dev_present... no
checking for msleep... yes
checking for msleep_interrupt... yes
checking for msecs_to_jiffies... yes
checking for tty->count is the atomic type... no
checking for video_get_drvdata... yes
checking for io_remap_pfn_range... no
checking for new io_remap_page_range... yes
checking for kcalloc... yes
checking for kstrdup... yes
checking for kzalloc... yes
checking for create_workqueue with flags... no
checking for saved_config_space in pci_dev... yes
checking for new pci_save_state... no
checking for register_sound_special_device... no
checking for driver version... 1.0.13
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 class_simple... yes
checking for old driver suspend/resume callbacks... yes
checking for removal of page-reservation for nopage/mmap... no
checking for nested class_device... no
checking for PnP suspend/resume... no
checking for new unlocked/compat_ioctl... 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 power management... yes
checking for which soundcards to compile driver for... ca0106
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: include/config.h is unchanged
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...
make dep
make[1]: Entering directory `/usr/src/alsa/alsa-driver-1.0.13'
make[2]: Entering directory `/usr/src/alsa/alsa-driver-1.0.13/acore'
make[3]: Entering directory
`/usr/src/alsa/alsa-driver-1.0.13/acore/ioctl32'
make[3]: Leaving directory
`/usr/src/alsa/alsa-driver-1.0.13/acore/ioctl32'
make[3]: Entering directory `/usr/src/alsa/alsa-driver-1.0.13/acore/oss'
make[3]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.13/acore/oss'
make[3]: Entering directory `/usr/src/alsa/alsa-driver-1.0.13/acore/seq'
make[4]: Entering directory
`/usr/src/alsa/alsa-driver-1.0.13/acore/seq/instr'
make[4]: Leaving directory
`/usr/src/alsa/alsa-driver-1.0.13/acore/seq/instr'
make[4]: Entering directory
`/usr/src/alsa/alsa-driver-1.0.13/acore/seq/oss'
make[4]: Leaving directory
`/usr/src/alsa/alsa-driver-1.0.13/acore/seq/oss'
make[3]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.13/acore/seq'
make[2]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.13/acore'
make[2]: Entering directory `/usr/src/alsa/alsa-driver-1.0.13/i2c'
make[3]: Entering directory `/usr/src/alsa/alsa-driver-1.0.13/i2c/other'
make[3]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.13/i2c/other'
make[2]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.13/i2c'
make[2]: Entering directory `/usr/src/alsa/alsa-driver-1.0.13/drivers'
make[3]: Entering directory
`/usr/src/alsa/alsa-driver-1.0.13/drivers/mpu401'
make[3]: Leaving directory
`/usr/src/alsa/alsa-driver-1.0.13/drivers/mpu401'
make[3]: Entering directory
`/usr/src/alsa/alsa-driver-1.0.13/drivers/opl3'
make[3]: Leaving directory
`/usr/src/alsa/alsa-driver-1.0.13/drivers/opl3'
make[3]: Entering directory
`/usr/src/alsa/alsa-driver-1.0.13/drivers/opl4'
make[3]: Leaving directory
`/usr/src/alsa/alsa-driver-1.0.13/drivers/opl4'
make[3]: Entering directory
`/usr/src/alsa/alsa-driver-1.0.13/drivers/pcsp'
make[3]: Leaving directory
`/usr/src/alsa/alsa-driver-1.0.13/drivers/pcsp'
make[3]: Entering directory
`/usr/src/alsa/alsa-driver-1.0.13/drivers/vx'
make[3]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.13/drivers/vx'
make[2]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.13/drivers'
make[2]: Entering directory `/usr/src/alsa/alsa-driver-1.0.13/isa'
make[3]: Entering directory
`/usr/src/alsa/alsa-driver-1.0.13/isa/ad1816a'
make[3]: Leaving directory
`/usr/src/alsa/alsa-driver-1.0.13/isa/ad1816a'
make[3]: Entering directory
`/usr/src/alsa/alsa-driver-1.0.13/isa/ad1848'
make[3]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.13/isa/ad1848'
make[3]: Entering directory
`/usr/src/alsa/alsa-driver-1.0.13/isa/cs423x'
make[3]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.13/isa/cs423x'
make[3]: Entering directory
`/usr/src/alsa/alsa-driver-1.0.13/isa/es1688'
make[3]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.13/isa/es1688'
make[3]: Entering directory `/usr/src/alsa/alsa-driver-1.0.13/isa/gus'
make[3]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.13/isa/gus'
make[3]: Entering directory `/usr/src/alsa/alsa-driver-1.0.13/isa/msnd'
make[3]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.13/isa/msnd'
make[3]: Entering directory
`/usr/src/alsa/alsa-driver-1.0.13/isa/opti9xx'
make[3]: Leaving directory
`/usr/src/alsa/alsa-driver-1.0.13/isa/opti9xx'
make[3]: Entering directory `/usr/src/alsa/alsa-driver-1.0.13/isa/sb'
make[3]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.13/isa/sb'
make[3]: Entering directory
`/usr/src/alsa/alsa-driver-1.0.13/isa/wavefront'
make[3]: Leaving directory
`/usr/src/alsa/alsa-driver-1.0.13/isa/wavefront'
make[2]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.13/isa'
make[2]: Entering directory `/usr/src/alsa/alsa-driver-1.0.13/synth'
make[3]: Entering directory
`/usr/src/alsa/alsa-driver-1.0.13/synth/emux'
make[3]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.13/synth/emux'
make[2]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.13/synth'
make[2]: Entering directory `/usr/src/alsa/alsa-driver-1.0.13/pci'
make[3]: Entering directory `/usr/src/alsa/alsa-driver-1.0.13/pci/ac97'
make[3]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.13/pci/ac97'
make[3]: Entering directory
`/usr/src/alsa/alsa-driver-1.0.13/pci/ali5451'
make[3]: Leaving directory
`/usr/src/alsa/alsa-driver-1.0.13/pci/ali5451'
make[3]: Entering directory
`/usr/src/alsa/alsa-driver-1.0.13/pci/asihpi'
make[3]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.13/pci/asihpi'
make[3]: Entering directory
`/usr/src/alsa/alsa-driver-1.0.13/pci/au88x0'
make[3]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.13/pci/au88x0'
make[3]: Entering directory
`/usr/src/alsa/alsa-driver-1.0.13/pci/ca0106'
make[3]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.13/pci/ca0106'
make[3]: Entering directory
`/usr/src/alsa/alsa-driver-1.0.13/pci/cs46xx'
make[3]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.13/pci/cs46xx'
make[3]: Entering directory
`/usr/src/alsa/alsa-driver-1.0.13/pci/cs5535audio'
make[3]: Leaving directory
`/usr/src/alsa/alsa-driver-1.0.13/pci/cs5535audio'
make[3]: Entering directory
`/usr/src/alsa/alsa-driver-1.0.13/pci/echoaudio'
make[3]: Leaving directory
`/usr/src/alsa/alsa-driver-1.0.13/pci/echoaudio'
make[3]: Entering directory
`/usr/src/alsa/alsa-driver-1.0.13/pci/emu10k1'
make[3]: Leaving directory
`/usr/src/alsa/alsa-driver-1.0.13/pci/emu10k1'
make[3]: Entering directory `/usr/src/alsa/alsa-driver-1.0.13/pci/hda'
make[3]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.13/pci/hda'
make[3]: Entering directory
`/usr/src/alsa/alsa-driver-1.0.13/pci/ice1712'
make[3]: Leaving directory
`/usr/src/alsa/alsa-driver-1.0.13/pci/ice1712'
make[3]: Entering directory
`/usr/src/alsa/alsa-driver-1.0.13/pci/korg1212'
make[3]: Leaving directory
`/usr/src/alsa/alsa-driver-1.0.13/pci/korg1212'
make[3]: Entering directory
`/usr/src/alsa/alsa-driver-1.0.13/pci/mixart'
make[3]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.13/pci/mixart'
make[3]: Entering directory `/usr/src/alsa/alsa-driver-1.0.13/pci/nm256'
make[3]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.13/pci/nm256'
make[3]: Entering directory `/usr/src/alsa/alsa-driver-1.0.13/pci/pcxhr'
make[3]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.13/pci/pcxhr'
make[3]: Entering directory
`/usr/src/alsa/alsa-driver-1.0.13/pci/pdplus'
make[3]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.13/pci/pdplus'
make[3]: Entering directory
`/usr/src/alsa/alsa-driver-1.0.13/pci/riptide'
make[3]: Leaving directory
`/usr/src/alsa/alsa-driver-1.0.13/pci/riptide'
make[3]: Entering directory
`/usr/src/alsa/alsa-driver-1.0.13/pci/rme9652'
make[3]: Leaving directory
`/usr/src/alsa/alsa-driver-1.0.13/pci/rme9652'
make[3]: Entering directory
`/usr/src/alsa/alsa-driver-1.0.13/pci/trident'
make[3]: Leaving directory
`/usr/src/alsa/alsa-driver-1.0.13/pci/trident'
make[3]: Entering directory `/usr/src/alsa/alsa-driver-1.0.13/pci/vx222'
make[3]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.13/pci/vx222'
make[3]: Entering directory
`/usr/src/alsa/alsa-driver-1.0.13/pci/ymfpci'
make[3]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.13/pci/ymfpci'
make[2]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.13/pci'
make[2]: Entering directory `/usr/src/alsa/alsa-driver-1.0.13/aoa'
make[3]: Entering directory
`/usr/src/alsa/alsa-driver-1.0.13/aoa/codecs'
make[3]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.13/aoa/codecs'
make[3]: Entering directory `/usr/src/alsa/alsa-driver-1.0.13/aoa/core'
make[3]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.13/aoa/core'
make[3]: Entering directory
`/usr/src/alsa/alsa-driver-1.0.13/aoa/fabrics'
make[3]: Leaving directory
`/usr/src/alsa/alsa-driver-1.0.13/aoa/fabrics'
make[3]: Entering directory
`/usr/src/alsa/alsa-driver-1.0.13/aoa/soundbus'
make[4]: Entering directory
`/usr/src/alsa/alsa-driver-1.0.13/aoa/soundbus/i2sbus'
make[4]: Leaving directory
`/usr/src/alsa/alsa-driver-1.0.13/aoa/soundbus/i2sbus'
make[3]: Leaving directory
`/usr/src/alsa/alsa-driver-1.0.13/aoa/soundbus'
make[2]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.13/aoa'
make[2]: Entering directory `/usr/src/alsa/alsa-driver-1.0.13/usb'
make[3]: Entering directory `/usr/src/alsa/alsa-driver-1.0.13/usb/usx2y'
make[3]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.13/usb/usx2y'
make[2]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.13/usb'
make[2]: Entering directory `/usr/src/alsa/alsa-driver-1.0.13/pcmcia'
make[3]: Entering directory
`/usr/src/alsa/alsa-driver-1.0.13/pcmcia/pdaudiocf'
make[3]: Leaving directory
`/usr/src/alsa/alsa-driver-1.0.13/pcmcia/pdaudiocf'
make[3]: Entering directory `/usr/src/alsa/alsa-driver-1.0.13/pcmcia/vx'
make[3]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.13/pcmcia/vx'
make[2]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.13/pcmcia'
make[1]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.13'
make -C /lib/modules/2.6.9-42.0.3.ELsmp/source
SUBDIRS=/usr/src/alsa/alsa-driver-1.0.13
O=/lib/modules/2.6.9-42.0.3.ELsmp/build CPP="gcc -E" CC="gcc" modules
make[1]: Entering directory `/usr/src/kernels/2.6.9-42.0.3.EL-smp-i686'
  CC [M]  /usr/src/alsa/alsa-driver-1.0.13/acore/memalloc.o
In file included from
/usr/src/alsa/alsa-driver-1.0.13/acore/memalloc.inc:13,
                 from
/usr/src/alsa/alsa-driver-1.0.13/acore/memalloc.c:1:
/usr/src/alsa/alsa-driver-1.0.13/include/adriver.h:251: error:
redefinition of typedef 'gfp_t'
include/linux/gfp.h:133: error: previous declaration of 'gfp_t' was here
make[4]: *** [/usr/src/alsa/alsa-driver-1.0.13/acore/memalloc.o] Error 1
make[3]: *** [/usr/src/alsa/alsa-driver-1.0.13/acore] Error 2
make[2]: *** [_module_/usr/src/alsa/alsa-driver-1.0.13] Error 2
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.9-42.0.3.EL-smp-i686'
make: *** [compile] Error 2
[root@engdev1 alsa-driver-1.0.13]#



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user

[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux