At Wed, 3 Nov 2010 15:53:44 +0200, Ozan Çağlayan wrote:
This is on linux kernel 2.6.36:
Try the latest snapshot tarball. This should have been fixed. At least it works for old SUSE kernels.
Takashi
make -C /lib/modules/2.6.36-145/build SUBDIRS=/var/pisi/module-alsa-driver-1.0.23_20101103-64/work/alsa-driver CPP="x86_64-pc-linux-gnu-gcc -E" CC="x86_64-pc-linux-gnu-gcc" modules make[1]: Entering directory `/usr/src/linux-headers-2.6.36-145' CC [M] /var/pisi/module-alsa-driver-1.0.23_20101103-64/work/alsa-driver/pcmcia/pdaudiocf/pdaudiocf.o In file included from /var/pisi/module-alsa-driver-1.0.23_20101103-64/work/alsa-driver/pcmcia/pdaudiocf/pdaudiocf.c:14:0: /var/pisi/module-alsa-driver-1.0.23_20101103-64/work/alsa-driver/pcmcia/pdaudiocf/../../alsa-kernel/pcmcia/pdaudiocf/pdaudiocf.c: In function 'snd_pdacf_probe': /var/pisi/module-alsa-driver-1.0.23_20101103-64/work/alsa-driver/pcmcia/pdaudiocf/../../alsa-kernel/pcmcia/pdaudiocf/pdaudiocf.c:145:6: error: 'struct pcmcia_device' has no member named 'config_flags' /var/pisi/module-alsa-driver-1.0.23_20101103-64/work/alsa-driver/pcmcia/pdaudiocf/../../alsa-kernel/pcmcia/pdaudiocf/pdaudiocf.c:146:6: error: 'struct pcmcia_device' has no member named 'config_index' /var/pisi/module-alsa-driver-1.0.23_20101103-64/work/alsa-driver/pcmcia/pdaudiocf/../../alsa-kernel/pcmcia/pdaudiocf/pdaudiocf.c:147:6: error: 'struct pcmcia_device' has no member named 'config_regs' /var/pisi/module-alsa-driver-1.0.23_20101103-64/work/alsa-driver/pcmcia/pdaudiocf/../../alsa-kernel/pcmcia/pdaudiocf/pdaudiocf.c: In function 'pdacf_config': /var/pisi/module-alsa-driver-1.0.23_20101103-64/work/alsa-driver/pcmcia/pdaudiocf/../../alsa-kernel/pcmcia/pdaudiocf/pdaudiocf.c:219:6: error: 'struct pcmcia_device' has no member named 'config_index' /var/pisi/module-alsa-driver-1.0.23_20101103-64/work/alsa-driver/pcmcia/pdaudiocf/../../alsa-kernel/pcmcia/pdaudiocf/pdaudiocf.c:220:6: error: 'struct pcmcia_device' has no member named 'config_flags' /var/pisi/module-alsa-driver-1.0.23_20101103-64/work/alsa-driver/pcmcia/pdaudiocf/../../alsa-kernel/pcmcia/pdaudiocf/pdaudiocf.c:230:2: error: implicit declaration of function 'pcmcia_enable_device' /var/pisi/module-alsa-driver-1.0.23_20101103-64/work/alsa-driver/pcmcia/pdaudiocf/../../alsa-kernel/pcmcia/pdaudiocf/pdaudiocf.c: At top level: /var/pisi/module-alsa-driver-1.0.23_20101103-64/work/alsa-driver/pcmcia/pdaudiocf/../../alsa-kernel/pcmcia/pdaudiocf/pdaudiocf.c:290:2: error: unknown field 'name' specified in initializer /var/pisi/module-alsa-driver-1.0.23_20101103-64/work/alsa-driver/pcmcia/pdaudiocf/../../alsa-kernel/pcmcia/pdaudiocf/pdaudiocf.c:290:2: warning: initialization from incompatible pointer type
*** 7 errors, 1 warnings make[4]: *** [/var/pisi/module-alsa-driver-1.0.23_20101103-64/work/alsa-driver/pcmcia/pdaudiocf/pdaudiocf.o] Hata 1 make[3]: *** [/var/pisi/module-alsa-driver-1.0.23_20101103-64/work/alsa-driver/pcmcia/pdaudiocf] Hata 2 make[2]: *** [/var/pisi/module-alsa-driver-1.0.23_20101103-64/work/alsa-driver/pcmcia] Hata 2 make[1]: *** [_module_/var/pisi/module-alsa-driver-1.0.23_20101103-64/work/alsa-driver] Error 2 make[1]: Leaving directory `/usr/src/linux-headers-2.6.36-145' make: *** [compile] Error 2
Ozan Çağlayan TUBITAK/UEKAE - Pardus Linux http://www.pardus.org.tr/eng