[flext] linux: undefined symbol using wrapper

Thomas Grill gr at grrrr.org
Thu Sep 29 11:38:27 CEST 2011


Hi Patrick,
you will also have to link libmathlib.a into the final external, then  
it should work.
It's not really a flext-related question, but a general linking issue.
gr~~~

Am 29.09.2011 um 11:35 schrieb Patrick Gampp:

> Hi,
> I wrote some flext-pd-externals which work for Windows(Visual Studio  
> and nmake) and Mac(Xcode 4 and makefile). The project files are  
> generated with the help of CMake.
>
> Now, I try to port them to Linux using CMake-generated makefiles.  
> Almost all the externals work, except of two modules, the customFFT~  
> and customIFFT~. Trying to create these externals in pd, I get the  
> error:
>
> "undefined symbol: RFFT_Destroy".
>
>
> CustomFFT~ and CustomIFFT~ use a C++ fft-wrapper, which uses a  
> static C-lib called libmathlib.a, which contains the symbol  
> RFFT_Destroy.
> In the fft-wrapper though, RFFT_Destroy is undefined.
>
> As I wrote, the externals work on the other platforms.
> Is there a compiler/linker flag I have to set?
>
> Or does something other come to your mind which could cause the  
> problem?
>
> Thanks,
> Patrick
>
>
>
>
>
> _______________________________________________
> http://grrrr.org/ext/flext
>
> flext mailing list
> flext at grrrr.org
> http://grrrr.org/cgi-bin/mailman/listinfo/flext



More information about the flext mailing list