Re: build ALSA debian way?

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

 



<  > <  > Hi,<  > <  > <  > <  > I've compiled new kernel for me 2.6.24.7-rt20 which seems to have a bug<  in<  > <  builded alsa modules (RME Digiface,Multiface).<  > <  > <  > <  ><  > < <  http://sourceforge.net/mailarchive/message.php?msg_id=fmv935%24cls%241%40ger.gmane.org<  > <  > <  > <  > I would like to upgrade alsa modules from 1.0.15 wich coming with kernel<  > <  source to 1.0.17<  > <  > I already builded new kernel without alsa module, but with sound support <  and<  > <  now I would like to build alsa from source.<  > <  > I am using debian based distro so make a debian package would be best for<  me.<  > <  > <  > <  > Is there any way how to do it?<  > <  > I didn't found any new howto which I dare to follow most of them are<  quite<  > <  dated.<  > <  <  > <  # This all assumes that you have Lenny/testing or<  > <  # Sid/unstable in your /etc/apt/sources.list<  > <  <  > <  # If you have compiled a kernel the Debian way:<  > <  <  > <  apt-get install kernel-package build-essential<  > <  <  > <  # (plus some curses development package whose name escapes me)<  > <  <  > <  apt-get linux-source-2.6<  > <  <  > <  # or more specific version of linux-source-2.6 if needed<  > <  <  > <  cd /usr/src<  > <  <  > <  bzip2 -dc linux-source-2.6*tar.bz2|tar -xvf /dev/fd/0<  > <  ln -s <name of newly created linux-source directory> linux<  > <  cd linux<  > <  make menuconfig<  > <  <  > <  # note, you can/should leave alsa active in the kernel<  > <  <  > <  # to get alsa source ready<  > <  <  > <  apt-get alsa-source<  > <  <  > <  cd /usr/src<  > <  <  > <  bzip2 -dc alsa-driver*.tar.bz2|tar -xvf /dev/fd/0<  > <  <  > <  dpkg-reconfigure alsa-source<  > <  <  > <  # this should prompt you for which alsa modules to compile.<  > <  # On a fast machine, all should be fine<  > <  <  > <  # Then to compile the kernel and additional ALSA package, do<  > <  <  > <  cd /usr/src/linux<  > <  make-kpkg --initrd linux-image modules-image<  > <  <  > <  # you then get linux-image*.deb and alsa-modules*.deb<  > <  <  > <  # install them both:<  > <  <  > <  cd /usr/src<  > <  dpkg -i linux-image*.deb alsa-modules*.deb<  > <  <  > <  # and you'll get a new grub entry created for this kernel,<  > <  # which you can select at boot or make default by tweaking<  > <  # /boot/grub/menu.list (assuming grub-legacy)<  > <  <  > <  If you want more Debian-specific help, find the Debian-user mailing list <  > <  either through www.debian.org or as a newsgroup through gmane.org<  > <  <  > <  Hope this helps,<  > <  <  > <  Arthur.<  > <  > Hi,<  > <  > thanks for your reply.<  > I've followed your howto, but on the end of building of alsa-modules*.deb I<  got this output:<  >  <  >   CC [M]  /usr/src/modules/alsa-driver/soc/soc-core.o<  >   CC [M]  /usr/src/modules/alsa-driver/soc/soc-dapm.o<  > In file included from /usr/src/modules/alsa-driver/soc/soc-dapm.c:2:<  > /usr/src/modules/alsa-driver/soc/../alsa-kernel/soc/soc-dapm.c: In function<  ‘dapm_pop_time_store’:<  > /usr/src/modules/alsa-driver/soc/../alsa-kernel/soc/soc-dapm.c:834: error:<  implicit declaration of function ‘strict_strtoul’<  > /usr/src/modules/alsa-driver/soc/../alsa-kernel/soc/soc-dapm.c: At top level:<  > /usr/src/modules/alsa-driver/soc/../alsa-kernel/soc/soc-dapm.c:1043: warning:<  ‘snd_soc_dapm_connect_input’ is deprecated (declared at<  /usr/src/modules/alsa-driver/soc/../alsa-kernel/soc/soc-dapm.c:1040)<  > /usr/src/modules/alsa-driver/soc/../alsa-kernel/soc/soc-dapm.c:1043: warning:<  ‘snd_soc_dapm_connect_input’ is deprecated (declared at<  /usr/src/modules/alsa-driver/soc/../alsa-kernel/soc/soc-dapm.c:1040)<  > make[6]: *** [/usr/src/modules/alsa-driver/soc/soc-dapm.o] Error 1<  > make[5]: *** [/usr/src/modules/alsa-driver/soc] Error 2<  > make[4]: *** [_module_/usr/src/modules/alsa-driver] Error 2<  > make[4]: Leaving directory `/home/mira/linux-2.6.24.7'<  > make[3]: *** [compile] Error 2<  > make[3]: Leaving directory `/usr/src/modules/alsa-driver'<  > make[2]: *** [build-stamp] Error 2<  > make[2]: Leaving directory `/usr/src/modules/alsa-driver'<  > make[1]: *** [kdist_image] Error 2<  > make[1]: Leaving directory `/usr/src/modules/alsa-driver'<  > Module /usr/src/modules/alsa-driver failed.<  > Hit return to Continue<  >  <  > my googling is not very successful <  > <  > any advice?<  <  I'm getting errors in a different spot /-:<  <  My guess is that there are some requirements for compatible alsa-source <  and linux-source versions that we're not familiar with.<  <    CC [M]  /usr/src/modules/alsa-driver/acore/info.o<  /usr/src/modules/alsa-driver/acore/info.c: In function ‘resize_info_buffer’:<  /usr/src/modules/alsa-driver/acore/info.c:90: error: implicit <  declaration of function ‘PAGE_ALIGN’<  make[6]: *** [/usr/src/modules/alsa-driver/acore/info.o] Error 1<  make[5]: *** [/usr/src/modules/alsa-driver/acore] Error 2<  make[4]: *** [_module_/usr/src/modules/alsa-driver] Error 2<  make[4]: Leaving directory `/usr/src/linux-source-2.6.27-rc4'<  make[3]: *** [compile] Error 2<  make[3]: Leaving directory `/usr/src/modules/alsa-driver'<  make[2]: *** [build-stamp] Error 2<  make[2]: Leaving directory `/usr/src/modules/alsa-driver'<  make[1]: *** [kdist_image] Error 2<  make[1]: Leaving directory `/usr/src/modules/alsa-driver'<  Module /usr/src/modules/alsa-driver failed.<  Hit return to Continue<  <  I've filed a bug report using Debian's reportbug:<  <  Bug#501417: Acknowledgement (alsa-source: FTBFS acore/info.c)<  <  You can see this bug at http://bugs.debian.org by entering bug number <  501417 or by the direct URL:<  <  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=501417<  <  It might be worth your while using reportbug also.<  <  Arthur.<  

Thanks for help,actually I saw these these messages many times in last days when I've tried build modules by myself, but I've thought that I am doing something wrong.Now is only possible to wait for updated packages.
Cheers
mira
-------------------------------------------------------------------------This SF.Net email is sponsored by the Moblin Your Move Developer's challengeBuild the coolest Linux based applications with Moblin SDK & win great prizesGrand prize is a trip for two to an Open Source event anywhere in the worldhttp://moblin-contest.org/redirect.php?banner_id=100&url=/_______________________________________________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