[PD] 0.37 and linux/jack ("official" and CVS)

Fernando Pablo Lopez-Lezcano nando at ccrma.Stanford.EDU
Mon Sep 29 03:26:22 CEST 2003


Hi, anyone out there having luck with pd 0.37, linux and jack?

Current devel_0_37 (is this the branch to get?) does not build on linux,
it fails while trying to compile the portaudio stuff:

cc -DPD -DUNIX  -Wall -W -Wstrict-prototypes -Wno-unused
-Wno-parentheses -Wno-switch -O6 -funroll-loops -fomit-frame-pointer 
-DDL_OPEN -DUSEAPI_PORTAUDIO -DPA_USE_OSS -DPA_LITTLE_ENDIAN       
-DUSEAPI_OSS         -I../portaudio/pa_common
      -I../portaudio/pablio -I../portaudio/portmidi-macosx -DPA_USE_ALSA
-DUSEAPI_ALSA -DUSEAPI_JACK -DJACK_XRUN -DINSTALL_PREFIX=\"/usr/local\"
-I. -c -o ../obj/../portaudio/pa_common/pa_allocation.o
../portaudio/pa_common/pa_allocation.c
In file included from ../portaudio/pa_common/pa_allocation.c:34:
../portaudio/pa_common/pa_util.h:59: parse error before
"PaHostApiTypeId"
../portaudio/pa_common/pa_util.h:59: warning: function declaration isn't
a prototype
../portaudio/pa_common/pa_util.h:72: parse error before '*' token
../portaudio/pa_common/pa_util.h:73: warning: function declaration isn't
a prototype
../portaudio/pa_common/pa_util.h:92: parse error before "hostApiType"
../portaudio/pa_common/pa_util.h:93: warning: function declaration isn't
a prototype
make: *** [../portaudio/pa_common/pa_allocation.o] Error 1

There does not seem to be any way of turning off portaudio in configure
:-( I looked around and it seemed like the missing stuff was only
defined for windows. 

I can get the "official" 0.37 version to build with a couple of patches
that were posted to the list. But I can't get it to work with jack with
buffer sizes < 512 (it keeps printing "Partial read" error messages). I
found a thread in the list about this but "#define JACK_OUT_MAX 64" is
there (instead of 512) and it does not make any difference for me... Any
help appreciated. 

-- Fernando






More information about the Pd-list mailing list