[linux-audio-user] gdam / alsa rc1 compile troubles

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: [linux-audio-user] gdam / alsa rc1 compile troubles
From: matt yee-king (yeeking_AT_no-future.com)
Date: Sat Jun 15 2002 - 22:13:56 EEST


Hello

I'm trying to compile gdam with alsa09rc1. i had a couple of problems to
do with gdam's makefiles using the old alsa header file layout (i
think):

specifically with these files

/usr/include/sys/asoundlib.h
and
/usr/include/linux/asound.h

which i fixed by

ln -s /usr/include/alsa/asoundlib.h /usr/include/sys/asoundlib.h
 
ln -s /usr/include/sound/asound.h /usr/include/linux/asound.h

but now the compile falls over here:

gcc -DHAVE_CONFIG_H -I. -I. -I../../common
-I/usr/src/audio/gdam-0.941/include -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT
-I/usr/X11R6/include -I/usr/include/gnome-xml
-I/usr/include/libglade-1.0 -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include
-I/usr/include/gnome-xml -DGDAM_VERSION=\"0.941\" -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT
-I/usr/X11R6/include -O2 -c -fPIC -DPIC gdamdevicealsa.c -o
.libs/gdamdevicealsa.lo
gdamdevicealsa.c:84: field `hw_info' has incomplete type
gdamdevicealsa.c: In function `gdam_alsa_card_new_from_index':
gdamdevicealsa.c:106: warning: passing arg 2 of `snd_ctl_open' makes
pointer from integer without a cast
gdamdevicealsa.c:106: too few arguments to function `snd_ctl_open'
gdamdevicealsa.c: In function `gdam_alsa_pcm_device_get':
gdamdevicealsa.c:196: storage size of `pcm_info' isn't known
gdamdevicealsa.c:226: warning: passing arg 2 of `snd_ctl_op

..... and on

has anyone compiled gdam against alsa09rc1?

cheers

matthew


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Sat Jun 15 2002 - 21:00:10 EEST