-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot compile py to use flext ( recompile to use -fPIC) #15
Comments
it's for linux. Flext and py are from the repository. it could be it's trying to link against a static library vs a .so lib. |
Hi, i can't reproduce this behavior when using the flext build system (build.sh script). |
i'm using: It's probably just an incorrect invocation at this linking stage - something with how the library is being linked. How are you doing it? BTW my git describe --tag is v0-2-2-14-g6d47a22 |
I think the buildsys/lnx/*.def files don't take into account the PREFIX path or the path to the specified pd source or local flext installation or where py is supposed to be installed ( INSTPATH ) |
I've managed to compile this v0-2-2-14-g6d47a22 version, by explicitly including the -I -L flags for the particular flext install that i have. But during runtime i'm getting this : undefined symbol: _ZTI16flext_base_multi I've changed the runpath of the py.pd_linux to point to the directory of the new flext install, and i've trawled the older libflext for this particular symbol but it isn't there. Is this a multiarch thing? What libflext should i be using? |
I managed to solve the flext_base_multi problem by ( i did not revert changes to double check ):
I guess the question now is how to run the python scripts |
Running the [py ] scripts sometimes segfaults. Also is pyext wheel supposed to be built together with this project? Because i cannot find it. Is there documentation on how to get this working? |
In flext, i specified
CXXFLAGS & CPPFLAGS = "-fPIC" make
and compiled flext. The compilation completes and the scrolling logs have "-fPIC -DPIC".In py, when compiling, i get this error message about flext.
How do i resolve this issue?
The text was updated successfully, but these errors were encountered: