Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 34640 - alsa-tools 0.9.8 fails to compile
Summary: alsa-tools 0.9.8 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-28 11:15 UTC by Paulo M
Modified: 2004-01-16 03:37 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paulo M 2003-11-28 11:15:26 UTC
Can't upgrade alsa-tools from 0.9.1 to 0.9.8
I'm using 2.6.0-test10-mm1 with the ALSA driver selected (for an intel8x0)

Reproducible: Always
Steps to Reproduce:
1. emerge alsa-tools
2.
3.

Actual Results:  
g++ -DPACKAGE=\"hdspmixer\" -DVERSION=\"1.1\" -DSTDC_HEADERS=1
-DHAVE_LIBASOUND=1  -I. -I.   -I/usr/include/fltk-1.1  -I/usr/include/fltk-1.1
-I/usr/include/freetype2 -march=pentium4 -O3 -pipe -fomit-frame-pointer
-I/usr/X11R6/include -fno-exceptions  -c -o hdspmixer.o `test -f hdspmixer.cxx
|| echo './'`hdspmixer.cxx
source='HDSPMixerWindow.cxx' object='HDSPMixerWindow.o' libtool=no \
depfile='.deps/HDSPMixerWindow.Po' tmpdepfile='.deps/HDSPMixerWindow.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
g++ -DPACKAGE=\"hdspmixer\" -DVERSION=\"1.1\" -DSTDC_HEADERS=1
-DHAVE_LIBASOUND=1  -I. -I.   -I/usr/include/fltk-1.1  -I/usr/include/fltk-1.1
-I/usr/include/freetype2 -march=pentium4 -O3 -pipe -fomit-frame-pointer
-I/usr/X11R6/include -fno-exceptions  -c -o HDSPMixerWindow.o `test -f
HDSPMixerWindow.cxx || echo './'`HDSPMixerWindow.cxx
hdspmixer.cxx:27:24: sound/hdsp.h: No such file or directory
In file included from hdspmixer.cxx:31:
HDSPMixerCard.h:28:24: sound/hdsp.h: No such file or directory
In file included from HDSPMixerCard.h:31,
                 from hdspmixer.cxx:31:
HDSPMixerWindow.h:39:24: sound/hdsp.h: No such file or directory
In file included from HDSPMixerWindow.cxx:22:
HDSPMixerWindow.h:39:24: sound/hdsp.h: No such file or directory
In file included from HDSPMixerWindow.h:40,
                 from HDSPMixerWindow.cxx:22:
HDSPMixerCard.h:28:24: sound/hdsp.h: No such file or directory
In file included from HDSPMixerWindow.h:40,
                 from HDSPMixerWindow.cxx:22:
