[PD] flext/sc4pd some feedback

Peter Plessas plessas at sbox.tugraz.at
Fri Feb 3 14:08:01 CET 2006


Thanks Thomas,

that is it :-)

liebe Gruesse,

Peter

Thomas Grill wrote:
> Hi Peter,
> it seems sc4pd still provides the old makefiles which have been  
> superseded by the flext build system.
> With that you make sc4pd with "sh yourpathtoflext/build.sh pd gcc",  
> just as you build flext itself. (see build.txt in the flext package)
> This _should_ work for linux. I just realized that sc4pd is not  
> portable because endian.h is included but not available on OSX for  
> example.
> 
> With the old makefiles, you would have to change the -lflext_d to  
> -lflext-pd_d, although i'm wondering why the debug version is used. The  
> normal deployment build would use -lflext-pd
> 
> best greetings,
> Thomas
> 
> Am 02.02.2006 um 17:10 schrieb Peter Plessas:
> 
>> 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_atomE 
>> PFvP9flext_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
>>
>>
>>
>> _______________________________________________
>> PD-list at iem.at mailing list
>> UNSUBSCRIBE and account-management ->  
>> http://lists.puredata.info/listinfo/pd-list
>>
>>
> 




More information about the Pd-list mailing list