I'm trying to compile grill/flext from the CVS sources. I've edited the
config-pf-linux.txt to suit my system, changing PDPATH to be
/home/ian/pd/src (I'm installing this as a regular user). I've compiled
SndObj and edited the config so SNDOBJ points toward libsndobj.a in
/usr/local/lib. However, when I execute sh build-pd-linux.sh I get a
couple lines of compilation and then pages and pages of errors:
===[terminal]
$sh build-pd-linux > make.log 2>&1
$more make.log
g++ -c -O2 -…
[View More]DFLEXT_SYS=2 -I/home/ian/pd/src -I/usr/include -I/usr/lib
-I/usr/l
ocal/lib -I./source source/flbase.cpp -o pd-linux/flbase.ro
In file included from source/flbase.cpp:27:
/home/ian/pd/src/g_canvas.h:114: error: syntax error before `*' token
/home/ian/pd/src/g_canvas.h:238: error: syntax error before `*' token
/home/ian/pd/src/g_canvas.h:268: error: syntax error before `*' token
/home/ian/pd/src/g_canvas.h:358: error: `t_glist' was not declared in this
scope
/home/ian/pd/src/g_canvas.h:358: error: `x' was not declared in this scope
/home/ian/pd/src/g_canvas.h:358: error: parse error before `int'
/home/ian/pd/src/g_canvas.h:367: error: type specifier omitted for
parameter `
t_glist'
/home/ian/pd/src/g_canvas.h:367: error: parse error before `*' token
/home/ian/pd/src/g_canvas.h:369: error: type specifier omitted for
parameter `
t_glist'
/home/ian/pd/src/g_canvas.h:369: error: parse error before `*' token
/home/ian/pd/src/g_canvas.h:370: error: type specifier omitted for
parameter `
t_glist'
/home/ian/pd/src/g_canvas.h:370: error: parse error before `*' token
/home/ian/pd/src/g_canvas.h:371: error: type specifier omitted for
parameter `
t_glist'
/home/ian/pd/src/g_canvas.h:371: error: parse error before `*' token
/home/ian/pd/src/g_canvas.h:372: error: type specifier omitted for
parameter `
t_glist'
/home/ian/pd/src/g_canvas.h:372: error: parse error before `*' token
/home/ian/pd/src/g_canvas.h:373: error: type specifier omitted for
parameter `
t_glist'
/home/ian/pd/src/g_canvas.h:373: error: parse error before `*' token
/home/ian/pd/src/g_canvas.h:381: error: syntax error before `*' token
/home/ian/pd/src/g_canvas.h:382: error: `t_glist' was not declared in this
scope
/home/ian/pd/src/g_canvas.h:382: error: `x' was not declared in this scope
/home/ian/pd/src/g_canvas.h:382: warning: `glist_init' initialized and
declared
`extern'
/home/ian/pd/src/g_canvas.h:382: error: variable or field `glist_init'
declared
void
/home/ian/pd/src/g_canvas.h:383: error: `t_glist' was not declared in this
scope
/home/ian/pd/src/g_canvas.h:383: error: `x' was not declared in this scope
/home/ian/pd/src/g_canvas.h:383: error: parse error before `*' token
/home/ian/pd/src/g_canvas.h:384: error: `t_glist' was not declared in this
scope
/home/ian/pd/src/g_canvas.h:384: error: `x' was not declared in this scope
/home/ian/pd/src/g_canvas.h:384: warning: `glist_cleanup' initialized and
declared `extern'
/home/ian/pd/src/g_canvas.h:384: error: variable or field `glist_cleanup'
declared void
/home/ian/pd/src/g_canvas.h:385: error: `t_glist' was not declared in this
scope
/home/ian/pd/src/g_canvas.h:385: error: `x' was not declared in this scope
===[/terminal]
This goes on for several more pages until the last line of make.log is
make: *** [pd-linux/flbase.ro] Error 1
I'm using the devel_0_37 CVS branch of PD because I need jack support,
is flext incompatible with devel_0_37? If it isn't, is there a way to
reliably use jack with the Main .37 CVS?
I have gcc-3.3, gcc-2.95, and g++ 3.3 installed. I'm running kernel
2.6.6. The first line of output says that /home/ian/pd/src is included,
which is where g_canvas.h is. I'm sure this is the resulf of my relative
unfamiliarity with building from source, so thanks for bearing with me.
Thanks,
Ian Smith-Heisters
//
[View Less]