kdemultimedia and alsa 0.9 - compile error

Dan Armak ermak at netvision.net.il
Mon May 6 23:01:18 BST 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello everyone,

I (and everyone else using Gentoo it seems, and some other people too) get a 
compile error on kdemultimedia/kmidi when compiling against alsa 0.9rc1. I 
found a report in bug #39574 (http://bugs.kde.org/db/39/39574.html). It's 
rather old (a pre-kde3 cvs with alsa 0.9beta12), but apparently still not 
closed. I get this error with both kde 3.0 and the latest cvs HEAD.

I suppose this isn't universal since there doesn't seem to be much noise about 
kde not working with alsa 0.9. Can someone enlighten me?

Beginning of error (see bug linked above for full text):
- -----------
source='alsa_a.c' object='alsa_a.o' libtool=no \ 
depfile='.deps/alsa_a.Po' tmpdepfile='.deps/alsa_a.TPo' \ 
depmode=gcc3 /bin/sh ../../admin/depcomp \ 
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/X11R6/include 
`/usr/local/kde/bin/artsc-config --cflags` -DQT_THREAD_SUPPORT -D_REENTRANT 
- -DDEFAULT_PATH=\"//usr/local/kde/share/apps/kmidi/config\" -DAU_OSS -DAU_ALSA 
- -DAU_ESD -DIA_XAW -DQT_THREAD_SUPPORT -D_REENTRANT -fasm -O2 -c `test -f 
alsa_a.c || echo './'`alsa_a.c 

alsa_a.c: In function `check_sound_cards': 
alsa_a.c:153: storage size of `ctl_hw_info' isn't known 
alsa_a.c:154: storage size of `pcm_info' isn't known 
alsa_a.c:189: warning: passing arg 2 of `snd_ctl_open' makes pointer from 
integer without a cast 
alsa_a.c:189: too few arguments to function `snd_ctl_open' 
alsa_a.c:223: warning: passing arg 2 of `snd_ctl_pcm_info' makes pointer from 
integer without a cast 
alsa_a.c:223: too many arguments to function `snd_ctl_pcm_info' 
alsa_a.c:231: `SND_PCM_INFO_PLAYBACK' undeclared (first use in this function) 
.....

- -- 
Dan Armak
Matan, Israel
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE81v0zUI2RQ41fiVERAqrfAJ0Y0Gq5rmpQeEtH5hNjQWySuy65pgCeJwC0
/Ce/1qi8kGNoIaylhrISOXo=
=UC9s
-----END PGP SIGNATURE-----

___________________________________________________
This message is from the kde mailing list.
Account management:  http://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.




More information about the kde mailing list