[PD-dev] tclpd build issue

mescalinum at gmail.com mescalinum at gmail.com
Sun Mar 16 21:17:38 CET 2008


Hans-Christoph Steiner ha scritto:
> Hey,
>
> There is a strange build issue with tclpd.  Basically, the first time  
> you try to build it, swig throws an error, but generates tcl_wrap.cxx  
> anyway.  Then the second time things build.  Here's the build  
> transcript, the error seems to be "Syntax error in input":
>
> pd at debian-stable-i386:externals > make tclpd
>   
> [...]

is your problem reproducible with vanilla pd?
how's pd-extended's m_pd.h differs from vanilla's m_pd.h ?


I give a quick check, and I see that line 467 of pd-extended:

http://pure-data.svn.sourceforge.net/viewvc/pure-data/branches/pd-extended/v0-40/pd/src/m_pd.h?revision=9168&view=markup#l_460

it's different from vanilla pd:

http://pure-data.svn.sourceforge.net/viewvc/pure-data/trunk/pd/src/m_pd.h?revision=9590&view=markup#l_442

just compare the two sources.
you will find the answer by yourself (I hope). I am not sure what
"__attribute__ ((format (printf, 1, 2)));" is for.

if it gives trouble, you can always disable the wrapping of this
function by swig, but I believe error() is required by externals written
in Tcl, so it would not be a clever solution.

-- 
Federico Ferri




More information about the Pd-dev mailing list