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

elf.h outdated #21

Closed
darealshinji opened this issue May 10, 2014 · 4 comments
Closed

elf.h outdated #21

darealshinji opened this issue May 10, 2014 · 4 comments

Comments

@darealshinji
Copy link
Contributor

That file's 5 years old. I would recommend you to either just delete it, since most unices should have a copy of it anyway, or you download a current copy from GNU libc:
https://www.gnu.org/software/libc/

@edolstra
Copy link
Member

Is it a problem that it's 5 years old? (I.e. is it lacking some new definition?)

@darealshinji
Copy link
Contributor Author

See for yourself:
https://gist.github.com/darealshinji/f7b49217ea7edb5faa92#file-diff-to-2-17-diff
https://gist.github.com/darealshinji/f7b49217ea7edb5faa92#file-diff-to-git-diff
Seems like many new definitions have been added meanwhile. And I wouldn't supply header files that are available through any modern distro.
You can let the configure script check for availability of elf.h:
https://github.com/darealshinji/patchelfmod/blob/patchelf/configure.ac

@darealshinji
Copy link
Contributor Author

From the Fedora RPM spec:

package ships elf.h - delete to use glibc-headers one

rm src/elf.h

ngld added a commit to ngld/patchelf that referenced this issue Dec 7, 2014
@darealshinji
Copy link
Contributor Author

elf.h was updated a while ago.

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