Skip to content

Commit

Permalink
docs: add libelf-devel to development setup
Browse files Browse the repository at this point in the history
Otherwise I get the following error when building cilium:

  gcc -Wall -O2 -Wno-format-truncation -I include/ cilium-map-migrate.c -lelf -o cilium-map-migrate
/usr/bin/ld: cannot find -lelf

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
  • Loading branch information
tklauser authored and borkmann committed Feb 3, 2020
1 parent ab6107f commit a41fc6e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Documentation/contributing/development/dev_setup.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ contribute to Cilium:
+----------------------------------------------------------------------------------+--------------------------+-------------------------------------------------------------------------------+
| llvm | >= 3.9.1 | N/A (OS-specific) |
+----------------------------------------------------------------------------------+--------------------------+-------------------------------------------------------------------------------+
| libelf-devel | latest | N/A (OS-specific) |
+----------------------------------------------------------------------------------+--------------------------+-------------------------------------------------------------------------------+
| `go <https://golang.org/dl/>`_ | 1.13.7 | N/A (OS-specific) |
+----------------------------------------------------------------------------------+--------------------------+-------------------------------------------------------------------------------+
| `go-bindata <https://github.com/cilium/go-bindata>`_ | ``a0ff2567cfb`` | ``go get -u github.com/cilium/go-bindata/...`` |
Expand Down

0 comments on commit a41fc6e

Please sign in to comment.