Hi, vpp experts,

I was building the latest vpp code on a debian testing based system. I hit
the following errors when running: make install-ext-deps

Package libelf was not found in the pkg-config search path.



Perhaps you should add the directory containing `libelf.pc'



to the PKG_CONFIG_PATH environment variable


   No package 'libelf' found



btf.c:17:10: fatal error: gelf.h: No such file or directory



   17 | #include <gelf.h>



      |          ^~~~~~~~



compilation terminated.

I have to install a missing package before I can build successfully.

sudo apt-get install libelf-dev

Does this mean vpp makefile shall be updated so that libelf-dev is
installed by default for all debian distributions?

https://github.com/FDio/vpp/blob/master/Makefile#L98

If so, can someone update the makefile?

Thanks.
Chuan
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#17516): https://lists.fd.io/g/vpp-dev/message/17516
Mute This Topic: https://lists.fd.io/mt/77082190/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to