[PD-dev] tclpd build issue

Hans-Christoph Steiner hans at eds.org
Fri Mar 14 23:33:44 CET 2008


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
cd /home/pd/auto-build/pd-extended/externals/tclpd && make
make[1]: Entering directory `/home/pd/auto-build/pd-extended/ 
externals/tclpd'
swig -v -c++ -tcl -o tcl_wrap.cxx -I../../pd/src -I/usr/include/ 
tcl8.4 tcl.i
LibDir: tcl
    ./
    ../../pd/src/
    /usr/include/tcl8.4/
    /usr/share/swig1.3/tcl/
    ./swig_lib/tcl/
    /usr/share/swig1.3/config/
    ./swig_lib/config/
    /usr/share/swig1.3/
    ./swig_lib/
Preprocessing...
Starting language-specific parse...
../../pd/src/m_pd.h:467: Error: Syntax error in input(1).
tcl.i:50: Warning(121): %name is deprecated.  Use %rename instead.
tcl.i:53: Warning(302): Identifier 't_symbol' redefined (ignored),
../../pd/src/m_pd.h:65: Warning(302): previous definition of  
't_symbol' (Renamed from '_symbol').
Processing types...
C++ analysis...
Generating wrappers...
../../pd/src/m_pd.h:222: Warning(454): Setting a pointer/reference  
variable may leak memory.
../../pd/src/m_pd.h:223: Warning(454): Setting a pointer/reference  
variable may leak memory.
../../pd/src/m_pd.h:388: Warning(462): Unable to set variable of type  
char []
../../pd/src/m_pd.h:389: Warning(462): Unable to set variable of type  
char []
../../pd/src/m_pd.h:539: Warning(454): Setting a pointer/reference  
variable may leak memory.
../../pd/src/m_pd.h:593: Warning(454): Setting a pointer/reference  
variable may leak memory.
../../pd/src/m_pd.h:602: Warning(454): Setting a pointer/reference  
variable may leak memory.
../../pd/src/m_pd.h:621: Warning(454): Setting a pointer/reference  
variable may leak memory.
tcl_extras.h:19: Warning(454): Setting a pointer/reference variable  
may leak memory.
make[1]: *** [tcl_wrap.cxx] Error 1
make[1]: Leaving directory `/home/pd/auto-build/pd-extended/externals/ 
tclpd'
make: *** [/home/pd/auto-build/pd-extended/externals/tclpd/ 
tcl.pd_linux] Error 2





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

You can't steal a gift. Bird gave the world his music, and if you can  
hear it, you can have it. - Dizzy Gillespie







More information about the Pd-dev mailing list