I have reported the bug to the alsa team and they have replied (second part of this dialog: basically it says that hdspconf.cxx:27:24: sound/hdsp.h: file or directory doesn't exist: Making all in src make[1]: Entering directory `/var/tmp/portage/alsa-tools-1.0.3/work/alsa-tools-1.0.3/hdspconf/src' if g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"hdspconf\" -DVERSION=\"1.4\" -DSTDC_HEADERS=1 -DHAVE_LIBASOUND=1 -I. -I. -I/usr/include/fltk-1.1 -Os -fomit-frame-pointer -march=athlon-xp -pipe -fforce-addr -fomit-frame-pointer -falign-functions=4 -maccumulate-outgoing-args -I/usr/include/fltk-1.1 -I/usr/include/freetype2 -O3 -march=athlon-xp -funroll-loops -fprefetch-loop-arrays -pipe -I/usr/X11R6/include -fno-exceptions -MT hdspconf.o -MD -MP -MF ".deps/hdspconf.Tpo" \ -c -o hdspconf.o `test -f 'hdspconf.cxx' || echo './'`hdspconf.cxx; \ then mv -f ".deps/hdspconf.Tpo" ".deps/hdspconf.Po"; \ else rm -f ".deps/hdspconf.Tpo"; exit 1; \ fi hdspconf.cxx:27:24: sound/hdsp.h: No existe el fichero o el directorio En el fichero inclu
I have reported the bug to the alsa team and they have replied (second part of this dialog: basically it says that hdspconf.cxx:27:24: sound/hdsp.h: file or directory doesn't exist: Making all in src make[1]: Entering directory `/var/tmp/portage/alsa-tools-1.0.3/work/alsa-tools-1.0.3/hdspconf/src' if g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"hdspconf\" -DVERSION=\"1.4\" -DSTDC_HEADERS=1 -DHAVE_LIBASOUND=1 -I. -I. -I/usr/include/fltk-1.1 -Os -fomit-frame-pointer -march=athlon-xp -pipe -fforce-addr -fomit-frame-pointer -falign-functions=4 -maccumulate-outgoing-args -I/usr/include/fltk-1.1 -I/usr/include/freetype2 -O3 -march=athlon-xp -funroll-loops -fprefetch-loop-arrays -pipe -I/usr/X11R6/include -fno-exceptions -MT hdspconf.o -MD -MP -MF ".deps/hdspconf.Tpo" \ -c -o hdspconf.o `test -f 'hdspconf.cxx' || echo './'`hdspconf.cxx; \ then mv -f ".deps/hdspconf.Tpo" ".deps/hdspconf.Po"; \ else rm -f ".deps/hdspconf.Tpo"; exit 1; \ fi hdspconf.cxx:27:24: sound/hdsp.h: No existe el fichero o el directorio En el fichero incluído de hdspconf.cxx:32: HC_CardPane.h:26:24: sound/hdsp.h: No existe el fichero o el directorio In file included from hdspconf.cxx:32: HC_CardPane.h:60: error: type specifier omitted for parameter `HDSP_IO_Type' HC_CardPane.h:60: error: error de decodificación before `)' token HC_CardPane.h:76: error: 'HDSP_IO_Type' is used as a type, but is not defined as a type. HC_CardPane.h:58: error: base `Fl_Group' con sólo un constructor que no es por defecto en una clase sin un constructor hdspconf.cxx: En function `void refresh_cb(void*)': hdspconf.cxx:50: error: `hdsp_config_info_t' undeclared (first use this function) hdspconf.cxx:50: error: (Each undeclared identifier is reported only once for each function it appears in.) hdspconf.cxx:50: error: error de decodificación before `;' token hdspconf.cxx:64: error: `SNDRV_HDSP_IOCTL_GET_CONFIG_INFO' undeclared (first use this function) hdspconf.cxx:64: error: `config_info' undeclared (first use this function) hdspconf.cxx:77: error: `H9632' undeclared (first use this function) hdspconf.cxx:80: error: `Digiface' undeclared (first use this function) hdspconf.cxx:80: error: `H9652' undeclared (first use this function) hdspconf.cxx: En function `int main(int, char**)': hdspconf.cxx:123: error: `HDSP_IO_Type' undeclared (first use this function) hdspconf.cxx:123: error: error de decodificación before `[' token hdspconf.cxx:156: error: `hdsp_cards' undeclared (first use this function) hdspconf.cxx:156: error: `Multiface' undeclared (first use this function) make[1]: *** [hdspconf.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/alsa-tools-1.0.3/work/alsa-tools-1.0.3/hdspconf/src' make: *** [all-recursive] Error 1 !!! ERROR: media-sound/alsa-tools-1.0.3 failed. !!! Function src_compile, Line 61, Exitcode 2 !!! make failed AND THE ALSA TEAM REPLIES: ---------------------------------------------------------------------- tiwai - 03-03-2004 15:13 CET ---------------------------------------------------------------------- you have to specify the proper path either via --with-kernel or --with-soundbase option of configure script. Reproducible: Always Steps to Reproduce: 1. emerge alsa-tools 2. crash at compile time 3. Actual Results: doesn't compile Expected Results: a well compiled package
what do you get when you run: qpkg -I -v linux-headers
bash-2.05b# qpkg -I -v linux-headers sys-kernel/linux-headers-2.4.19 * sys-kernel/linux-headers-2.6.3-r1 * i'm not planing on using a 2.4 kernel anymore, so I can unmerge 2.4 linux-headers? NOTE: I have just emerged 2.6.3 linux-headers and the compile stops at the same point. Can improve if I delete 2.4?
can you do 'ls -ld /usr/src/linux*' \
lrwxrwxrwx 1 root root 21 mar 6 04:53 /usr/src/linux -> linux-2.6.4-rc1-love3 drwxrwxr-x 19 1046 1046 1496 mar 4 21:26 /usr/src/linux-2.6.3ck1 -rw------- 1 ktech users 34271622 feb 18 15:46 /usr/src/linux-2.6.3.tar.bz2 drwxrwxr-x 19 1046 1046 1296 mar 7 20:17 /usr/src/linux-2.6.4-rc1-love3 I have installed 2.6.4-rc1-love3 yesterday so it's not the problem. I can get alsa-tools installed by following the guidelines in a forum like that: ALSA_TOOLS="ac3dec as10k1 envy24control hdspconf hdsploader hdspmixer mixartloader rmedigicontrol sb16_csp sscape_ctl us428control usx2yloader vxloader" ACCEPT_KEYWORDS="~x86" emerge alsa-tools I think it install all of the alsa-tools package but "hdsp" what is causing the trouble.
i was actually thinking you probably had /usr/src/linux -> some 2.4 kernel as the cause to the problem...
no, i'm using 2.6 kernels only
I was about to open a new bug for alsa-tools 1.0.3 not compiling, but I was able to find a workaround. emerge -v alsa-lib alsa-utils alsa-oss alsa-tools itcl alsa-driver stopped at alsa-tools with the compile error described above. I tried: emerge -v alsa-tools itcl alsa-driver with the same problem. Then I tried: emerge -v itcl alsa-driver which completed correctly. Finally, running: emerge -v alsa-tools worked okay. I am assuming that the dependancy for alsa-tools needs to be changed to require alsa-driver first. It looks like people can continue to use the existing ebuild files as long as they specify alsa-tools last on the command line.
they have virtual/alsa in the DEPEND. I assume youu probably have a 2.6 kernel emerged but not linux-headers-2.6.x which was the problem