* [gentoo-dev] another kdemultimedia bug?
@ 2001-10-10 13:39 Grant Goodyear
2001-10-10 14:27 ` Dan Armak
0 siblings, 1 reply; 6+ messages in thread
From: Grant Goodyear @ 2001-10-10 13:39 UTC (permalink / raw
To: gentoo-dev
When emergeing kdemultimedia-2.2.1 the compile failed with
motif_p.c: In function `motif_pipe_error':
motif_p.c:58: `errno' undeclared (first use in this function)
motif_p.c:58: (Each undeclared identifier is reported only once
motif_p.c:58: for each function it appears in.)
make[3]: *** [motif_p.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/kdemultimedia-2.2.1-r1/work/kdemultimedia-2.2.1/kmidi/TIMIDITY'
I hacked motif_p.c by adding a "#include <sys/errno.h>" line at the
top, and it went merrily along its way until crashing out at the
now-well-known alsa bug (although I had to hack lines 429, 435,
459, and 469 to get them to work). Has anybody else seen the first
error? My USE variables are
USE="slang readline gpm berkdb gdbm tcpd pam libwww ssl
lm_sensors lvm pcmcia-cs alsa
nls mmx mitshm
esd lcms gif sdl vorbis ogg
gnome gtk X qt kde motif opengl mozilla
perl python tcltk objprelink tex"
Thanks,
Grant
--
___________________________________________________________________
| Grant Goodyear | The Secrets of Physics: |
| Dept. of Chemistry - Clemson U |1. Add zero. |
| Clemson, SC 29634 |2. Multiply by one. |
|-------------------------------------|3. Expand in a Taylor series|
|e-mail: goodyea@clemson.edu |4. Integrate by parts. |
|www:bernacchi.chem.uh.edu/~grant |5. Fourier transform. |
| |6. Add auxiliary variables |
|_____________________________________|____________________________|
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-dev] another kdemultimedia bug?
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
0 siblings, 2 replies; 6+ messages in thread
From: Dan Armak @ 2001-10-10 14:27 UTC (permalink / raw
To: gentoo-dev
This same error was reported by chadh recently, thread "KDE Problems", but
remains unresolved. I (the primary kde packager) haven't encountered it, so
there's little I can do.
Suggestion: post diff for your mods that bypassed the problem. Let chadh test
it and see if it helps, and I can test it to see it doesn't create any
problems where there aren't any. If everything's OK, we can add the diff to
portage.
However, it'd be much nicer to find out what's actually causing this. ;-)
The kdemultimedia ebuild has optional fnuctionality for the folloing USE
flags: alsa, nas, esd, motif, gtk, slang.
I have these on: motif, gtk, slang
You: alsa, esd, motif, gtk, slang
So it might well be due either to alsa or to esd optional functionality.
--
Dan Armak
Gentoo Linux Developer, Desktop Team
Matan, Israel
^ permalink raw reply [flat|nested] 6+ messages in thread
* [gentoo-dev] A cuople of questions
2001-10-10 14:27 ` Dan Armak
@ 2001-10-10 14:55 ` Jake Bishop
2001-10-14 20:53 ` [gentoo-dev] another kdemultimedia bug? Dan Nelson
1 sibling, 0 replies; 6+ messages in thread
From: Jake Bishop @ 2001-10-10 14:55 UTC (permalink / raw
To: gentoo-dev
When I try to emerge anything from gnome-extra, mc for instance,I get ebuild
gnome-extra/mc-4.5.55 not found ( possibly blocked by package.mask).Also I am
trying to get alsa working.I think the docs on the Web sight are out of date?. I
am using 1.0-rc6-r9 with the 2.4.10 kernel. I have sound compiled into the
kernel.
I have emerged all the Alsa pkges - drivers,utils and libs.Other than that
everything is great with Gentoo.
Thanks
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-dev] another kdemultimedia bug?
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 ` Dan Nelson
2001-10-18 18:15 ` Dan Nelson
1 sibling, 1 reply; 6+ messages in thread
From: Dan Nelson @ 2001-10-14 20:53 UTC (permalink / raw
To: gentoo-dev
On Wednesday 10 October 2001 4:29, you wrote:
> This same error was reported by chadh recently, thread "KDE Problems", but
> remains unresolved. I (the primary kde packager) haven't encountered it, so
> there's little I can do.
>
> Suggestion: post diff for your mods that bypassed the problem. Let chadh
> test it and see if it helps, and I can test it to see it doesn't create any
> problems where there aren't any. If everything's OK, we can add the diff to
> portage.
>
> However, it'd be much nicer to find out what's actually causing this. ;-)
>
> The kdemultimedia ebuild has optional fnuctionality for the folloing USE
> flags: alsa, nas, esd, motif, gtk, slang.
> I have these on: motif, gtk, slang
> You: alsa, esd, motif, gtk, slang
>
> So it might well be due either to alsa or to esd optional functionality.
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
I'm an RPG programmer on the AS400. I can pursue this further, but I am
hoping someone else may know what the problem is.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-dev] another kdemultimedia bug?
2001-10-14 20:53 ` [gentoo-dev] another kdemultimedia bug? Dan Nelson
@ 2001-10-18 18:15 ` Dan Nelson
2001-10-19 7:49 ` Dan Armak
0 siblings, 1 reply; 6+ messages in thread
From: Dan Nelson @ 2001-10-18 18:15 UTC (permalink / raw
To: gentoo-dev
> 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.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-dev] another kdemultimedia bug?
2001-10-18 18:15 ` Dan Nelson
@ 2001-10-19 7:49 ` Dan Armak
0 siblings, 0 replies; 6+ messages in thread
From: Dan Armak @ 2001-10-19 7:49 UTC (permalink / raw
To: gentoo-dev
Hi again,
I'll put in the fix, do a test compile, and commit it. Thanks for the pointer.
BTW, the motif_p.c fix is already in cvs.
--
Dan Armak
Gentoo Linux Developer, Desktop Team
Matan, Israel
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2001-10-19 13:48 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2001-10-19 7:49 ` Dan Armak
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox