[PD] Pd + asterisk?

Russell Bryant russell at russellbryant.net
Wed Dec 26 20:15:14 CET 2007


Hans-Christoph Steiner wrote:
> When building on Mac OS X/Intel 10.4.11, I got this:
> 
>    [CC] app_jack.c -> app_jack.o
> app_jack.c:42:20: error: values.h: No such file or directory
> app_jack.c: In function 'handle_input':
> app_jack.c:217: error: 'FLT_MAX' undeclared (first use in this function)
> app_jack.c:217: error: (Each undeclared identifier is reported only once
> app_jack.c:217: error: for each function it appears in.)
> app_jack.c: In function 'queue_voice_frame':
> app_jack.c:407: error: 'FLT_MAX' undeclared (first use in this function)
> make[1]: *** [app_jack.o] Error 1
> make: *** [apps] Error 2
> 
> 
> This made it build OK:
> 
> Index: apps/app_jack.c
> ===================================================================
> --- apps/app_jack.c     (revision 94662)
> +++ apps/app_jack.c     (working copy)
> @@ -39,7 +39,11 @@
> 
>  ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
> 
> +#ifdef __APPLE__
> +#include <float.h>
> +#else
>  #include <values.h>
> +#endif

Oops, and thanks.  :)  I actually hit the same problem over the weekend when
playing on my powerbook.  It should be ok now ...

--
Russell




More information about the Pd-list mailing list