[PD] cvs compile error, alsa

august august at alien.mur.at
Mon Jan 19 05:39:38 CET 2004


just downloaded the latest cvs.

on linux [gentoo], it chokes on alsa parts.

-august.

PS:  I haven't been paying attention lately.  Is there a bugreporting
system for PD?


----------------------


gcc -DPD -DUNIX  -Wall -W -Wstrict-prototypes  -Werror -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 -Werror -DPA_USE_ALSA
-DUSEAPI_ALSA -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






More information about the Pd-list mailing list