[PD] flext/sc4pd some feedback

Peter Plessas plessas at sbox.tugraz.at
Thu Feb 2 17:10:21 CET 2006


Hi list,Tim

when compiling sc4pd on a debian/testing powerpc system with gcc version
4.0.3 20051201 (prerelease) (Debian 4.0.2-5), the -fmove-all-movables
flag gives:
peter at gonzo:/usr/local/src/cvs/externals/tb/sc4pd$ ./build-pd-linux.sh
g++ -c  -O3 -I/usr/local/src/cvs/externals/grill/flext/source
-funroll-loops -fmove-all-movables -frerun-loop-opt -finline-functions
-fno-rtti -fno-exceptions -DFLEXT_SHARED -DFLEXT_THREADS -DFLEXT_SYS=2
-I/usr/local/lib/pd/src -I./headers/plugin_interface -I./headers/common
-I./headers/server -I./headers/app -I./headers/lang
-I/usr/local/lib/pd/flext source/main.cpp -o pd-linux/main.o
cc1plus: error: unrecognized command line option "-fmove-all-movables"
make: *** [pd-linux/main.o] Error 1

Removing the flag helps.

Then, at loading the lib:
/usr/local/src/cvs/externals/tb/sc4pd/pd-linux/sc4pd.pd_linux: undefined
symbol:
_ZN16flext_obj_shared7obj_addEbbbPKcS1_PFvP11flext_classEPFPS_iP5_atomEPFvP9flext_hdrEiz
sc4pd: can't load library

So since  i compiled flext over a year ago and upgraded to gcc 4.0 i
thought it was best to recompile flext(CVS).

The build went fine, flext installing the following in /usr/local/lib:

libflext-pd_d.so.0.5.1
libflext-pd_td.a
flext
libflext-pd_s.a
libflext-pd_td.a.0.5.1
libflext-pd.so
libflext-pd_s.a.0.5.1
libflext-pd.so.0.5
libflext-pd_sd.a
libflext-pd.so.0.5.1
libflext-pd_sd.a.0.5.1
libflext-pd_d.so
libflext-pd_t.a
libflext-pd_d.so.0.5
libflext-pd_t.a.0.5.1

then as i try to recompile sc4pd, libflext_d.so is not found:
/usr/bin/ld: cannot find -lflext_d
collect2: ld returned 1 exit status

i think i configured everything right:
FLEXTPATH=/usr/local/lib/

re-running ldconfig many times, with:
peter at gonzo:~$ cat /etc/ld.so.conf
/usr/X11R6/lib
/usr/lib/atlas
/usr/local/lib

Did the naming of the flext libs change?
The /usr/local/lib/pd/flext dir doesnt't get created as well, instead an 
empty flext dir in /usr/loca/lib.
I think my settings and configures are correct so far...

Any hints?

lg, Peter






More information about the Pd-list mailing list