-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
[maint-3.9] relocation R_X86_64_PC32 against symbol `PyFloat_Type' can not be used when making a shared object; recompile with -fPIC #4783
Comments
Hi @RobertSwirsky, Welcome to Gnuradio!
It looks like you have a custom Do you need If you don't then you can probably remove it, the remove the gnuradio build directory and stat from scratch. Alternatively you need to fight with |
Thank you! I have no particular need for this particular version of Python -- it was just what was in my standard machine provisioning configuration. I'll remove these /usr/local Pythons and try again. I like to build things like "GnuRadio" on the happy path, without hacking the cmake files, etc. |
Ok! I removed that private python build, did another cmake and make, and it all works! Thanks for the tip. |
For those who want to compile grc with custom built python, make sure you compiled your python with (Is this a bug in cmake script making decision to link |
I'm trying to build maint-3.9 on a Ubuntu system; I've done this at least half a dozen times in the past
On clean install of a Ubuntu 20.04.2 LTS,all the prerequisites were installed per the directions here:
The build fails:
I'm trying to force the -fPIC flag in to see what happens, but I've never had the instructions on how to do a build not "just work".
I need to build from sources because I'm developing some custom blocks.
The text was updated successfully, but these errors were encountered: