hi all,
i've downloaded pd-0.37-0 from miller's site. i have alsa, jack with a delta 410 from planetccrma. this is the error i get:
./configure --enable-jack ... yes ... alsa is... yes checking for snd_pcm_info in -lasound... yes checking for shm_open in -lrt... yes checking for jack_set_xrun_callback in -ljack... yes checking for jack_set_error_function in -ljack... yes ...
make
...
cc -DPD -DUNIX -Wall -W -Wstrict-prototypes -Werror -Wno-unused
-Wno-parentheses -Wno-switch -O6 -funroll-loops -fomit-frame-pointer
-DDL_OPEN -DPA_USE_OSS -DPA_LITTLE_ENDIAN -DUSEAPI_OSS
-I../portaudio/pa_common -I../portaudio/pablio
-I../portaudio/portmidi-macosx -Werror -DPA_USE_ALSA -DUSEAPI_ALSA
-DUSEAPI_JACK -DINSTALL_PREFIX="/usr/local" -I. -c -o
../obj/s_audio_alsa.o s_audio_alsa.c
cc1: warnings being treated as errors
s_audio_alsa.c: In function alsa_open_audio': s_audio_alsa.c:218: warning: passing arg 3 of
snd_pcm_hw_params_set_period_size_near' makes pointer from integer
without a cast
s_audio_alsa.c:224: warning: passing arg 3 of
snd_pcm_hw_params_set_periods_near' makes pointer from integer without a cast s_audio_alsa.c:228: warning: passing arg 3 of
snd_pcm_hw_params_set_buffer_size_near' makes pointer from integer
without a cast
s_audio_alsa.c:326: warning: passing arg 3 of
snd_pcm_hw_params_set_period_size_near' makes pointer from integer without a cast s_audio_alsa.c:331: warning: passing arg 3 of
snd_pcm_hw_params_set_periods_near' makes pointer from integer without
a cast
s_audio_alsa.c:335: warning: passing arg 3 of
`snd_pcm_hw_params_set_buffer_size_near' makes pointer from integer
without a cast
make: *** [s_audio_alsa.o] Error 1
is this cause by the "new" version of alsa (1.0.0rc2)? patrick
i've downloaded pd-0.37-0 from miller's site. i have alsa, jack with a delta 410 from planetccrma. this is the error i get:
./configure --enable-jack ... yes ... alsa is... yes checking for snd_pcm_info in -lasound... yes checking for shm_open in -lrt... yes checking for jack_set_xrun_callback in -ljack... yes checking for jack_set_error_function in -ljack... yes ...
make ... cc -DPD -DUNIX -Wall -W -Wstrict-prototypes -Werror -Wno-unused -Wno-parentheses -Wno-switch -O6 -funroll-loops -fomit-frame-pointer -DDL_OPEN -DPA_USE_OSS -DPA_LITTLE_ENDIAN -DUSEAPI_OSS -I../portaudio/pa_common -I../portaudio/pablio -I../portaudio/portmidi-macosx -Werror -DPA_USE_ALSA -DUSEAPI_ALSA -DUSEAPI_JACK -DINSTALL_PREFIX="/usr/local" -I. -c -o ../obj/s_audio_alsa.o s_audio_alsa.c cc1: warnings being treated as errors s_audio_alsa.c: In function
alsa_open_audio': s_audio_alsa.c:218: warning: passing arg 3 of
snd_pcm_hw_params_set_period_size_near' makes pointer from integer without a cast s_audio_alsa.c:224: warning: passing arg 3 ofsnd_pcm_hw_params_set_periods_near' makes pointer from integer without a cast s_audio_alsa.c:228: warning: passing arg 3 of
snd_pcm_hw_params_set_buffer_size_near' makes pointer from integer without a cast s_audio_alsa.c:326: warning: passing arg 3 ofsnd_pcm_hw_params_set_period_size_near' makes pointer from integer without a cast s_audio_alsa.c:331: warning: passing arg 3 of
snd_pcm_hw_params_set_periods_near' makes pointer from integer without a cast s_audio_alsa.c:335: warning: passing arg 3 of `snd_pcm_hw_params_set_buffer_size_near' makes pointer from integer without a cast make: *** [s_audio_alsa.o] Error 1is this cause by the "new" version of alsa (1.0.0rc2)?
Yes, it has a few changes in the API to make error returns from functions more clear, that kind of stuff.
Find all places wich include asoundlib.h and add this before the include:
#define ALSA_PCM_OLD_HW_PARAMS_API #define ALSA_PCM_OLD_SW_PARAMS_API
(or update to the newer Pd @ ccrma, 0.37.0 is out - a bit late, cough, but well, better late than never :-)
-- Fernando
hello list, i am trying to compile the set off externals distribued along pure data and i get this error message, should i modify something in the file" button.c" (it seem so) or.....? i know ggee is working on osx due to previous install. but this is for me out of control. thanks to help me work this thing out.
333/* pipe startup code to tk */
sys_vgui("proc button_cb%x {} {\n
pd [concat button%x b \\;]\n
335 }\n",x,x);
cc -DPD -Os -DUNIX -DMACOSX -Dunix -Wall -W -Wno-unused
-Wno-parentheses -Wno-switch -Wno-shadow -I. -I.. -I../include -o
"button.o" -c "../src/button.c"
In file included from ../../ggee/gui/button.c:2,
from ../src/button.c:1:
../include/g_canvas.h:252: warning: redefinition of t_savefn' /usr/local/include/m_pd.h:423: warning:
t_savefn' previously declared
here
../include/g_canvas.h:254: warning: redefinition of t_propertiesfn' /usr/local/include/m_pd.h:427: warning:
t_propertiesfn' previously
declared here
In file included from ../src/button.c:1:
../../ggee/gui/button.c:333:14: missing terminating " character
In file included from ../src/button.c:1:
../../ggee/gui/button.c: In function `button_new':
../../ggee/gui/button.c:334: error: parse error before "pd"
../../ggee/gui/button.c:334: error: stray '' in program
../../ggee/gui/button.c:334: error: stray '' in program
../../ggee/gui/button.c:334: error: stray '' in program
../../ggee/gui/button.c:335: error: stray '' in program
../../ggee/gui/button.c:335:11: missing terminating " character
make[1]: *** [button.pd_darwin] Error 1
make: *** [link.stamp] Error 2