Subject: [linux-audio-user] Re: pd compilation
From: Frank Barknecht (barknech_AT_ph-cip.uni-koeln.de)
Date: Sat Jun 08 2002 - 18:33:13 EEST
jaap hat gesagt: // jaap wrote:
> I've a 2.4.18 kernel with alsa 0.9.0rc1 freshly installed.
> I tried to compile pd:
> configure --enable-alsa
> then make depend gives:
>
> ...............
> ...................
> st.c x_gui.c d_soundfile.c s_linux.c > makefile.dependencies
> In file included from s_linux.c:36:
> /usr/include/sys/asoundlib.h:1: warning: #warning This header is deprecated,
> use <alsa/asoundlib.h> instead.
> make: *** [depend] Error 1
This is a known bug in PD. Change s_linux.c to read:
#ifdef ALSA01
#include <alsa/asoundlib.h>
#endif
around line 44 and it should compile.
ciao,
-- Frank Barknecht _ ______footils.org__
This archive was generated by hypermail 2b28 : Sat Jun 08 2002 - 18:53:02 EEST