HDSPMixerCard.h:43: syntax error before `cardtype'
HDSPMixerCard.h:45: 'HDSP_IO_Type' is used as a type, but is not defined as a 
   type.
In file included from HDSPMixerIOMixer.h:30,
                 from HDSPMixerInputs.h:26,
                 from HDSPMixerWindow.h:41,
                 from HDSPMixerWindow.cxx:22:
HDSPMixerSelector.h:30:24: sound/hdsp.h: No such file or directory
In file included from HDSPMixerFader.h:31,
                 from HDSPMixerIOMixer.h:32,
                 from HDSPMixerInputs.h:26,
                 from HDSPMixerWindow.h:41,
                 from HDSPMixerWindow.cxx:22:
HDSPMixerOutput.h:28:24: sound/hdsp.h: No such file or directory
In file included from HDSPMixerIOMixer.h:30,
                 from HDSPMixerInputs.h:26,
                 from HDSPMixerWindow.h:41,
                 from HDSPMixerCard.h:31,
                 from hdspmixer.cxx:31:
HDSPMixerSelector.h:30:24: sound/hdsp.h: No such file or directory
In file included from HDSPMixerFader.h:31,
                 from HDSPMixerIOMixer.h:32,
                 from HDSPMixerInputs.h:26,
                 from HDSPMixerWindow.h:41,
                 from HDSPMixerCard.h:31,
                 from hdspmixer.cxx:31:
HDSPMixerOutput.h:28:24: sound/hdsp.h: No such file or directory
HDSPMixerWindow.cxx: In function `void readregisters_cb(void*)':
HDSPMixerWindow.cxx:36: `hdsp_peak_rms_t' undeclared (first use this function)
HDSPMixerWindow.cxx:36: (Each undeclared identifier is reported only once for 
   each function it appears in.)
HDSPMixerWindow.cxx:36: syntax error before `;' token
HDSPMixerWindow.cxx:50: `SNDRV_HDSP_IOCTL_GET_PEAK_RMS' undeclared (first use 
   this function)
HDSPMixerWindow.cxx:50: `peak_rms' undeclared (first use this function)
HDSPMixerWindow.cxx: In member function `void 
   HDSPMixerWindow::restoreDefaults(int)':
HDSPMixerWindow.cxx:496: `class HDSPMixerCard' has no member named `type'
HDSPMixerWindow.cxx:497: `Multiface' undeclared (first use this function)
HDSPMixerWindow.cxx:504: `Digiface' undeclared (first use this function)
HDSPMixerWindow.cxx:511: `H9652' undeclared (first use this function)
In file included from hdspmixer.cxx:31:
HDSPMixerCard.h:43: syntax error before `cardtype'
HDSPMixerCard.h:45: 'HDSP_IO_Type' is used as a type, but is not defined as a 
   type.
hdspmixer.cxx: In function `int main(int, char**)':
hdspmixer.cxx:57: `Multiface' undeclared (first use this function)
hdspmixer.cxx:57: (Each undeclared identifier is reported only once for each 
   function it appears in.)
