Discussion:
[OpenRISC] embecosm OpenRISC-SoC-Practical-Session-Instructions
Ouabache Designworks
2014-11-03 18:07:59 UTC
Permalink
I am trying to follow the instructions in


https://github.com/embecosm/chiphack/wiki/OpenRISC-SoC-Practical-Session-Instructions


and I get to where I run the mor1k sim and it fails with


***@ouabache:~/or1k/build/mor1kx-generic/sim-icarus$ more elf-loader.log
/home/johne/or1k/build/mor1kx-generic/src/elf-loader/elf-loader.c:26:18:
fatal error: gelf.h: No such file or directory
#include <gelf.h>
^
compilation terminated.


Where is gelf.h and who supplies it?


John Eaton
Julius Baxter
2014-11-03 19:04:48 UTC
Permalink
Post by Ouabache Designworks
I am trying to follow the instructions in
https://github.com/embecosm/chiphack/wiki/OpenRISC-SoC-Practical-Session-Instructions
and I get to where I run the mor1k sim and it fails with
elf-loader.log
fatal error: gelf.h: No such file or directory
#include <gelf.h>
^
compilation terminated.
Where is gelf.h and who supplies it?
Hi John

libelf-dev is probably what you need. It's included in the list of
pre-requisite system libraries required to do this stuff:
https://github.com/embecosm/chiphack/wiki/OpenRISC-tools-install#general-system-tools

Cheers

Julius
Post by Ouabache Designworks
John Eaton
_______________________________________________
OpenRISC mailing list
http://lists.openrisc.net/listinfo/openrisc
Loading...