Compiling alsa-driver on Fedora 7

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

 



Hello,
I have a Lenovo 3000 V200 which doesn't mute the built-in speakers when I plug in headphones. It uses the snd_hda_intel kernel module and alsamixer says it has a Conexant CX20549 (Venice) chipset.
Looking through the bug reports I found bug 2933 which seems to be similar to mine and the solution was to upgrade to alsa-driver version 1.0.14. Sadly Fedora 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 have both the kernel-headers and kernel-devel packages installed, naturally they match my running kernel. Now, getting to the error... Attached to the bottom of this message is what happens shortly after it starts compiling. For 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/640139



make -C /lib/modules/2.6.22.1-27.fc7/source SUBDIRS=/home/nikosapi/sources/alsa/alsa-driver O=/lib/modules/2.6.22.1-27.fc7/build CPP="gcc -E" CC="gcc" modulesmake[1]: Entering directory `/usr/src/kernels/2.6.22.1-27.fc7-i686'  CC [M]  /home/nikosapi/sources/alsa/alsa-driver/acore/hwdep.oIn file included from /home/nikosapi/sources/alsa/alsa-driver/include/sound/driver.h:47,                 from /home/nikosapi/sources/alsa/alsa-driver/acore/hwdep.c:23:/home/nikosapi/sources/alsa/alsa-driver/include/adriver.h:814: error: static declaration of ‘jiffies_to_msecs’ follows non-static declarationinclude/linux/jiffies.h:264: error: previous declaration of ‘jiffies_to_msecs’ was here/home/nikosapi/sources/alsa/alsa-driver/include/adriver.h:833: error: static declaration of ‘msecs_to_jiffies’ follows non-static declarationinclude/linux/jiffies.h:266: error: previous declaration of ‘msecs_to_jiffies’ was hereIn file included from /home/nikosapi/sources/alsa/alsa-driver/include/adriver.h:931,                 from /home/nikosapi/sources/alsa/alsa-driver/include/sound/driver.h:47,                 from /home/nikosapi/sources/alsa/alsa-driver/acore/hwdep.c:23:include/linux/pci.h:551: error: expected identifier or ‘(’ before numeric constantIn file included from /home/nikosapi/sources/alsa/alsa-driver/include/sound/driver.h:47,                 from /home/nikosapi/sources/alsa/alsa-driver/acore/hwdep.c:23:/home/nikosapi/sources/alsa/alsa-driver/include/adriver.h: In function ‘snd_pci_orig_save_state’:/home/nikosapi/sources/alsa/alsa-driver/include/adriver.h:1172: error: too many arguments to function ‘pci_save_state’/home/nikosapi/sources/alsa/alsa-driver/include/adriver.h: In function ‘snd_pci_orig_restore_state’:/home/nikosapi/sources/alsa/alsa-driver/include/adriver.h:1176: error: too many arguments to function ‘pci_restore_state’make[4]: *** [/home/nikosapi/sources/alsa/alsa-driver/acore/hwdep.o] Error 1make[3]: *** [/home/nikosapi/sources/alsa/alsa-driver/acore] Error 2make[2]: *** [_module_/home/nikosapi/sources/alsa/alsa-driver] Error 2make[1]: *** [modules] Error 2make[1]: Leaving directory `/usr/src/kernels/2.6.22.1-27.fc7-i686'make: *** [compile] Error 2
-------------------------------------------------------------------------This SF.net email is sponsored by: Splunk Inc.Still grepping through log files to find problems?  Stop.Now Search log events and configuration files using AJAX and a browser.Download your FREE copy of Splunk now >>  http://get.splunk.com/_______________________________________________Alsa-user mailing listAlsa-user@xxxxxxxxxxxxxxxxxxxxxxxxxx://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