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
Make error about fatal error: libelf.h: No such file or directory #170
Comments
Searching for "fedora 22 libelf.h" says that the package name is elfutils-libelf-devel |
Hi Navet, |
|
What is the name of this package in SUSE15? |
@ZionChen01: https://pkgs.org/search/?q=libelf |
|
well, openSUSE != SLES ;-) |
Hi all,
My system is fedora 22, the libelf-dev package seems not be install with command: sudo dnf install libelf-dev, the error is list as bellow:
Last metadata expiration check performed 1:33:15 ago on Wed Sep 7 22:19:25 2016.
No package libelf-dev available.
Error: no package matched: libelf-dev
I have one problem during my compiling the source code, the error is listed as bellow:
[nemo@localhost simavr]$ make
make -C simavr RELEASE=0
make[1]: Entering directory '/home/nemo/extra/simavr/simavr/simavr'
make obj config
make[2]: Entering directory '/home/nemo/extra/simavr/simavr/simavr'
make[2]: Nothing to be done for 'obj'.
make[2]: Nothing to be done for 'config'.
make[2]: Leaving directory '/home/nemo/extra/simavr/simavr/simavr'
make libsimavr run_avr
make[2]: Entering directory '/home/nemo/extra/simavr/simavr/simavr'
sim/sim_elf.c:32:20: fatal error: libelf.h: No such file or directory
compilation terminated.
../Makefile.common:187: recipe for target 'obj-x86_64-redhat-linux/sim_elf.o' failed
make[2]: *** [obj-x86_64-redhat-linux/sim_elf.o] Error 1
make[2]: Leaving directory '/home/nemo/extra/simavr/simavr/simavr'
Makefile:34: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/nemo/extra/simavr/simavr/simavr'
Makefile:15: recipe for target 'build-simavr' failed
make: *** [build-simavr] Error 2
The text was updated successfully, but these errors were encountered: