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
Linking troubles when building #31
Comments
I too am stuck when adding '-lz'. Running OpenSuSE Tumbleweed. Have you had any progress since posting this? |
None whatsoever. The project looks abandoned. |
libbfd which is used by this project is pretty volatile. it's part of binutils and afaict there's no stable ABI (so imo it's been a pretty bad choice to use it for this project). anyway, the issues you're experiencing may be related to that your libbfd is a static lib (libbfd.a), not a dynamic lib, so dependencies aren't pulled in automatically. most of the symbols i see missing seem to be from libiberty, which is another GNU library (used by gcc and binutils) not really meant to be used by external projects. maybe adding |
And that, among other things, did the trick, TYVM. |
what exactly ? |
I was creating a rpm package. Things to link to system libraries when possible, fix installation paths, compilation flags and a few other minor details. |
Hi Luigino and rofl0r, I'm glad you could solve it by yourself \o/ |
Linking problem solved. wget -c ftp://sourceware.org/pub/binutils/snapshots/binutils-2.31.90.tar.xz |
Using openSUSE Tumbleweed, this happens:
Adding a -lz produces this:
And then I'm stuck.
Any hints?
The text was updated successfully, but these errors were encountered: