Announcement

Collapse
No announcement yet.

ALSA driver compilation problem - missing compile.h???

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    ALSA driver compilation problem - missing compile.h???

    I installed 'Gutsy Gibbon' Kubuntu - first time I install Linux. The vendor of my laptop (Zepto) say my sound will work if I update the ALSA driver. So I updated to 1.0.15 following their instructions.
    Not a sound.

    I studied the Soundtroubleshooting page at https://help.ubuntu.com/community/SoundTroubleshooting and the troubleshooting page at http://alsa.opensrc.org/index.php/TroubleShooting and more....
    I have done sudo apt-get install libncurses5-dev build-essential ncurses-dev gettext linux-headers-`uname -r` and they ran without error (say nothing needs updating when I do it again).
    lspci –v correctly reports the 82801H IHC8 audio controller.
    The file snd_hda_intel.ko is actually put in /lib/modules/2.6.22-14-generic/kernel/sound/pci/hda/ when make install runs.
    But /var/log/messages tells me that snd_hda_intel has unknown symbols and 'disagrees about versions of symbols'. Many.
    And in the config.log produced by sudo ./configure --with-cards=hda-intel --with-oss=yes there is an information that I suspect to be crucial:
    configure:4805: gcc -o conftest -g -O2 -I/lib/modules/2.6.22-14-generic/build/include conftest.c >&5
    conftest.c:14:72: error: /lib/modules/2.6.22-14-generic/build/include/linux/compile.h: No such file or directory
    That directory contains compiler.h, but no compile.h.

    Can anyone tell me: is this the root cause of my trouble? Is the missing compile.h supposed to be part of the distro or part of the linux-headers I've installed or how is it expected to end up where it should? Thankful for any advice!
    ----------------
    My compilation problem was never solved, but precompiled drivers are now available:
    #!/bin/bash
    sudo apt-get install linux-backports-modules
    sudo echo "options snd-hda-intel model=toshiba" | sudo tee -a /etc/modprobe.d/alsa-base
    sudo reboot
    (thanks a lot to 'jronnholm')
Working...
X