[linux-audio-user] Re: 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] Re: gdam / alsa rc1 compile troubles
From: Lance Blisters (geoff_AT_lek.ugcs.caltech.edu)
Date: Sun Jun 16 2002 - 08:32:20 EEST


> 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):

  There is support for alsa 0.9 in cvs,
  it compiles and seems to work for everyone
  but me. i get a seg fault.

  cvs access instructions are on our sourceforge
  page if you want to try compiling it. if so,
  let me know how it goes.
  
  i hope to have the new release out in a week or two.

  -geoff

> 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 : Sun Jun 16 2002 - 15:51:04 EEST