py/pyext 0.1.0 vs. flext 0.3.3 (was: [PD-dev] CVS pd, fiiwu~)

Thomas Grill t.grill at gmx.net
Sat Oct 19 21:44:09 CEST 2002


Hi Michal,
i'm sorry for that.... this is not a compiler issue.
I eliminated a function in the current flext 0.3.3 which is used in py/pyext
0.1.0.

However, there's an easy fix for that:
try to change line 138
t_class **cl = (t_class **)GetBound(recv);

to

t_class **cl = (t_class **)recv->s_thing;

this should do the trick.
As soon as i've finished the work on the new flext release i'll update all
the various packages (and add some new)

best greetings,
Thomas


----- Original Message -----
From: "Michal Seta" <mis at creazone.com>
To: <pd-dev at iem.kug.ac.at>
Sent: Saturday, October 19, 2002 8:24 PM
Subject: Re: [PD-dev] CVS pd, fiiwu~


> This is where it fails...
>
>
g++ -c -O6  -DPD -DFLEXT_THREADS -I/usr/local/lib/pd/src -I/usr/include/pyth
on2.1 -I/usr/local/lib/pd/flext source/modmeth.cpp -o pd-linux/modmeth.o
> source/modmeth.cpp: In static member function `static PyObject*
>    py::py_send(PyObject*, PyObject*)':
> source/modmeth.cpp:138: `GetBound' undeclared (first use this function)
> source/modmeth.cpp:138: (Each undeclared identifier is reported only once
for
>    each function it appears in.)
> make: *** [pd-linux/modmeth.o] Error 1
>
> this is with 3.0.4.  I compiled flext with same.
>
>
> And I just noticed that xsample 2.4 fails with this while 2.3 compiles
fine...
>
>
g++ -c -O6 -funroll-loops -fmove-all-movables -frerun-loop-opt -finline-func
tions -DPD -I/usr/local/lib/pd/src -I/usr/local/lib/pd/flext main.cpp -o
../pd-linux/main.o
> main.cpp: In function `void lib_setup()':
> main.cpp:21: `xrecord' undeclared (first use this function)
> main.cpp:21: (Each undeclared identifier is reported only once for each
>    function it appears in.)
> main.cpp:21: `FLEXT_TILDE_SETUP' undeclared (first use this function)
> main.cpp:22: `xplay' undeclared (first use this function)
> main.cpp:23: `xgroove' undeclared (first use this function)
> make: *** [../pd-linux/main.o] Error 1
>
> ... and 2.95 had the same problems
>
> >
> > Could you describe what errors you got? Compilation with 2.95 should
also be
> > possible... at least it works for me.
> > The only known problem is when different libraries (also pd itself and
libc)
> > are compiled with different compiler versions
> >
> > best greetings,
> > Thomas
>
> regards
>
> --
> ./MiS
>
>
> _______________________________________________
> PD-dev mailing list
> PD-dev at iem.kug.ac.at
> http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-dev
>
>
>





More information about the Pd-dev mailing list