From alsa-devel-owner@alsa.jcu.cz  Sat Dec 12 14:50:33 1998
Received: from gwyn.tux.org (gwyn.tux.org [207.96.122.8])
	by marvin.jcu.cz (8.9.1a/8.9.1) with ESMTP id OAA30608
	for <alsa-devel@alsa.jcu.cz>; Sat, 12 Dec 1998 14:49:47 +0100
Received: from localhost (chessman@localhost)
	by gwyn.tux.org (8.9.1/8.9.1) with ESMTP id IAA16442
	for <alsa-devel@alsa.jcu.cz>; Sat, 12 Dec 1998 08:49:45 -0500
Date: Sat, 12 Dec 1998 08:49:45 -0500 (EST)
From: Samuel S Chessman <chessman@tux.org>
To: ALSA devel mailinglist <alsa-devel@alsa.jcu.cz>
Subject: Can't compile alsa-lib++ (latest CVS) on RH5.2
In-Reply-To: <Pine.LNX.3.96.981210214534.5662F-100000@entry.jcu.cz>
Message-ID: <Pine.LNX.4.04.9812120844090.16256-100000@gwyn.tux.org>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Reply-To: alsa-devel@alsa.jcu.cz
Sender: alsa-devel-owner@alsa.jcu.cz
Precedence: list


When I make alsa-lib++; I get the following error.
Latest CVS, c++ version gcc version egcs-2.91.57 19980901 (egcs-1.1 release)
RH 5.2, everything else builds fine.

Sam Chessman
--------------------------------------------------------------

make[1]: Entering directory `/opt3/src/alsa/alsa-lib++/src'
/bin/sh ../libtool --mode=compile c++ -DPACKAGE=\"alsa-lib++\" -DVERSION=\"0.0.1\" -DHAVE_LIBASOUND=1  -I. -I.  -I../include  -g -O2 -c Mixer.cc
c++ -DPACKAGE=\"alsa-lib++\" -DVERSION=\"0.0.1\" -DHAVE_LIBASOUND=1 -I. -I. -I../include -g -O2 -Wp,-MD,.deps/Mixer.p -c -fPIC -DPIC Mixer.cc
Mixer.cc: In method `Mixer::Mixer(nrOfCardsType = 0, nrOfDevType = 0)':
Mixer.cc:49: parse error before `{'
Mixer.cc: In method `const int Mixer::updateChanges() const':
Mixer.cc:69: warning: passing `const snd_mixer_callbacks_t *' as argument 2 of `snd_mixer_read(void *, snd_mixer_callbacks_t *)' discards const
Mixer.cc: At top level:
Mixer.cc:75: prototype for `void Mixer::issueChannelCallback(void *, class Channel &)' does not match any in class `Mixer'
../include/Mixer.h:48: candidate is: static void Mixer::issueChannelCallback(void *, nrOfDevType)
Mixer.cc:75: warning: cannot declare member function `Mixer::issueChannelCallback(void *, Channel &)' to have static linkage
Mixer.cc: In method `void Mixer::issueChannelCallback(void *, class Channel &)':
Mixer.cc:77: warning: invalid use of type decl `class Channel' as expression
Mixer.cc:77: no match for `Channel[Channel &]'
Mixer.cc: At top level:
Mixer.cc:81: warning: cannot declare member function `Mixer::issueSwitchCallback(void *, nrOfDevType)' to have static linkage
Mixer.cc:87: virtual outside class declaration
Mixer.cc:95: virtual outside class declaration
make[1]: *** [Mixer.lo] Error 1
make[1]: Leaving directory `/opt3/src/alsa/alsa-lib++/src'
make: *** [all-recursive] Error 1


--------------------------------------------------------------------------------
   Sam Chessman              "E Pluribus Linux"              chessman@tux.org
                 


