hi,
when I compile gridflow, I've got output
g++ -Ibundled/pd -lm -Wl,--whole-archive /usr/lib/libruby1.8-static.a
-lpthread -ldl -lcrypt -lm -Wl,--no-whole-archive -rdynamic -shared
-fPIC -Wall -g -O2 -fPIC
-I/Applications/Pd.app/Contents/Resources/include -I/sw/include
-I/usr/local/include -I/include -xc++ -fno-operator-names
-fno-omit-frame-pointer -I/usr/X11R6/include -I
/usr/lib/ruby/1.8/i386-linux -falign-functions=4 -mcpu=pentium
-march=pentium -Wall -Wno-unused -O3 -funroll-loops
-fno-omit-frame-pointer -g -fPIC
bridge/puredata.c -xnone -o gridflow.pd_linux
/tmp/ccWvS2Na.o(.text+0x30): In function rb_funcall_rescue': bridge/puredata.c:270: multiple definition of
rb_funcall_rescue'
/usr/lib/libruby1.8-static.a(eval.o)(.text+0xb413): first defined here
/usr/bin/ld: Warning: size of symbol `rb_funcall_rescue' changed from
274 in /usr/lib/libruby1.8-static.a(eval.o) to 289 in /tmp/ccWvS2Na.o
collect2: ld returned 1 exit status
make: *** [gridflow.pd_linux] Error 1
Anyone get same error? I've got ruby1.8
On Fri, 8 Apr 2005, slimboyfatboyslim wrote:
/tmp/ccWvS2Na.o(.text+0x30): In function
rb_funcall_rescue': bridge/puredata.c:270: multiple definition of
rb_funcall_rescue' /usr/lib/libruby1.8-static.a(eval.o)(.text+0xb413): first defined here /usr/bin/ld: Warning: size of symbol `rb_funcall_rescue' changed from 274 in /usr/lib/libruby1.8-static.a(eval.o) to 289 in /tmp/ccWvS2Na.o collect2: ld returned 1 exit status make: *** [gridflow.pd_linux] Error 1 Anyone get same error? I've got ruby1.8
You should say which ruby1.8. i think you run ruby 1.8.2 or later. This one began defining a function with the same name as one found in gridflow/bridge/puredata.c; and ruby 1.8.2 was released after the version of gridflow you are trying to compile, which i guess is 0.7.7.
To fix the problem, edit that file replacing every rb_funcall_rescue by rb_funcall_risk_you or whichever name suits your fancy.
You may also upgrade to gridflow cvs head, which has this fixed (but is still considered experimental)
,-o---------o---------o---------o-. ,----. |
| The Diagram is the Program (TM) | | ,-o----------------------------o-.
-o-----------------------------o-' | | Mathieu Bouchard | | |---' | http://artengine.ca/matju | | |
-o------------------------------'