kdemultimedia compile fails
Chris Jensen
chris at drspirograph.com
Fri Apr 19 02:42:38 BST 2002
Hi,
I've been trying to compile kdemultimedia 3.0, I've successfully compiled (and
am running) arts, kdebase, libs, utils and network.
I used the following configure
./configure --with-alsa --with-arts-alsa --without-xinerama --enable-objpre
I've tried compiling with alsa beta8a and beta12 but it failed both times
I'd appreciate any help
here's the output from where it went wrong:
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/kde/include
-I/usr/local/lib/qt3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT
-D_REENTRANT -O2 -O3 -march=i686 -mcpu=i686 -fno-exceptions -fno-check-new
-DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -c mixer.cpp -Wp,-MD,.deps/mixer.TPlo
-fPIC -DPIC -o .libs/mixer.o
In file included from mixer_alsa.cpp:23,
from kmix-platforms.cpp:71,
from mixer.cpp:30:
/usr/include/sys/asoundlib.h:1: warning: #warning This header is deprecated,
use <alsa/asoundlib.h> instead.
In file included from mixer_alsa.cpp:25,
from kmix-platforms.cpp:71,
from mixer.cpp:30:
mixer_alsa.h:26: syntax error before `;'
mixer_alsa.h:27: syntax error before `*'
In file included from kmix-platforms.cpp:71,
from mixer.cpp:30:
mixer_alsa.cpp: In method `int Mixer_ALSA::identify(int, const char *)':
mixer_alsa.cpp:33: `SND_MIXER_IN_SYNTHESIZER' undeclared (first use this
function)
mixer_alsa.cpp:33: (Each undeclared identifier is reported only once
mixer_alsa.cpp:33: for each function it appears in.)
mixer_alsa.cpp:34: `SND_MIXER_IN_PCM' undeclared (first use this function)
mixer_alsa.cpp:35: `SND_MIXER_IN_DAC' undeclared (first use this function)
mixer_alsa.cpp:36: `SND_MIXER_IN_FM' undeclared (first use this function)
mixer_alsa.cpp:37: `SND_MIXER_IN_DSP' undeclared (first use this function)
mixer_alsa.cpp:38: `SND_MIXER_IN_LINE' undeclared (first use this function)
mixer_alsa.cpp:39: `SND_MIXER_IN_MIC' undeclared (first use this function)
mixer_alsa.cpp:40: `SND_MIXER_IN_CD' undeclared (first use this function)
mixer_alsa.cpp:41: `SND_MIXER_IN_VIDEO' undeclared (first use this function)
mixer_alsa.cpp:42: `SND_MIXER_IN_RADIO' undeclared (first use this function)
mixer_alsa.cpp:43: `SND_MIXER_IN_PHONE' undeclared (first use this function)
mixer_alsa.cpp:44: `SND_MIXER_IN_MONO' undeclared (first use this function)
mixer_alsa.cpp:45: `SND_MIXER_IN_SPEAKER' undeclared (first use this function)
mixer_alsa.cpp:46: `SND_MIXER_IN_AUX' undeclared (first use this function)
mixer_alsa.cpp:47: `SND_MIXER_IN_CENTER' undeclared (first use this function)
mixer_alsa.cpp:48: `SND_MIXER_IN_WOOFER' undeclared (first use this function)
mixer_alsa.cpp:49: `SND_MIXER_IN_SURROUND' undeclared (first use this
function)
mixer_alsa.cpp:51: `SND_MIXER_OUT_MASTER' undeclared (first use this function)
mixer_alsa.cpp:56: `SND_MIXER_OUT_MASTER_MONO' undeclared (first use this
function)
mixer_alsa.cpp:57: `SND_MIXER_OUT_MASTER_DIGITAL' undeclared (first use this
function)
mixer_alsa.cpp:58: `SND_MIXER_OUT_HEADPHONE' undeclared (first use this
function)
mixer_alsa.cpp:59: `SND_MIXER_OUT_PHONE' undeclared (first use this function)
mixer_alsa.cpp:60: `SND_MIXER_OUT_CENTER' undeclared (first use this function)
mixer_alsa.cpp:61: `SND_MIXER_OUT_WOOFER' undeclared (first use this function)
mixer_alsa.cpp:62: `SND_MIXER_OUT_SURROUND' undeclared (first use this
function)
mixer_alsa.cpp:63: `SND_MIXER_OUT_DSP' undeclared (first use this function)
mixer_alsa.cpp: In method `Mixer_ALSA::Mixer_ALSA(int = -1, int = -1)':
mixer_alsa.cpp:84: class `Mixer_ALSA' does not have any field named `gid'
mixer_alsa.cpp:86: `groups' undeclared (first use this function)
mixer_alsa.cpp: At top level:
mixer_alsa.cpp:95: `snd_mixer_group_t' was not declared in this scope
mixer_alsa.cpp:95: `grp' was not declared in this scope
mixer_alsa.cpp:96: variable or field `printGroup' declared void
mixer_alsa.cpp:96: syntax error before `{'
mixer_alsa.cpp:98: ANSI C++ forbids declaration `kdDebug' with no type
mixer_alsa.cpp: In function `int kdDebug()':
mixer_alsa.cpp:98: parse error before `<'
mixer_alsa.cpp:100: `grp' undeclared (first use this function)
mixer_alsa.cpp:100: parse error before `;'
mixer_alsa.cpp:100: syntax error before `++'
mixer_alsa.cpp:103: ANSI C++ forbids declaration `kdDebug' with no type
mixer_alsa.cpp: In function `int kdDebug()':
mixer_alsa.cpp:103: redefinition of `int kdDebug()'
mixer_alsa.cpp:98: `int kdDebug()' previously defined here
mixer_alsa.cpp: In function `int kdDebug()':
mixer_alsa.cpp:103: parse error before `<'
mixer_alsa.cpp:104: ANSI C++ forbids declaration `kdDebug' with no type
mixer_alsa.cpp: In function `int kdDebug()':
mixer_alsa.cpp:104: redefinition of `int kdDebug()'
mixer_alsa.cpp:103: `int kdDebug()' previously defined here
mixer_alsa.cpp: In function `int kdDebug()':
mixer_alsa.cpp:104: parse error before `<'
mixer_alsa.cpp:105: ANSI C++ forbids declaration `kdDebug' with no type
mixer_alsa.cpp: In function `int kdDebug()':
mixer_alsa.cpp:105: redefinition of `int kdDebug()'
mixer_alsa.cpp:104: `int kdDebug()' previously defined here
mixer_alsa.cpp: In function `int kdDebug()':
mixer_alsa.cpp:105: parse error before `<'
mixer_alsa.cpp:106: ANSI C++ forbids declaration `kdDebug' with no type
mixer_alsa.cpp: In function `int kdDebug()':
mixer_alsa.cpp:106: redefinition of `int kdDebug()'
mixer_alsa.cpp:105: `int kdDebug()' previously defined here
mixer_alsa.cpp: In function `int kdDebug()':
mixer_alsa.cpp:106: parse error before `<'
mixer_alsa.cpp:107: ANSI C++ forbids declaration `kdDebug' with no type
mixer_alsa.cpp: In function `int kdDebug()':
mixer_alsa.cpp:107: redefinition of `int kdDebug()'
mixer_alsa.cpp:106: `int kdDebug()' previously defined here
mixer_alsa.cpp: In function `int kdDebug()':
mixer_alsa.cpp:107: parse error before `<'
mixer_alsa.cpp:108: ANSI C++ forbids declaration `kdDebug' with no type
mixer_alsa.cpp: In function `int kdDebug()':
mixer_alsa.cpp:108: redefinition of `int kdDebug()'
mixer_alsa.cpp:107: `int kdDebug()' previously defined here
mixer_alsa.cpp: In function `int kdDebug()':
mixer_alsa.cpp:108: parse error before `<'
mixer_alsa.cpp:109: ANSI C++ forbids declaration `kdDebug' with no type
mixer_alsa.cpp: In function `int kdDebug()':
mixer_alsa.cpp:109: redefinition of `int kdDebug()'
mixer_alsa.cpp:108: `int kdDebug()' previously defined here
mixer_alsa.cpp: In function `int kdDebug()':
mixer_alsa.cpp:109: parse error before `<'
mixer_alsa.cpp:110: ANSI C++ forbids declaration `kdDebug' with no type
mixer_alsa.cpp: In function `int kdDebug()':
mixer_alsa.cpp:110: redefinition of `int kdDebug()'
mixer_alsa.cpp:109: `int kdDebug()' previously defined here
mixer_alsa.cpp: In function `int kdDebug()':
mixer_alsa.cpp:110: parse error before `<'
mixer_alsa.cpp:111: ANSI C++ forbids declaration `kdDebug' with no type
mixer_alsa.cpp: In function `int kdDebug()':
mixer_alsa.cpp:111: redefinition of `int kdDebug()'
mixer_alsa.cpp:110: `int kdDebug()' previously defined here
mixer_alsa.cpp: In function `int kdDebug()':
mixer_alsa.cpp:111: parse error before `<'
mixer_alsa.cpp:112: ANSI C++ forbids declaration `kdDebug' with no type
mixer_alsa.cpp: In function `int kdDebug()':
mixer_alsa.cpp:112: redefinition of `int kdDebug()'
mixer_alsa.cpp:111: `int kdDebug()' previously defined here
mixer_alsa.cpp: In function `int kdDebug()':
mixer_alsa.cpp:112: parse error before `<'
mixer_alsa.cpp:113: ANSI C++ forbids declaration `kdDebug' with no type
mixer_alsa.cpp: In function `int kdDebug()':
mixer_alsa.cpp:113: redefinition of `int kdDebug()'
mixer_alsa.cpp:112: `int kdDebug()' previously defined here
mixer_alsa.cpp: In function `int kdDebug()':
mixer_alsa.cpp:113: parse error before `<'
mixer_alsa.cpp:114: ANSI C++ forbids declaration `kdDebug' with no type
mixer_alsa.cpp: In function `int kdDebug()':
mixer_alsa.cpp:114: redefinition of `int kdDebug()'
mixer_alsa.cpp:113: `int kdDebug()' previously defined here
mixer_alsa.cpp: In function `int kdDebug()':
mixer_alsa.cpp:114: parse error before `<'
mixer_alsa.cpp:115: ANSI C++ forbids declaration `kdDebug' with no type
mixer_alsa.cpp: In function `int kdDebug()':
mixer_alsa.cpp:115: redefinition of `int kdDebug()'
mixer_alsa.cpp:114: `int kdDebug()' previously defined here
mixer_alsa.cpp: In function `int kdDebug()':
mixer_alsa.cpp:115: parse error before `<'
mixer_alsa.cpp: In method `int Mixer_ALSA::openMixer()':
mixer_alsa.cpp:130: implicit declaration of function `int
snd_defaults_mixer_card(...)'
mixer_alsa.cpp:131: implicit declaration of function `int
snd_defaults_mixer_device(...)'
/usr/include/alsa/mixer.h:84: too many arguments to function `int
snd_mixer_open(snd_mixer_t **, int)'
mixer_alsa.cpp:134: at this point in file
mixer_alsa.cpp:139: implicit declaration of function `int
snd_mixer_groups(...)'
mixer_alsa.cpp:143: `snd_mixer_gid_t' undeclared (first use this function)
mixer_alsa.cpp:143: parse error before `)'
mixer_alsa.cpp:152: `gid' undeclared (first use this function)
mixer_alsa.cpp:155: `snd_mixer_group_t' undeclared (first use this function)
mixer_alsa.cpp:155: parse error before `;'
mixer_alsa.cpp:156: `group' undeclared (first use this function)
mixer_alsa.cpp:158: implicit declaration of function `int
snd_mixer_group_read(...)'
mixer_alsa.cpp:167: `SND_MIXER_GRPCAP_VOLUME' undeclared (first use this
function)
mixer_alsa.cpp:171: `SND_MIXER_GRPCAP_CAPTURE' undeclared (first use this
function)
mixer_alsa.cpp:196: `snd_mixer_info_t' undeclared (first use this function)
mixer_alsa.cpp:196: parse error before `;'
mixer_alsa.cpp:197: `info' undeclared (first use this function)
mixer_alsa.cpp:197: implicit declaration of function `int snd_mixer_info(...)'
mixer_alsa.cpp: In method `bool Mixer_ALSA::isRecsrcHW(int)':
mixer_alsa.cpp:217: parse error before `;'
mixer_alsa.cpp:222: `SND_MIXER_CHN_MASK_FRONT_LEFT' undeclared (first use this
function)
mixer_alsa.cpp: In method `bool Mixer_ALSA::setRecsrcHW(int, bool)':
/usr/include/alsa/mixer.h:84: too many arguments to function `int
snd_mixer_open(snd_mixer_t **, int)'
mixer_alsa.cpp:227: at this point in file
mixer_alsa.cpp:231: parse error before `;'
mixer_alsa.cpp:242: implicit declaration of function `int
snd_mixer_group_write(...)'
mixer_alsa.cpp: In method `int Mixer_ALSA::readVolumeFromHW(int, Volume &)':
mixer_alsa.cpp:265: parse error before `;'
mixer_alsa.cpp: In method `int Mixer_ALSA::writeVolumeToHW(int, Volume)':
/usr/include/alsa/mixer.h:84: too many arguments to function `int
snd_mixer_open(snd_mixer_t **, int)'
mixer_alsa.cpp:307: at this point in file
mixer_alsa.cpp:311: parse error before `;'
In file included from mixer_oss.cpp:28,
from kmix-platforms.cpp:75,
from mixer.cpp:30:
/usr/include/sys/stat.h:200: non-local function `int stat(const char *,
Mixer_ALSA::writeVolumeToHW(int, Volume)::stat *)' uses local type
`Mixer_ALSA::writeVolumeToHW(int, Volume)::stat'
/usr/include/sys/stat.h:204: non-local function `int fstat(int,
Mixer_ALSA::writeVolumeToHW(int, Volume)::stat *)' uses local type
`Mixer_ALSA::writeVolumeToHW(int, Volume)::stat'
/usr/include/sys/stat.h:228: non-local function `int lstat(const char *,
Mixer_ALSA::writeVolumeToHW(int, Volume)::stat *)' uses local type
`Mixer_ALSA::writeVolumeToHW(int, Volume)::stat'
/usr/include/sys/stat.h:305: non-local function `int __fxstat(int, int,
Mixer_ALSA::writeVolumeToHW(int, Volume)::stat *)' uses local type
`Mixer_ALSA::writeVolumeToHW(int, Volume)::stat'
/usr/include/sys/stat.h:307: non-local function `int __xstat(int, const char
*, Mixer_ALSA::writeVolumeToHW(int, Volume)::stat *)' uses local type
`Mixer_ALSA::writeVolumeToHW(int, Volume)::stat'
/usr/include/sys/stat.h:309: non-local function `int __lxstat(int, const char
*, Mixer_ALSA::writeVolumeToHW(int, Volume)::stat *)' uses local type
`Mixer_ALSA::writeVolumeToHW(int, Volume)::stat'
/usr/include/sys/stat.h:344: non-local function `int stat(const char *,
Mixer_ALSA::writeVolumeToHW(int, Volume)::stat *)' uses local type
`Mixer_ALSA::writeVolumeToHW(int, Volume)::stat'
/usr/include/sys/stat.h: In function `int stat(const char *,
Mixer_ALSA::writeVolumeToHW(int, Volume)::stat *)':
/usr/include/sys/stat.h:346: confused by earlier errors, bailing out
make[3]: *** [mixer.lo] Error 1
make[3]: Leaving directory `/usr/src/kdemultimedia-3.0/kmix'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/kdemultimedia-3.0/kmix'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/kdemultimedia-3.0'
make: *** [all] Error 2
--
Chris Jensen
chris at drspirograph.com
Public Key: http://drspirograph.com/public_key/
Wait: Did you know that there's a direct correlation between the decline of
Spirograph and the rise in gang activity? Think about it.
- Dr Spirograph (The Simpsons)
___________________________________________________
This message is from the kde mailing list.
Account management: http://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.
More information about the kde
mailing list