From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on finch.gentoo.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=DATE_IN_PAST_24_48,DMARC_NONE, INVALID_DATE,MAILING_LIST_MULTI autolearn=no autolearn_force=no version=4.0.0 Received: from mail.clearsail.net ([207.252.227.3]) by cvs.gentoo.org with esmtp (Exim 3.30 #1) id 15uNJG-0001LD-00 for gentoo-dev@cvs.gentoo.org; Thu, 18 Oct 2001 18:14:47 -0600 Received: from there (A060-0723.MINN.splitrock.net [209.254.185.215]) by mail.clearsail.net (8.9.3/8.9.3) with SMTP id TAA96111 for ; Thu, 18 Oct 2001 19:10:06 -0500 (CDT) Message-Id: <200110190010.TAA96111@mail.clearsail.net> Content-Type: text/plain; charset="iso-8859-1" From: Dan Nelson To: gentoo-dev@cvs.gentoo.org Subject: Re: [gentoo-dev] another kdemultimedia bug? X-Mailer: KMail [version 1.3.1] References: <20011010153859.H2138@red.ces.clemson.edu> <01101023294101.00805@desktop.dan.net> <200110150247.VAA33699@mail.clearsail.net> In-Reply-To: <200110150247.VAA33699@mail.clearsail.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: gentoo-dev-admin@cvs.gentoo.org Errors-To: gentoo-dev-admin@cvs.gentoo.org X-BeenThere: gentoo-dev@cvs.gentoo.org X-Mailman-Version: 2.0 Precedence: bulk Reply-To: gentoo-dev@cvs.gentoo.org List-Help: List-Post: List-Subscribe: , List-Id: Gentoo Linux development list List-Unsubscribe: , List-Archive: Date: Thu Oct 18 18:15:02 2001 X-Original-Date: Thu, 18 Oct 2001 19:14:58 -0500 X-Archives-Salt: b5c03ed5-dd6f-4c89-b698-7d1f9ad9147a X-Archives-Hash: 774ebf8e84610001be5cfb521d6bfdc1 > Okay, I have the same problem Grant has. It is probably related to Alsa. > I modified the motif _p source file to include sys/errno.h. The later > errors are as follows: > > alsa_a.cpp: In function `int set_playback_info(void *, uint32 *, uint32 *, > const long int *)': > alsa_a.cpp:287: ANSI C++ forbids implicit conversion from `void *' in > argument passing > alsa_a.cpp:429: ANSI C++ forbids implicit conversion from `void *' in > argument passing > alsa_a.cpp:435: ANSI C++ forbids implicit conversion from `void *' in > argument passing > alsa_a.cpp:451: ANSI C++ forbids implicit conversion from `void *' in > argument passing > alsa_a.cpp:459: ANSI C++ forbids implicit conversion from `void *' in > argument passing > alsa_a.cpp:469: ANSI C++ forbids implicit conversion from `void *' in > argument passing > make[3]: *** [alsa_a.o] Error 1 Found the problem. kdemultimedia compiled on my box and the multimedia components work now. The problem is a known KDE bug - http://bugs.kde.org/db/27/27332.html. After putting in the fix, everything compiled well. The two fixes are: Grant's motif_p.c fix - Add #include to the top of motif_p.c KDE's fix is to modify line 257 of alsa_a.cpp Replace static int set_playback_info (void* handle__, ....... ) with static int set_playback_info (snd_pcm_t* handle__, ....... ) I'd give you a diff, but have never done one and figured you would probably want to run through this one anyway. Thanks for a great distribution.