1 |
On Wednesday 27 February 2002 16:43, tk188366@××××××××××××××××.uk wrote: |
2 |
> Hi there, |
3 |
> |
4 |
> Firstly, i apolagise for posting again, but i posted this message in the |
5 |
> user list but it was appended to a long already existing thread and i think |
6 |
> should have been posted in the developer section anyway. Sorry. Anyway here |
7 |
> we go. |
8 |
> |
9 |
> |
10 |
> I did a recent reinstall and decided to unmask the latest alsa 0.9beta10 |
11 |
> because the alsa 0.5 version gave me massive interference when accessing |
12 |
> ide devices (bug?), the OSS kernel module didn't but the ASLA driver seemed |
13 |
> a much nicer solution with more features. |
14 |
> |
15 |
> So far i have built XFree, Gnome, XMMS,Ogle and various other progs without |
16 |
> any problems, when it comes to building KDE building KDEMultimedia 2.2.2 |
17 |
> fails when compiling Kmidi, specifically , the build fails in the TIMIDITY |
18 |
> directory, typing make produces |
19 |
> the folowing output; |
20 |
> |
21 |
> |
22 |
> In file included from alsa_a.c:55: |
23 |
> /usr/include/sys/asoundlib.h:1: warning: #warning This header is |
24 |
> deprecated, use <alsa/asoundlib.h> instead. |
25 |
> alsa_a.c: In function `check_sound_cards': |
26 |
> alsa_a.c:153: storage size of `ctl_hw_info' isn't known |
27 |
> alsa_a.c:154: storage size of `pcm_info' isn't known |
28 |
> alsa_a.c:189: warning: passing arg 2 of `snd_ctl_open' makes pointer from |
29 |
> integer without a cast |
30 |
> ... |
31 |
> ...etc |
32 |
> ...etc |
33 |
> ... |
34 |
> alsa_a.c: In function `output_count': |
35 |
> alsa_a.c:614: storage size of `playback_status' isn't known |
36 |
> alsa_a.c: In function `flush_output': |
37 |
> alsa_a.c:662: `SND_PCM_CHANNEL_PLAYBACK' undeclared (first use in this |
38 |
> function)alsa_a.c: In function `purge_output': |
39 |
> alsa_a.c:670: `SND_PCM_CHANNEL_PLAYBACK' undeclared (first use in this |
40 |
> function)make: *** [alsa_a.o] Error 1 |
41 |
> |
42 |
> |
43 |
> I cahanged the references in the relevant files from |
44 |
> /usr/include/sys/asoundlib.h to /usr/include/alsa/asoundlib.h |
45 |
> as the warning sugested but this made no change. |
46 |
> |
47 |
> |
48 |
> I am not the most knowledgable person with regards to linux but am quite |
49 |
> competant. I am wondering if this is a known bug when building with the new |
50 |
> ALSA drivers or wether there is a workaround? I don' really use any MIDI at |
51 |
> all anyway, so is there a way i can bypass this part of the build to get |
52 |
> KDE up and running? |
53 |
Well, if you disable the alsa USE flag then kdelibs won't try to link against |
54 |
alsa at all. |
55 |
|
56 |
I also suspect that kde3 has better support for alsa 0.9. |
57 |
|
58 |
-- |
59 |
Dan Armak |
60 |
Gentoo Linux Developer, Desktop Team (KDE) |
61 |
Matan, Israel |