[alsa-devel] alsa-driver compile error (1.0.21 and latest snapshot)

Stephen Stocker lpar at terraworld.net
Sun Oct 18 17:43:01 CEST 2009


   Hi,

   Using Slackware and gcc 3.3.6, I'm getting the following error compiling 
the alsa-driver for intel8x0. This is on a 2.4.24-ck1 kernel, if that helps.

make[1]: Entering directory `/home/lpar/alsa-driver-1.0.21.1.g098ab.13.g15db1/pc
i'
gcc -D__KERNEL__ -DMODULE=1 -I/home/lpar/alsa-driver-1.0.21.1.g098ab.13.g15db1/i
nclude  -I/usr/src/linux-2.4.24-ck1/include -O2 -mpreferred-stack-boundary=2 -ma
rch=i586 -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -Wno-trigraphs -
O2 -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD -nostdinc -iwithprefix in
clude -DMODVERSIONS -include /usr/src/linux-2.4.24-ck1/include/linux/modversions
.h  -DKBUILD_BASENAME=intel8x0   -c -o intel8x0.o intel8x0.c
In file included from intel8x0.c:39:
/home/lpar/alsa-driver-1.0.21.1.g098ab.13.g15db1/include/sound/ac97_codec.h: In
function `snd_ac97_dev_add_pdata':
/home/lpar/alsa-driver-1.0.21.1.g098ab.13.g15db1/include/sound/ac97_codec.h:651:
  error: structure has no member named `platform_data'
intel8x0.c: At top level:
pci_iomap_compat.c:62: warning: `ioport_unmap' defined but not used
intel8x0.c:103: warning: `enable' defined but not used
intel8x0.c:105: warning: `joystick' defined but not used
make[1]: *** [intel8x0.o] Error 1
make[1]: Leaving directory `/home/lpar/alsa-driver-1.0.21.1.g098ab.13.g15db1/pci
'
make: *** [compile] Error 1

   Thanks in advance for any help you can offer. :)
   Steve


-- 
Hope, Despair and the Triumph of Life
          http://www.hdtl.org
   Abuse Prevention/Survivor Support


More information about the Alsa-devel mailing list