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

gelf.h: No such file or directory #20

Closed
ramsdell opened this issue Nov 23, 2015 · 12 comments
Closed

gelf.h: No such file or directory #20

ramsdell opened this issue Nov 23, 2015 · 12 comments

Comments

@ramsdell
Copy link

On Ubuntu 14.04 LTS after a pull this morning.

When I run "make -C user", I get the error message:

cc -g -Iinclude -Ishare/include -Wall -pedantic -Wno-unused-function -std=gnu11 -fno-stack-protector -fvisibility=hidden -c -o sgx-loader.o sgx-loader.c
sgx-loader.c:36:18: fatal error: gelf.h: No such file or directory
#include <gelf.h>
^
compilation terminated.

When I went to install libelf, I was told it is obsolete.

John

@johnmwshih
Copy link
Contributor

Could you check other package name like libelf-dev?

@ramsdell
Copy link
Author

That's the fix. It compiles after installing libelf-dev. Please add this dependency to README.md.

Thanks.

@johnmwshih
Copy link
Contributor

fc7affd

@andrewkitaev
Copy link

andrewkitaev commented Mar 24, 2022

Could you check other package name like libelf-dev?

thank you)

@LamSut
Copy link

LamSut commented Mar 10, 2023

Could you check other package name like libelf-dev?

thanks bro

@Albertchamberlain
Copy link

libelf-dev

thanks

@RealaxER
Copy link

RealaxER commented Jul 8, 2023

it run good

@mihna123
Copy link

mihna123 commented Aug 10, 2023

Could you check other package name like libelf-dev?

Thanks man

@Schweizliu
Copy link

That doesn't work for me,
The motherboard is MS1585, Ubuntu20.04, the system has installed this package including libncurses5-dev, libssl-dev, libelf-dev

@238Ver
Copy link

238Ver commented Nov 22, 2023

Thx, it works for me

@oriongamesdev
Copy link

Works to me,

apt-get install libelf-dev

@RaviHaravina-eaton
Copy link

Thank you, it worked for me too...

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