On Wed, 2011-06-08 at 03:58 +0200, Robin Gareus wrote: > On 06/08/2011 03:26 AM, Ralf Mardorf wrote: > > On Tue, 2011-06-07 at 21:54 +0200, Robin Gareus wrote: > >> Here's a pragmatic way to make a .deb of libasound2 - alsa-lib-1.0.24.1 > [SNIP] > > In general cool :) thank you very much, but for now unfortunately the > > Debian source is incomplete > > `debuild -b ..` - only builds binary packages. > > Unless you want to re-distribute it there's no need to create a source > package. Why care? > > > the tools are also incomplete. > > The tools are from "alsa-tools". They don't come with alsa-lib (aka > libasound2). It's a separate package and separate source-tree. > > [SNIP] > > > HDSPMixerCard.h:29:30: fatal error: alsa/sound/hdspm.h: No such file or > > directory > > compilation terminated. > > Is there a /usr/include/alsa/sound/hdspm.h ? it should come with > libasound2-dev: > > dpkg --contents /tmp/libasound2-dev_1.0.24.1-1_i386.deb | grep hdsp > [..] ./usr/include/alsa/sound/hdspm.h > [..] ./usr/include/alsa/sound/hdsp.h > > Did the `sudo dpkg -i *asound2*.deb` succeed? dpkg is a bit picky about > the order or the packages; in particular if -dev package of previous > versions were installed. but dpkg will tell you. > > Just copy/paste/re-order the .deb file-names one at a time (instead of > using the *asound2*.deb wildcard) until dpkg is happy > > dpkg -i libasound2_1.0.24.1-1_i386.deb > dpkg -i libasound2-dev_1.0.24.1-1_i386.deb > > or use the '--force-depends' option of dpkg to ignore conflicts. > > > > root@debian:/tmp/alsa-tools-1.0.24.1/hdspmixer# > > ls /usr/src/linux-headers-2.6.39.1/include/sound/hdspm.h -l > > -rw-r--r-- 1 root root 5464 Jun 3 > > 02:34 /usr/src/linux-headers-2.6.39.1/include/sound/hdspm.h > > Carefully read the compiler output. > alsa/sound/hdspm.h: No such file or directory > > The missing file is /usr/include/alsa/sound/hdspm.h > It comes from alsa-lib and has nothing to do with linux-kernel headers. So the content of hdspm.h by the linux headers is different to the content of hdspm.h provided by alsa-lib? ;) Seriously, if it shouldn't differ, why should I add alsa-lib, instead of adding a soft link? > > g'night, > robin Same timezone? Good night! Ralf _______________________________________________ Linux-audio-user mailing list Linux-audio-user@xxxxxxxxxxxxxxxxxxxx http://lists.linuxaudio.org/listinfo/linux-audio-user