hdspmixer.cxx:57: initializer list being treated as compound expression
hdspmixer.cxx:61: `Digiface' undeclared (first use this function)
hdspmixer.cxx:61: initializer list being treated as compound expression
hdspmixer.cxx:65: `H9652' undeclared (first use this function)
hdspmixer.cxx:65: initializer list being treated as compound expression
make[1]: *** [hdspmixer.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [HDSPMixerWindow.o] Error 1
make[1]: Leaving directory
`/var/tmp/portage/alsa-tools-0.9.8/work/alsa-tools-0.9.8/hdspmixer/src'
make: *** [all-recursive] Error 1

!!! ERROR: media-sound/alsa-tools-0.9.8 failed.
!!! Function src_compile, Line 46, Exitcode 2
!!! make failed



Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.6.0-test10-mm1)
=================================================================
System uname: 2.6.0-test10-mm1 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 1.80GHz
Gentoo Base System version 1.4.3.10p1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /var/bind /usr/X11R6/lib/X11/xkb
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo
ftp://ftp.easynet.nl/mirror/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 avi crypt encode foomaticdb gif libg++ mad mikmod mpeg ncurses nls
spell xml2 xmms zlib gdbm berkdb slang tcltk gpm tcpd pam libwww python imlib
oggvorbis qt motif opengl X gtk gtk2 -kde -gnome directfb 3dnow sse aalib acpi
alsa apm -arts curl dvd emacs fbcon imap ipv6 java jikes jpeg mmx mozilla pcmcia
pdflib perl png quicktime readline samba sdl ssl svga tetex tiff truetype
trusted usb wmf xv oss cups apache2 mysql video_cards_radeon"
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2003-12-02 15:37:33 UTC
0.9.8 should be used with kernel 2.4

try 1.0.0 rc1
Comment 2 Paulo M 2003-12-02 17:54:38 UTC
Fails to compile also.



Making all in src
make[1]: Entering directory `/var/tmp/portage/alsa-tools-1.0.0_rc1/work/alsa-too
ls-1.0.0rc1/hdspmixer/src'
if g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKA
GE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"hdspmixer\" -DVERSION=\"1.6\
" -DSTDC_HEADERS=1 -DHAVE_LIBASOUND=1  -I. -I.   -I/usr/include/fltk-1.1  -march
=pentium4 -O3 -pipe -fomit-frame-pointer  -I/usr/include/fltk-1.1 -I/usr/include
/freetype2 -march=pentium4 -O3 -pipe -fomit-frame-pointer -I/usr/X11R6/include -
fno-exceptions -MT hdspmixer.o -MD -MP -MF ".deps/hdspmixer.Tpo" \
  -c -o hdspmixer.o `test -f 'hdspmixer.cxx' || echo './'`hdspmixer.cxx; \
then mv -f ".deps/hdspmixer.Tpo" ".deps/hdspmixer.Po"; \
else rm -f ".deps/hdspmixer.Tpo"; exit 1; \
fi
hdspmixer.cxx:27:24: sound/hdsp.h: No such file or directory
In file included from hdspmixer.cxx:31:
HDSPMixerCard.h:28:24: sound/hdsp.h: No such file or directory
In file included from HDSPMixerCard.h:30,
                 from hdspmixer.cxx:31:
HDSPMixerWindow.h:42:24: sound/hdsp.h: No such file or directory
In file included from HDSPMixerIOMixer.h:30,
                 from HDSPMixerInputs.h:26,
                 from HDSPMixerWindow.h:44,
                 from HDSPMixerCard.h:30,
                 from hdspmixer.cxx:31:
HDSPMixerSelector.h:30:24: sound/hdsp.h: No such file or directory
In file included from HDSPMixerFader.h:31,
                 from HDSPMixerIOMixer.h:32,
                 from HDSPMixerInputs.h:26,
                 from HDSPMixerWindow.h:44,
                 from HDSPMixerCard.h:30,
                 from hdspmixer.cxx:31:
HDSPMixerOutput.h:28:24: sound/hdsp.h: No such file or directory
In file included from hdspmixer.cxx:31:
HDSPMixerCard.h:42: syntax error before `cardtype'
HDSPMixerCard.h:44: 'HDSP_IO_Type' is used as a type, but is not defined as a 
   type.
HDSPMixerCard.h:57: 'hdsp_9632_aeb_t' is used as a type, but is not defined as 
   a type.
hdspmixer.cxx: In function `int main(int, char**)':
hdspmixer.cxx:56: `Multiface' undeclared (first use this function)
hdspmixer.cxx:56: (Each undeclared identifier is reported only once for each 
   function it appears in.)
hdspmixer.cxx:56: initializer list being treated as compound expression
hdspmixer.cxx:60: `Digiface' undeclared (first use this function)
hdspmixer.cxx:60: initializer list being treated as compound expression
hdspmixer.cxx:64: `H9652' undeclared (first use this function)
hdspmixer.cxx:64: initializer list being treated as compound expression
hdspmixer.cxx:68: `H9632' undeclared (first use this function)
hdspmixer.cxx:68: initializer list being treated as compound expression
make[1]: *** [hdspmixer.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/alsa-tools-1.0.0_rc1/work/alsa-tool
s-1.0.0rc1/hdspmixer/src'
make: *** [all-recursive] Error 1

!!! ERROR: media-sound/alsa-tools-1.0.0_rc1 failed.
!!! Function src_compile, Line 50, Exitcode 2
!!! make failed
Comment 3 Paulo M 2003-12-02 18:01:04 UTC
Solved problem by making /usr/src/linux point to the 2.6 kernel (linux-beta was there, but wasn't enough).
Comment 4 FcoJavMC 2004-01-16 03:37:08 UTC
> Solved problem by making /usr/src/linux point to the 2.6 kernel (linux-beta was there, but wasn't enough).

(Using kernel-2.4.23 & kernel-2.6.0 in /usr/src/)

This is not correct. I do an "emerge -euD world" It stops to compile at alsa-tools package. I try to do what you say, but it wasn't work.
If you do an "emerge alsa-driver" first then alsa-tools compile without problem.
Bug #34979 explains.
I think it's an automatic dependency bug.