Gentoo Archives: gentoo-dev

From: "Tod M. Neidt" <tod@g.o>
To: gentoo-dev@g.o
Subject: Re: [gentoo-dev] KDE and ALSA 0.9beta10 build
Date: Wed, 27 Feb 2002 11:38:28
Message-Id: 1014831373.19903.15.camel@silica.localmosci
In Reply to: [gentoo-dev] KDE and ALSA 0.9beta10 build by tk188366@stmail.staffs.ac.uk
1 Hi!
2
3 Looking through ./configure there is a flag --with-alsa-inc-prefix that
4 you might try.
5
6 Edit the ebuild and put '--with-alsa-inc-prefix=/usr/include/alsa'
7 somewhere in the $myconf variable in the 'use alsa .....' line.
8
9 Hope that helps.
10
11 tod
12
13 On Wed, 2002-02-27 at 08:43, tk188366@××××××××××××××××.uk wrote:
14 > Hi there,
15 >
16 > Firstly, i apolagise for posting again, but i posted this message in the user
17 > list but it was appended to a long already existing thread and i think should
18 > have been posted in the developer section anyway. Sorry. Anyway here we go.
19 >
20 >
21 > I did a recent reinstall and decided to unmask the latest alsa 0.9beta10 because
22 > the alsa 0.5 version gave me massive interference when accessing ide devices
23 > (bug?), the OSS kernel module didn't but the ASLA driver seemed a much nicer
24 > solution with more features.
25 >
26 > So far i have built XFree, Gnome, XMMS,Ogle and various other progs without any
27 > problems, when it comes to building KDE building KDEMultimedia 2.2.2 fails when
28 > compiling Kmidi, specifically , the build fails in the TIMIDITY directory,
29 > typing make produces
30 > the folowing output;
31 >
32 >
33 > In file included from alsa_a.c:55:
34 > /usr/include/sys/asoundlib.h:1: warning: #warning This header is deprecated, use
35 > <alsa/asoundlib.h> instead.
36 > alsa_a.c: In function `check_sound_cards':
37 > alsa_a.c:153: storage size of `ctl_hw_info' isn't known
38 > alsa_a.c:154: storage size of `pcm_info' isn't known
39 > alsa_a.c:189: warning: passing arg 2 of `snd_ctl_open' makes pointer from
40 > integer without a cast
41 > ...
42 > ...etc
43 > ...etc
44 > ...
45 > alsa_a.c: In function `output_count':
46 > alsa_a.c:614: storage size of `playback_status' isn't known
47 > alsa_a.c: In function `flush_output':
48 > alsa_a.c:662: `SND_PCM_CHANNEL_PLAYBACK' undeclared (first use in this
49 > function)alsa_a.c: In function `purge_output':
50 > alsa_a.c:670: `SND_PCM_CHANNEL_PLAYBACK' undeclared (first use in this
51 > function)make: *** [alsa_a.o] Error 1
52 >
53 >
54 > I cahanged the references in the relevant files from
55 > /usr/include/sys/asoundlib.h to /usr/include/alsa/asoundlib.h
56 > as the warning sugested but this made no change.
57 >
58 >
59 > I am not the most knowledgable person with regards to linux but am quite
60 > competant. I am wondering if this is a known bug when building with the new ALSA
61 > drivers or wether there is a workaround? I don' really use any MIDI at all
62 > anyway, so is there a way i can bypass this part of the build to get KDE up and
63 > running?
64 >
65 > Best Regards,
66 >
67 > Kristian Tippins
68 >
69 >
70 >
71 > -------------------------------------------------
72 > This mail sent through IMP: http://horde.org/imp/
73 >
74 > _______________________________________________
75 > gentoo-dev mailing list
76 > gentoo-dev@g.o
77 > http://lists.gentoo.org/mailman/listinfo/gentoo-dev
78 >