sslab-gatech / opensgx

OpenSGX
Other
288 stars 80 forks source link

gelf.h: No such file or directory #20

Closed ramsdell closed 8 years ago

ramsdell commented 8 years ago

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

              ^

compilation terminated.

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

John

johnmwshih commented 8 years ago

Could you check other package name like libelf-dev?

ramsdell commented 8 years ago

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

Thanks.

johnmwshih commented 8 years ago

https://github.com/sslab-gatech/opensgx/commit/fc7affd002a9a5ee176c2b06753f65f33af202a6

andrewkitaev commented 2 years ago

Could you check other package name like libelf-dev?

thank you)

LamSut commented 1 year ago

Could you check other package name like libelf-dev?

thanks bro

Albertchamberlain commented 1 year ago

libelf-dev

thanks

RealaxER commented 1 year ago

it run good

mihna123 commented 11 months ago

Could you check other package name like libelf-dev?

Thanks man

Schweizliu commented 8 months ago

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 commented 8 months ago

Thx, it works for me

oriongamesdev commented 5 months ago

Works to me,

apt-get install libelf-dev

RaviHaravina-eaton commented 3 months ago

Thank you, it worked for me too...