[Alsa-user] Compiling alsa-driver on Fedora 7
Brought to you by:
perex
From: nikosapi <nik...@gm...> - 2007-07-31 03:34:06
|
Hello, I have a Lenovo 3000 V200 which doesn't mute the built-in speakers when I p= lug=20 in headphones. It uses the snd_hda_intel kernel module and alsamixer says i= t=20 has a Conexant CX20549 (Venice) chipset. Looking through the bug reports I found bug 2933 which seems to be similar = to=20 mine and the solution was to upgrade to alsa-driver version 1.0.14. Sadly=20 =46edora 7 uses 1.0.14rc3 which apparently isn't new enough. I've tried compiling the 1.0.14 and latest hg driver myself with no avail. = I=20 have both the kernel-headers and kernel-devel packages installed, naturally= =20 they match my running kernel. Now, getting to the error... Attached to the= =20 bottom of this message is what happens shortly after it starts compiling. F= or=20 a non-linewrapped version go here: http://pastebin.ca/640138 Please help, nick P.S. If it helps here's /proc/asound/card0/codec#0: http://pastebin.ca/6401= 39 make -C /lib/modules/2.6.22.1-27.fc7/source=20 SUBDIRS=3D/home/nikosapi/sources/alsa/alsa-driver=20 O=3D/lib/modules/2.6.22.1-27.fc7/build CPP=3D"gcc -E" CC=3D"gcc" modules make[1]: Entering directory `/usr/src/kernels/2.6.22.1-27.fc7-i686' CC [M] /home/nikosapi/sources/alsa/alsa-driver/acore/hwdep.o In file included=20 from /home/nikosapi/sources/alsa/alsa-driver/include/sound/driver.h:47, =20 from /home/nikosapi/sources/alsa/alsa-driver/acore/hwdep.c:23: /home/nikosapi/sources/alsa/alsa-driver/include/adriver.h:814: error: stati= c=20 declaration of =E2=80=98jiffies_to_msecs=E2=80=99 follows non-static declar= ation include/linux/jiffies.h:264: error: previous declaration of =E2=80=98jiffie= s_to_msecs=E2=80=99=20 was here /home/nikosapi/sources/alsa/alsa-driver/include/adriver.h:833: error: stati= c=20 declaration of =E2=80=98msecs_to_jiffies=E2=80=99 follows non-static declar= ation include/linux/jiffies.h:266: error: previous declaration of =E2=80=98msecs_= to_jiffies=E2=80=99=20 was here In file included=20 from /home/nikosapi/sources/alsa/alsa-driver/include/adriver.h:931, =20 from /home/nikosapi/sources/alsa/alsa-driver/include/sound/driver.h:47, =20 from /home/nikosapi/sources/alsa/alsa-driver/acore/hwdep.c:23: include/linux/pci.h:551: error: expected identifier or =E2=80=98(=E2=80=99 = before numeric=20 constant In file included=20 from /home/nikosapi/sources/alsa/alsa-driver/include/sound/driver.h:47, =20 from /home/nikosapi/sources/alsa/alsa-driver/acore/hwdep.c:23: /home/nikosapi/sources/alsa/alsa-driver/include/adriver.h: In=20 function =E2=80=98snd_pci_orig_save_state=E2=80=99: /home/nikosapi/sources/alsa/alsa-driver/include/adriver.h:1172: error: too= =20 many arguments to function =E2=80=98pci_save_state=E2=80=99 /home/nikosapi/sources/alsa/alsa-driver/include/adriver.h: In=20 function =E2=80=98snd_pci_orig_restore_state=E2=80=99: /home/nikosapi/sources/alsa/alsa-driver/include/adriver.h:1176: error: too= =20 many arguments to function =E2=80=98pci_restore_state=E2=80=99 make[4]: *** [/home/nikosapi/sources/alsa/alsa-driver/acore/hwdep.o] Error 1 make[3]: *** [/home/nikosapi/sources/alsa/alsa-driver/acore] Error 2 make[2]: *** [_module_/home/nikosapi/sources/alsa/alsa-driver] Error 2 make[1]: *** [modules] Error 2 make[1]: Leaving directory `/usr/src/kernels/2.6.22.1-27.fc7-i686' make: *** [compile] Error 2 |