[alsa-devel] alsa-driver-1.0.15rc2 build issues on RHEL4/CentOS4

James Pearson james-p at moving-picture.com
Tue Oct 2 11:17:30 CEST 2007


James Pearson wrote:
> alsa-driver-1.0.15rc2 won't build cleanly on RHEL4/CentOS4 (2.6.9 based 
> kernel).
> 
> I've included the relevant errors below after running:
> 
> configure --with-redhat
> make -i
>  
>    Building modules, stage 2.
>    MODPOST
> *** Warning: "class_device_destroy" 
> [/tmp/alsa-driver-1.0.15rc2/pci/asihpi/snd-asihpi.ko] undefined!
> *** Warning: "ac97_bus_type" 
> [/tmp/alsa-driver-1.0.15rc2/pci/ac97/snd-ac97-codec.ko] undefined!
> *** Warning: "platform_device_alloc" 
> [/tmp/alsa-driver-1.0.15rc2/drivers/snd-portman2x4.ko] undefined!
> *** Warning: "platform_device_add" 
> [/tmp/alsa-driver-1.0.15rc2/drivers/snd-portman2x4.ko] undefined!
> *** Warning: "platform_device_put" 
> [/tmp/alsa-driver-1.0.15rc2/drivers/snd-portman2x4.ko] undefined!
> *** Warning: "platform_device_alloc" 
> [/tmp/alsa-driver-1.0.15rc2/drivers/snd-mts64.ko] undefined!
> *** Warning: "platform_device_add" 
> [/tmp/alsa-driver-1.0.15rc2/drivers/snd-mts64.ko] undefined!
> *** Warning: "platform_device_put" 
> [/tmp/alsa-driver-1.0.15rc2/drivers/snd-mts64.ko] undefined!

Setting/changing the following in kconfig-vers 'fixes' the above:

SND_MTS64       2.6.10
SND_ASIHPI      2.6.10
SND_PORTMAN2X4  2.6.10
SND_CS5535AUDIO 2.6.10

(AC97_BUS is already set to 2.6.14 in rc3)

I don't know if all these build OK with 2.6.10 and above, but as 
RHEL4/CentOS4 is a 2.6.9 based kernel, then this works ...

James Pearson


More information about the Alsa-devel mailing list