Gentoo Archives: gentoo-dev

From: Dan Nelson <dan.nelson@×××××.com>
To: gentoo-dev@××××××××××.org
Subject: Re: [gentoo-dev] another kdemultimedia bug?
Date: Thu, 18 Oct 2001 18:14:47
Message-Id: 200110190010.TAA96111@mail.clearsail.net
In Reply to: Re: [gentoo-dev] another kdemultimedia bug? by Dan Nelson
1 > Okay, I have the same problem Grant has. It is probably related to Alsa.
2 > I modified the motif _p source file to include sys/errno.h. The later
3 > errors are as follows:
4 >
5 > alsa_a.cpp: In function `int set_playback_info(void *, uint32 *, uint32 *,
6 > const long int *)':
7 > alsa_a.cpp:287: ANSI C++ forbids implicit conversion from `void *' in
8 > argument passing
9 > alsa_a.cpp:429: ANSI C++ forbids implicit conversion from `void *' in
10 > argument passing
11 > alsa_a.cpp:435: ANSI C++ forbids implicit conversion from `void *' in
12 > argument passing
13 > alsa_a.cpp:451: ANSI C++ forbids implicit conversion from `void *' in
14 > argument passing
15 > alsa_a.cpp:459: ANSI C++ forbids implicit conversion from `void *' in
16 > argument passing
17 > alsa_a.cpp:469: ANSI C++ forbids implicit conversion from `void *' in
18 > argument passing
19 > make[3]: *** [alsa_a.o] Error 1
20
21 Found the problem. kdemultimedia compiled on my box and the multimedia
22 components work now. The problem is a known KDE bug -
23 http://bugs.kde.org/db/27/27332.html. After putting in the fix, everything
24 compiled well. The two fixes are:
25
26 Grant's motif_p.c fix - Add #include <sys/errno.h> to the top of motif_p.c
27
28 KDE's fix is to modify line 257 of alsa_a.cpp
29 Replace static int set_playback_info (void* handle__, ....... )
30 with static int set_playback_info (snd_pcm_t* handle__, ....... )
31
32 I'd give you a diff, but have never done one and figured you would probably
33 want to run through this one anyway.
34
35 Thanks for a great distribution.

Replies

Subject Author
Re: [gentoo-dev] another kdemultimedia bug? Dan Armak <danarmak@g.o>