Skip to content
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

Error when linking with a static library #12

Open
raditham opened this issue May 6, 2015 · 1 comment
Open

Error when linking with a static library #12

raditham opened this issue May 6, 2015 · 1 comment

Comments

@raditham
Copy link

raditham commented May 6, 2015

Hi Brian,

I am trying to link with a static libaray in makekitbuild environment and I get the following error:

relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC

Recompiling the static library with -fPIC is out of question. How to fix this problem.

Thanks
R.K

@bkoropoff
Copy link
Owner

Objects linked into a shared library must be PIC. This is not a restriction imposed by MakeKit specifically.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants