public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Dan Nelson <dan.nelson@pobox.com>
To: gentoo-dev@cvs.gentoo.org
Subject: Re: [gentoo-dev] another kdemultimedia bug?
Date: Thu Oct 18 18:15:02 2001	[thread overview]
Message-ID: <200110190010.TAA96111@mail.clearsail.net> (raw)
In-Reply-To: <200110150247.VAA33699@mail.clearsail.net>

> 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 <sys/errno.h> 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.




  reply	other threads:[~2001-10-19  0:14 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-10 13:39 [gentoo-dev] another kdemultimedia bug? Grant Goodyear
2001-10-10 14:27 ` Dan Armak
2001-10-10 14:55   ` [gentoo-dev] A cuople of questions Jake Bishop
2001-10-14 20:53   ` [gentoo-dev] another kdemultimedia bug? Dan Nelson
2001-10-18 18:15     ` Dan Nelson [this message]
2001-10-19  7:49       ` Dan Armak

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200110190010.TAA96111@mail.clearsail.net \
    --to=dan.nelson@pobox.com \
    --cc=gentoo-dev@cvs.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox